]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
igw: do not fail purge on rbd removal errors
authorMike Christie <mchristi@redhat.com>
Thu, 26 Jul 2018 18:52:44 +0000 (13:52 -0500)
committerSébastien Han <seb@redhat.com>
Tue, 31 Jul 2018 08:08:26 +0000 (10:08 +0200)
commit6f72f96dadb7b38f065ccef3f0618a2897f8465f
treec5e95d7a27e2e695d62c7c524a6101506fb87163
parentd572a9a6020592607d98aa30cea75940428506b0
igw: do not fail purge on rbd removal errors

Instead of failing the entire purge operation when the rbd command fails
just log an error. This will allow the higher level target and config
cleanup to complete, and the user only has to manually delete the rbd
images.

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