Bug 1670515 - can't purge cluster block devices in containerized Ceph cluster
Summary: can't purge cluster block devices in containerized Ceph cluster
Keywords:
Status: CLOSED DUPLICATE of bug 1653307
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.2
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: z1
: 3.2
Assignee: Sébastien Han
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-29 17:45 UTC by Ben England
Modified: 2022-02-21 18:08 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-01-30 13:16:42 UTC
Embargoed:


Attachments (Terms of Use)
tarball containing ceph-ansible log and inputs (23.55 KB, application/gzip)
2019-01-29 17:51 UTC, Ben England
no flags Details

Description Ben England 2019-01-29 17:45:39 UTC
Description of problem:

When re-doing a containerized Ceph install using ceph-ansible, I can't get purge-docker-cluster.yml to clear out the block devices.  

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

ceph-ansible-3.2.4-1.el7cp.noarch obtained from 21-Jan-2019 build of RHCS 3.2 at

http://download.eng.bos.redhat.com/rhel-7/composes/auto/ceph-3.2-rhel-7/latest-RHCEPH-3-RHEL-7/compose/Tools/x86_64/os/

How reproducible:

Every time

Steps to Reproduce:
1. build a cluster with ceph-ansible site-docker.yml
2. purge it using purge-docker-cluster.yml

This is using osd_scenario: lvm in "simple" mode as documented, where only a devices: list is specified, and ceph-volume lvm batch does the rest.

Actual results:

ansible-playbook -v -e ireallymeanit=yes purge-docker-cluster.yml 
...
TASK [zap and destroy osds created by ceph-volume with lvm_volumes] *********************************************************************************************************
Tuesday 29 January 2019  17:34:55 +0000 (0:00:00.291)       0:03:21.573 ******* 
fatal: [c10-h19-r730xd]: FAILED! => {}

MSG:

'lvm_volumes' is undefined
...


Expected results:

block storage is cleared, just as it would be with purge-cluster.yml


Additional info:

To even get this far you have to copy purge-docker-cluster.yml into /usr/share/ceph-ansible - you cannot run it directly from infrastructure-playbooks/ subdirectory.

I'll attach the log and the inputs to ceph-ansible in a tarball here.

Comment 1 Ben England 2019-01-29 17:51:30 UTC
Created attachment 1524766 [details]
tarball containing ceph-ansible log and inputs

Comment 2 Ben England 2019-01-29 17:53:53 UTC
tweaking the comment to indicate it's about containerized Ceph only.

Comment 3 Vasishta 2019-01-30 12:54:37 UTC
Hi Ben,

This issue is being tracked under BZ 1653307. I think we can close this as duplicate.

Regards,
Vasishta Shastry
QE, Ceph

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1653307#c26

Comment 4 Ben England 2019-01-30 13:16:42 UTC
agreed.

*** This bug has been marked as a duplicate of bug 1653307 ***


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