Re: Reinstalling OSD node managed by cephadm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

have you checked /var/log/ceph/cephadm.log for any hints? ceph-volume.log may also provide some information (/var/log/ceph/<FSID>/ceph-volume.log) what might be going on.

Zitat von Manuel Holtgrewe <zyklenfrei@xxxxxxxxx>:

Dear all,

I now attempted this and my host is back in the cluster but the `ceph
cephadm osd activate` does not work.

# ceph cephadm osd activate HOST
Created no osd(s) on host HOST; already created?

Using --verbose is not too helpful either:

bestcmds_sorted:
[{'flags': 8,
  'help': 'Start OSD containers for existing OSDs',
  'module': 'mgr',
  'perm': 'rw',
  'sig': [argdesc(<class 'ceph_argparse.CephPrefix'>, req=True,
name=prefix, n=1, numseen=0, prefix=cephadm),
          argdesc(<class 'ceph_argparse.CephPrefix'>, req=True,
name=prefix, n=1, numseen=0, prefix=osd),
          argdesc(<class 'ceph_argparse.CephPrefix'>, req=True,
name=prefix, n=1, numseen=0, prefix=activate),
          argdesc(<class 'ceph_argparse.CephString'>, req=True, name=host,
n=N, numseen=0)]}]
Submitting command:  {'prefix': 'cephadm osd activate', 'host': ['HOST'],
'target': ('mon-mgr', '')}
submit {"prefix": "cephadm osd activate", "host": ["HOST"], "target":
["mon-mgr", ""]} to mon-mgr

How can I find out what goes wrong here?

Thanks!
Manuel

On Wed, Feb 2, 2022 at 12:43 PM Robert Sander <r.sander@xxxxxxxxxxxxxxxxxxx>
wrote:

On 02.02.22 12:15, Manuel Holtgrewe wrote:
>
> Would this also work when renaming hosts at the same time?
>
> - remove host from ceph orch
> - reinstall host with different name/IP
> - add back host into ceph orch
> - use ceph osd activate
>
> as above?

That could also work as long as the OSDs are still in the CRUSH map.
Keep in mind that the last command is

   ceph cephadm osd activate $HOSTNAME

Regards
--
Robert Sander
Heinlein Consulting GmbH
Schwedter Str. 8/9b, 10119 Berlin

https://www.heinlein-support.de

Tel: 030 / 405051-43
Fax: 030 / 405051-19

Amtsgericht Berlin-Charlottenburg - HRB 220009 B
Geschäftsführer: Peer Heinlein - Sitz: Berlin
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux