aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-07-30 15:50:44 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2018-07-30 16:20:41 +0200
commit28a706149ede8c644f63c7b5a4f3b02a9806e548 (patch)
treec38d866389b7bfe760aff2a3109a35b98fba9061 /functest/opnfv_tests/vnf/router/cloudify_vrouter.py
parentcfb241ab63898eb4a550fc571d34952d33996e9c (diff)
Delete alt images before removing the account
Else it could raise unauthorized exceptions [1]. [1] https://build.opnfv.org/ci/view/functest/job/functest-apex-baremetal-daily-master/188/console Change-Id: Ia9b857069f775e2c8ecc5e07cf39b3a1fb7e3540 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/opnfv_tests/vnf/router/cloudify_vrouter.py')
-rw-r--r--functest/opnfv_tests/vnf/router/cloudify_vrouter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
index 02d871fd9..f9266ff17 100644
--- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
+++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.py
@@ -249,12 +249,11 @@ class CloudifyVrouter(cloudify.Cloudify):
self.vnf['descriptor'].get('name'))
except Exception: # pylint: disable=broad-except
self.__logger.exception("Some issue during the undeployment ..")
-
- super(CloudifyVrouter, self).clean()
if self.image_alt:
self.cloud.delete_image(self.image_alt)
if self.flavor_alt:
self.orig_cloud.delete_flavor(self.flavor_alt.id)
+ super(CloudifyVrouter, self).clean()
def wait_for_execution(client, execution, logger, timeout=7200, ):