Bug 1776736 - [ceph-ansible] purge-docker-cluster.yml failing to remove ceph mon and mgr container
Summary: [ceph-ansible] purge-docker-cluster.yml failing to remove ceph mon and mgr co...
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: 4.1
Assignee: Guillaume Abrioux
QA Contact: Sunil Angadi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-11-26 09:44 UTC by Sunil Angadi
Modified: 2020-01-24 04:16 UTC (History)
7 users (show)

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


Attachments (Terms of Use)
Attached ansible.log and inventory file and all.yml (1.71 MB, text/plain)
2019-11-26 09:44 UTC, Sunil Angadi
no flags Details

Description Sunil Angadi 2019-11-26 09:44:43 UTC
Created attachment 1639746 [details]
Attached ansible.log and inventory file and all.yml

Description of problem:
When tried to purge containerized cluster using purge-docker-cluster.yml it is failing in task TASK [remove ceph mon and mgr container] 

Version-Release number of selected component (if applicable):
ceph-ansible-4.0.5-1.el8cp.noarch
Red Hat Enterprise Linux release 8.1 (Ootpa)

How reproducible:
Always

Steps to Reproduce:
1.Deploy ceph 4.0 with containerized and try to purge using purge-docker-cluster.yml
2.
3.

Actual results:

2019-11-26 04:07:18,371 p=14441 u=admin |  TASK [remove ceph mon and mgr container] ***********************************************************************************************
2019-11-26 04:07:18,371 p=14441 u=admin |  task path: /usr/share/ceph-ansible/purge-docker-cluster.yml:464
2019-11-26 04:07:18,371 p=14441 u=admin |  Tuesday 26 November 2019  04:07:18 +0000 (0:00:02.381)       0:00:52.491 ****** 
2019-11-26 04:07:18,395 p=14441 u=admin |  Using module file /usr/lib/python3.6/site-packages/ansible/modules/cloud/docker/docker_container.py
2019-11-26 04:07:18,395 p=14441 u=admin |  Pipelining is enabled.
2019-11-26 04:07:18,396 p=14441 u=admin |  <magna076> ESTABLISH SSH CONNECTION FOR USER: None
2019-11-26 04:07:18,397 p=14441 u=admin |  <magna076> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=600s -o PreferredAuthentications=publickey -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=60 -o ControlPath=/home/admin/.ansible/cp/%h-%r-%p magna076 '/bin/sh -c '"'"'sudo -H -S -n  -u root /bin/sh -c '"'"'"'"'"'"'"'"'echo BECOME-SUCCESS-jpuqsrjbphfhqhidulvjndfbjjvicluh ; /usr/libexec/platform-python'"'"'"'"'"'"'"'"' && sleep 0'"'"''
Expected results:
Playbook should success

Additional info:


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