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 1854973

Summary: ceph_volume module prevents ceph-ansible from zapping OSDs by osd_fsid when lvm_volumes is used
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Guillaume Abrioux <gabrioux>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED ERRATA QA Contact: Ameena Suhani S H <amsyedha>
Severity: high Docs Contact:
Priority: high    
Version: 4.1CC: amsyedha, anharris, aschoen, ceph-eng-bugs, fpantano, gabrioux, gcharot, gfidente, gmeno, johfulto, nthomas, tserlin, ykaul, yrabl
Target Milestone: z2   
Target Release: 4.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-ansible-4.0.29-1.el8cp, ceph-ansible-4.0.29-1.el7cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-30 17:26:19 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:
Bug Depends On:    
Bug Blocks: 1733577, 1760354    

Description Guillaume Abrioux 2020-07-08 14:15:20 UTC
Description of problem:
ceph_volume module prevent ceph-ansible from zapping OSDs by osd_fsid when lvm_volumes is used

Version-Release number of selected component (if applicable):
v4.0.25

How reproducible:
100%

Steps to Reproduce:
1/ deploy a cluster using `lvm_volumes` and use LVs/VGs
2/ try using shrink-osd.yml to shrink OSDs

Actual results:
The playbook runs fine, cluster seems to be OK, but the device won't be physically zapped because the ceph_volume.py module skips it :

"stdout: Skipped, nothing to zap"


Expected results:
OSD is shrinked and corresponding devices are well zapped

Comment 10 errata-xmlrpc 2020-09-30 17:26:19 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 (Red Hat Ceph Storage 4.1 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-2020:4144