Bug 1500281
| Summary: | [ceph-ansible]: purging iSCSI GWs using ansible failed. | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Manohar Murthy <mmurthy> | ||||
| Component: | Ceph-Ansible | Assignee: | Sébastien Han <shan> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Manohar Murthy <mmurthy> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 3.0 | CC: | adeza, anharris, aschoen, ceph-eng-bugs, ceph-qe-bugs, gmeno, hnallurv, mmurthy, nthomas, sankarshan, tchandra | ||||
| Target Milestone: | rc | ||||||
| Target Release: | 3.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | RHEL: ceph-ansible-3.0.2-1 Ubuntu: ceph-ansible-3.0.2-2redhat1 | Doc Type: | If docs needed, set a value | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2017-12-05 23:47:21 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: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
This is fixed in rc19. We dropped the purge from purge-cluster.yml We re-added the original purge-iscsi-gateways.yml (In reply to leseb from comment #3) > This is fixed in rc19. > We dropped the purge from purge-cluster.yml > > We re-added the original purge-iscsi-gateways.yml But the creation of GWs is still done from site.yml right? - Tejas Correct. Still not fixed so moving it back to assigned. Updated: ceph-ansible.noarch 0:3.0.2-1.el7cp Complete! [root@aircobra ~]# [root@aircobra ~]# [root@aircobra ~]# vim /etc/hosts [root@aircobra ~]# vim /etc/ansible/hosts [root@aircobra ~]# cd /usr/share/ceph-ansible/ [root@aircobra ceph-ansible]# ansible-playbook purge-iscsi-gateways.yml Which configuration elements should be purged? (all, lio or abort) [abort]: all PLAY [Confirm removal of the iSCSI gateway configuration] ********************************************************************************************************************************************************* TASK [Gathering Facts] ******************************************************************************************************************************************************************************************** ok: [localhost] TASK [Exit playbook if user aborted the purge] ******************************************************************************************************************************************************************** skipping: [localhost] TASK [set_fact] *************************************************************************************************************************************************************************************************** ok: [localhost] PLAY [Removing the gateway configuration] ************************************************************************************************************************************************************************* skipping: no hosts matched PLAY RECAP ******************************************************************************************************************************************************************************************************** localhost : ok=2 changed=0 unreachable=0 failed=0 [root@aircobra ceph-ansible]# This is missing info, your attachment shows an old purge-cluster.yml run and I don't see your inventory file. Can I see your host inventory? You need a [iscsi-gws] section. You're still using the old version of purge-iscsi-gateways.yml... Please copy infrastructure-playbooks/purge-iscsi-gateways.yml to the root of ceph-ansible. 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-2017:3387 |
Created attachment 1336725 [details] iscsi-gw-yml