Created attachment 1336725 [details] iscsi-gw-yml
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.
Fixed in https://github.com/ceph/ceph-ansible/releases/tag/v3.0.1
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