Removing hosts using ceph orchestrator does not remove host

Solution Verified - Updated -

Environment

  • Red Hat Ceph Storage 5

Issue

Resolution

  • Red Hat is aware of this issue and is working on enhancing a future version of Red Hat Ceph Storage 5
  • the following procedure is the correct way to remove a host

    • login to cephadm shell

      $ cephadm shell
      
    • fetch the host details

      # ceph orch host ls
      
    • drain all the daemons from the host

      # ceph orch host drain HOSTNAME
      
    • check the status of OSD removal

      # ceph orch osd rm status
      
    • check if all the daemons are removed from the storage cluster

      # ceph orch ps HOSTNAME
      
    • When no placement groups (PG) are left on the OSD, the OSD is decommissioned and removed from the storage cluster

      # ceph orch host rm HOSTNAME
      

Root Cause

  • the documented procedure removes a none existing service instead of the host
  • the documentation is missing the classification host in the last statement instructing the Ceph orchestrator to act on.

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Comments