]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
igw: fix image removal during purge
authorMike Christie <mchristi@redhat.com>
Wed, 25 Jul 2018 18:13:17 +0000 (13:13 -0500)
committerSébastien Han <seb@redhat.com>
Tue, 31 Jul 2018 08:08:26 +0000 (10:08 +0200)
commitd572a9a6020592607d98aa30cea75940428506b0
tree877f8be7b9746e1ba08eb006b6b5c039fd947908
parentb334cdcbe5cd135e0650630c0e8c4ace4601d1b0
igw: fix image removal during purge

We were not passing in the ceph conf info into the rbd image removal
command, so if the clustername was not the default igw purge would fail
due to the rbd rm command failing.

This just fixes the bug by passing in the ceph conf info which has the
clustername to use.

This fixes Red Hat bugzilla:
https://bugzilla.redhat.com/show_bug.cgi?id=1601949

Signed-off-by: Mike Christie <mchristi@redhat.com>
library/igw_purge.py
roles/ceph-iscsi-gw/library/igw_purge.py