Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2099281

Summary: [CEE/SD][ceph-volume] ceph-volume fails to remove the lvm tags while removing the OSD.
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Guillaume Abrioux <gabrioux>
Component: DocumentationAssignee: Ranjini M N <rmandyam>
Documentation sub component: Operations Guide QA Contact: Manisha Saini <msaini>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: medium    
Priority: medium CC: asriram, ceph-eng-bugs, gabrioux, gjose, mmuench, rmandyam
Version: 5.0   
Target Milestone: ---   
Target Release: 5.3z4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2067952 Environment:
Last Closed: 2023-07-20 04:25:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2067952    
Bug Blocks:    

Comment 10 Manisha Saini 2023-06-06 17:57:42 UTC
Hi Ranjini,
Changes looks good.But we also need to change the output of commands as well at step 5 as with this zap will be added to "ceph orch osd rm status command".

Actual
=======
Check the status of the OSD removal:

Example

[ceph: root@host01 /]# ceph orch osd rm status
OSD_ID  HOST     STATE     PGS       REPLACE  FORCE  DRAIN_STARTED_AT
2       host01  draining  124       False    False  2021-09-07 16:26:07.142980
5       host01  draining  107       False    False  2021-09-07 16:26:08.330371

==============

Expected
===========

Example :

# ceph orch osd rm status
OSD  HOST                    STATE                    PGS  REPLACE  FORCE  ZAP   DRAIN STARTED AT            
9    ceph-mani-nuoxgc-node5  done, waiting for purge    0  False    False  True  2023-06-06 17:50:50.525690  
10   ceph-mani-nuoxgc-node2  done, waiting for purge    0  False    False  True  2023-06-06 17:49:38.731533  
11   ceph-mani-nuoxgc-node3  done, waiting for purge    0  False    False  True  2023-06-06 17:48:36.641105

Comment 12 Manisha Saini 2023-06-12 09:29:16 UTC
Changes looks good to me.Moving this BZ to verified state.