Bug 1500281 - [ceph-ansible]: purging iSCSI GWs using ansible failed.
Summary: [ceph-ansible]: purging iSCSI GWs using ansible failed.
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Ceph-Ansible
Version: 3.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: rc
: 3.0
Assignee: Sébastien Han
QA Contact: Manohar Murthy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-10 10:30 UTC by Manohar Murthy
Modified: 2017-12-05 23:47 UTC (History)
11 users (show)

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:
Clone Of:
Environment:
Last Closed: 2017-12-05 23:47:21 UTC
Embargoed:


Attachments (Terms of Use)
iscsi-gw-yml (2.99 KB, text/x-vhdl)
2017-10-10 10:33 UTC, Manohar Murthy
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github ceph ceph-ansible pull 2014 0 None None None 2017-10-10 11:52:07 UTC
Github ceph ceph-ansible pull 2022 0 None None None 2017-10-11 10:53:13 UTC
Red Hat Product Errata RHBA-2017:3387 0 normal SHIPPED_LIVE Red Hat Ceph Storage 3.0 bug fix and enhancement update 2017-12-06 03:03:45 UTC

Comment 2 Manohar Murthy 2017-10-10 10:33:30 UTC
Created attachment 1336725 [details]
iscsi-gw-yml

Comment 3 Sébastien Han 2017-10-10 11:52:07 UTC
This is fixed in rc19.
We dropped the purge from purge-cluster.yml

We re-added the original purge-iscsi-gateways.yml

Comment 4 Tejas 2017-10-10 11:56:29 UTC
(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

Comment 5 Sébastien Han 2017-10-10 12:11:16 UTC
Correct.

Comment 7 Sébastien Han 2017-10-11 12:28:54 UTC
Fixed in https://github.com/ceph/ceph-ansible/releases/tag/v3.0.1

Comment 12 Manohar Murthy 2017-10-13 11:59:06 UTC
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]#

Comment 13 Sébastien Han 2017-10-13 12:17:21 UTC
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.

Comment 15 Sébastien Han 2017-10-13 12:39:21 UTC
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.

Comment 21 errata-xmlrpc 2017-12-05 23:47:21 UTC
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


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