Description of problem: purge cluster playbooks don't clean /var/lib/ceph/* It means it leaves some files in place and cause error when trying to redeploy a cluster: Sep 26 13:18:16 mon0 docker[31316]: 2018-09-26 13:18:16.9323937f15b0d74700 -1 auth: unable to find a keyring on /etc/ceph/test.client.admin.keyring,/etc/ceph/test.keyring,/etc/ceph/keyring,/etc/ceph/keyring.bin,:(2) No such file or directory This error occurs because ceph-container relies on the fact there is a keyring present in /var/lib/ceph/mon/<cluster>-<mon-name>/keyring to detect whether we are trying to join an existing cluster. How reproducible: 100% Steps to Reproduce: 1. Deploy a containerized cluster 2. Run purge-docker-cluster.yml 3. Try to redeploy a containerized cluster Actual results: Redeploying a cluster after purge playbook fails because of leftover. Expected results: We can redeploy a cluster after a purge.
followed below steps to reproduce ,no longer see the issue,moving to verified state. Steps to Reproduce: 1. Deploy a containerized cluster 2. Run purge-docker-cluster.yml 3. Try to redeploy a containerized cluster Gets deployed fine. [ubuntu@magna021 ceph-ansible]$ rpm -qa | grep ansible ceph-ansible-3.1.9-1.el7cp.noarch ansible-2.4.6.0-1.el7ae.noarch
*** Bug 1642026 has been marked as a duplicate of this bug. ***
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/RHBA-2018:3530