| Summary: | Purging Ceph cluster on containers that was set up by using Ansible fails on Atomic host | ||
|---|---|---|---|
| Product: | Red Hat Ceph Storage | Reporter: | krishnaram Karthick <kramdoss> |
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> |
| Status: | CLOSED NOTABUG | QA Contact: | Vasishta <vashastr> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 3.0 | CC: | adeza, anharris, aschoen, ceph-eng-bugs, dang, flucifre, gmeno, hchen, hnallurv, ifont, jim.curtis, kdreyer, nthomas, pprakash, sankarshan, seb |
| Target Milestone: | rc | ||
| Target Release: | 3.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | RHEL: ceph-ansible-3.0.0-0.1.rc4.el7cp Ubuntu: ceph-ansible_3.0.0~rc4-2redhat1 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-05-23 16:37:32 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: | |
Should this path be configurable then? /root/roles/ceph-common/defaults/main.yml? Where are you files hosted? We are not testing this upstream in Jenkins yet. That's the first step. FYI, we do not support ansible 1.9.4 anymore. Fixed, in the patch attached. Although if you keep using Ansible 1.9.4 I won't guarantee this will work. We only support Ansible 2.3.1. Thanks. Atomic host is not a supported platform for this product format. |
Description of problem: purging of Containerized ceph cluster setup using ansible on atomic host fails with the following error. # ansible-playbook purge-docker-cluster.yml --skip-tags=with_pkg Are you sure you want to purge the cluster? [no]: yes If --skip-tags=with_pkg is not set docker packages and more will be uninstalled from non-atomic hosts. Do you want to continue? [no]: yes PLAY [confirm whether user really meant to purge the cluster] ***************** TASK: [exit playbook, if user did not mean to purge cluster] ****************** skipping: [localhost] TASK: [exit playbook, if user did not mean to remove packages] **************** skipping: [localhost] PLAY [purge ceph mds cluster] ************************************************* skipping: no hosts matched PLAY [purge ceph rgw cluster] ************************************************* skipping: no hosts matched PLAY [purge ceph rbd-mirror cluster] ****************************************** skipping: no hosts matched PLAY [purge ceph nfs cluster] ************************************************* skipping: no hosts matched PLAY [purge ceph osd cluster] ************************************************* GATHERING FACTS *************************************************************** ok: [10.70.37.43] ok: [10.70.37.89] ok: [10.70.37.211] TASK: [include_vars ../roles/ceph-common/defaults/main.yml] ******************* failed: [10.70.37.211] => {"failed": true, "file": "/root/roles/ceph-common/defaults/main.yml"} msg: Source file not found. failed: [10.70.37.89] => {"failed": true, "file": "/root/roles/ceph-common/defaults/main.yml"} msg: Source file not found. failed: [10.70.37.43] => {"failed": true, "file": "/root/roles/ceph-common/defaults/main.yml"} msg: Source file not found. FATAL: all hosts have already failed -- aborting PLAY RECAP ******************************************************************** to retry, use: --limit @/root/purge-docker-cluster.retry 10.70.37.211 : ok=1 changed=0 unreachable=0 failed=1 10.70.37.43 : ok=1 changed=0 unreachable=0 failed=1 10.70.37.89 : ok=1 changed=0 unreachable=0 failed=1 localhost : ok=0 changed=0 unreachable=0 failed=0 Version-Release number of selected component (if applicable): ansible --version ansible 1.9.4 configured module search path = None #docker --version Docker version 1.10.3, build 5206701-unsupported # cat /etc/redhat-release Red Hat Enterprise Linux Atomic Host release 7.2 How reproducible: Always Steps to Reproduce: 1. setup a containerized ceph cluster using ansible - https://docs.google.com/document/d/1Ef5a_-Yjozy5Ue3C0M7mMQNn6zWZe0-514bhxKwFHI8/edit# 2. Once the setup is complete, purge the cluster using the command - purge-docker-cluster.yml --skip-tags=with_pkg Actual results: Purging fails Expected results: Purging should pass Additional info: