Description of problem: - In a degraded environment, supplied the --force flag, but the host still did not enter maintenance mode: [root@mgmt-0 ~]# ceph orch host maintenance enter osds-0.ceph5t.lab.pnq2.cee.redhat.com --force unsafe to stop osd(s) at this time (97 PGs are or would become offline) Note: Warnings can be bypassed with the --force flag Version-Release number of selected component (if applicable): RHCS 5.1z1 How reproducible: 100% Steps to Reproduce: 1. Set multiple OSD hosts into maintenance mode without allowing rebalance 2. Attempt to set another OSD host into maintenance mode using --force Actual results: [root@mgmt-0 ~]# ceph orch host maintenance enter osds-0.ceph5t.lab.pnq2.cee.redhat.com --force unsafe to stop osd(s) at this time (97 PGs are or would become offline) Note: Warnings can be bypassed with the --force flag Expected results: - Host to enter maintenance mode Additional info:
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 (Red Hat Ceph Storage 7.0 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/RHBA-2023:7780