Log delete environment issue 39/31339/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 22 Mar 2017 08:36:20 +0000 (12:36 +0400)
committerMichael Polenchuk <mpolenchuk@mirantis.com>
Wed, 22 Mar 2017 08:53:15 +0000 (12:53 +0400)
Log delete environment issue instead of fail with it since
it ain't severe operation to break down whole deployment process.

Change-Id: Ibbdf41a1323970068c09efcd1355f95f030ef1e6
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
deploy/deploy_env.py

index 8afaeb1..d374cce 100644 (file)
@@ -153,7 +153,7 @@ class CloudDeploy(object):
                 all_env_erased = True
                 break
         if not all_env_erased:
-            err('Could not erase these environments %s'
+            log('Could not erase these environments %s'
                 % [(env[E['id']], env[E['status']]) for env in env_list])
 
     def cleanup_fuel_nodes(self, node_list):