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 1688012

Summary: purge-docker-cluster.yml fails with 'ceph-volume lvm batch' containerized deployment
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: John Harrigan <jharriga>
Component: Ceph-AnsibleAssignee: Guillaume Abrioux <gabrioux>
Status: CLOSED DUPLICATE QA Contact: ceph-qe-bugs <ceph-qe-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.2CC: aschoen, ceph-eng-bugs, dfuller, dsavinea, gmeno, nthomas, sankarshan, vakulkar
Target Milestone: rc   
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-30 17:42:23 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:
Attachments:
Description Flags
all.yml
none
osds.yml none

Description John Harrigan 2019-03-12 21:36:48 UTC
Created attachment 1543430 [details]
all.yml

Description of problem:
Unable to purge a containerized ceph cluster which was deployed using
osd_scenario: lvm with 'devices' syntax (ceph-volume lvm batch).

Version-Release number of selected component (if applicable):
ceph-ansible.noarch        3.2.8-1.el7cp                    installed

How reproducible:


Steps to Reproduce:
1. using all.yml and osds.yml as attached

2. deploy containerized ceph cluster
   # ansible-playbook site-docker.yml

3. purge the cluster
   # ansible-playbook purge-docker-cluster.yml

Playbook fails on this task
TASK [zap and destroy osds created by ceph-volume with lvm_volumes] ************
Tuesday 12 March 2019  21:20:07 +0000 (0:00:00.387)       0:01:39.186 ********* 
fatal: [c07-h01-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h05-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h09-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h13-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h17-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h21-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}
fatal: [c07-h25-6048r]: FAILED! => {"msg": "'lvm_volumes' is undefined"}

Actual results:


Expected results:


Additional info:
attaching all.yml and osds.yml

Comment 1 John Harrigan 2019-03-12 21:37:56 UTC
Created attachment 1543431 [details]
osds.yml