Re: Removed host in maintenance mode

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

 



 Error EINVAL: hostname is online, please remove host without --offline.

This is strange, why is it online? I thought you couldn't get it to boot according to your first message. What is the current output of 'ceph orch host ls' and is it still present? Have you failed over the mgr, just to be safe?

Zitat von Johan <johan@xxxxxxxx>:

Looking at the history I first tried

 ceph orch host rm hostname --offline --force

and then

 ceph orch host rm hostname --force

The second command must have removed the host (partially) because I didn't try any other commands after that.


Now when I try these commands again, offline&force gives me

 Error EINVAL: hostname is online, please remove host without --offline.

and then using only force

 Error EINVAL: host hostname does not exist

As a side note I can mention I had to manually clear the crushmap after removing the host. I also manually removed the keys for the osd:s that remained in the host (after the pools recovered/rebalanced).

/Johan


Den 2024-05-07 kl. 12:09, skrev Eugen Block:
Hi, did you remove the host from the host list [0]?

ceph orch host rm <hostname> [--force] [--offline]

[0] https://docs.ceph.com/en/latest/cephadm/host-management/#offline-host-removal

Zitat von Johan <johan@xxxxxxxx>:

Hi all,

In my small cluster of 6 hosts I had troubles with a host (osd:s) and was planning to remove it from the cluster. Before I got to do that I needed to power down this host and therefore put it in maintenance mode. Due to some mistakes on my part I couldn't boot the host again and simply decided to force the removal from the cluster.

The host is now removed but ceph (17.2.7) keep on complaining on it being in maintenance mode.

How can I remove the last remnants of this host from the cluster?

/Johan
_______________________________________________
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


_______________________________________________
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