Created attachment 1508579 [details] File contains playbook log Description of problem: Tried purging a cluster initiated using lvm_batch scenario. lvms were not removed though playbook succeeded. Version-Release number of selected component (if applicable): ceph-ansible-3.2.0-0.1.rc3.el7cp.noarch How reproducible: Always (2/2) Steps to Reproduce: 1. Configure a cluster (we tried containerized cluster) with osds configured usin lvm_batch 2.purge the cluster Actual results: playbook completes successfully, lvms created during initializing the cluster are not removed Expected results: lvms created during cluster configurations must be removed if user wants to purge the clusters. Additional info:
The purge-docker-cluster.yml playbook is not using the ceph-volume module provided by ceph-ansible to zap these devices. Sebastian, is the zap container being used in that playbook using 'ceph-volume lvm zap --destroy'? Can this playbook also use the ceph-volume module?
I have a PR for this here: https://github.com/ceph/ceph-ansible/pull/3195/files I just haven't had the time to pursue this.
Can we target this bz to 3.2 ?
I was just being optimistic as lvms were removed in non-containerized scenario and there was some work already done on fix (PR 3195). Yes, not a blocker.
I believe this was fixed with https://bugzilla.redhat.com/show_bug.cgi?id=1644828 Vasishta, what version of ceph were you testing with? The fix for the BZ I linked should be in ceph-12.2.8-36.el7cp Thanks, Andrew
Andrew, https://bugzilla.redhat.com/show_bug.cgi?id=1644828 is not targeted to 3.2 rc. It is in POST state. If that BZ is fixed, can you please change the target release and bug state?
Hi Andrew, (In reply to Andrew Schoen from comment #8) > I believe this was fixed with > https://bugzilla.redhat.com/show_bug.cgi?id=1644828 > > Vasishta, what version of ceph were you testing with? The fix for the BZ I > linked should be in ceph-12.2.8-36.el7cp Sorry, I'm not sure about the ceph version, from logs I think I was using container image ceph-3.2-rhel-7-containers-candidate-38188-20181121222025 We had filed this BZ when we faced issues in playbook purge-dockercl-cluster.yml and being tracked for ceph-ansible PR 3195. Regards, Vasishta Shastry QE, Ceph
https://github.com/ceph/ceph-ansible/pull/3195 is now available in ceph-ansible v3.2.1.
Failed in containerized scenario It appears like the new task "zap and destroy osds created by ceph-volume with lvm_volumes" is missing from 3.2.1 - Ref - https://github.com/ceph/ceph-ansible/blob/v3.2.1/infrastructure-playbooks/purge-docker-cluster.yml Moving back to ASSIGNED state, please let me know if there are any concerns. Regards, Vasishta Shastry QE, Ceph
In https://github.com/ceph/ceph-ansible/releases/tag/v3.2.2
Hi Vasishta, you're right the bug on Ubuntu comes from https://bugzilla.redhat.com/show_bug.cgi?id=1656935, so please update it with your findings.
Yes.
*** Bug 1670515 has been marked as a duplicate of this bug. ***
Working fine with ceph-ansible-3.2.13-1.el7cp.noarch Moving to VERIFIED state.
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, 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-2019:0911
*** Bug 1688012 has been marked as a duplicate of this bug. ***