Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1688012 - purge-docker-cluster.yml fails with 'ceph-volume lvm batch' containerized deployment
Summary: purge-docker-cluster.yml fails with 'ceph-volume lvm batch' containerized dep...
Keywords:
Status: NEW
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 4.0
Assignee: Guillaume Abrioux
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-12 21:36 UTC by John Harrigan
Modified: 2019-03-19 18:01 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:


Attachments (Terms of Use)
all.yml (deleted)
2019-03-12 21:36 UTC, John Harrigan
no flags Details
osds.yml (deleted)
2019-03-12 21:37 UTC, John Harrigan
no flags Details

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


Note You need to log in before you can comment on or make changes to this bug.