Bug 1964312

Summary: [RFE] : Removing an offline host
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Manasa <mgowri>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manasa <mgowri>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: adking, agunn, rlepaksh, vereddy
Target Milestone: ---Keywords: FutureFeature
Target Release: 5.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-16.2.6-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-04 10:20:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 2 Juan Miguel Olmo 2021-05-25 09:24:10 UTC
@mgowri :

You have placements with direct references to the node  that you have removed:

ceph-5x-doc-mgowri-1620728264715-node7-rgw-mgr

That is the case for mon, mgr, and nfs services,

The placement of your services must no include the removed node. The easy way to do that is to use labels in the nodes and apply the service using these labels, as explained in:

https://docs.ceph.com/en/latest/cephadm/mon/#using-host-labels


In the case of rgw.foo: 

Theoretically this daemons must be moved to another host with the "rgw" label set. Do you have "another" rgw labeled node?

Comment 4 Daniel Pivonka 2021-07-23 19:07:34 UTC
pr in review: https://github.com/ceph/ceph/pull/42405

Comment 5 Daniel Pivonka 2021-08-24 16:40:52 UTC
upstream master pr merged. Pending back port to pacific

Comment 6 Daniel Pivonka 2021-09-14 14:32:51 UTC
backported to pacific: https://github.com/ceph/ceph/pull/43029

Comment 21 errata-xmlrpc 2022-04-04 10:20:39 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: Red Hat Ceph Storage 5.1 Security, Enhancement, and Bug Fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:1174