From: Loic Dachary Date: Wed, 20 Jan 2016 15:51:16 +0000 (+0700) Subject: openstack: a failure to rename a volume is not fatal X-Git-Tag: 1.1.0~695^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F772%2Fhead;p=teuthology.git openstack: a failure to rename a volume is not fatal It will be cleaned up by nuke --stale-openstack Signed-off-by: Loic Dachary --- diff --git a/teuthology/openstack/__init__.py b/teuthology/openstack/__init__.py index 87a14499d..1fef2698a 100644 --- a/teuthology/openstack/__init__.py +++ b/teuthology/openstack/__init__.py @@ -167,7 +167,7 @@ class OpenStackInstance(object): misc.sh("openstack server delete --wait " + self['id'] + " || true") for volume in volumes: - misc.sh("openstack volume set --name REMOVE-ME " + volume) + misc.sh("openstack volume set --name REMOVE-ME " + volume + " || true") misc.sh("openstack volume delete " + volume + " || true") return True