Extend error messages list 91/31091/1
authorMichael Polenchuk <mpolenchuk@mirantis.com>
Mon, 20 Mar 2017 13:39:41 +0000 (17:39 +0400)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 20 Mar 2017 17:28:37 +0000 (17:28 +0000)
Start redeploy if errors for the following bugs are caught:
https://bugs.launchpad.net/fuel/+bug/1673797
https://bugs.launchpad.net/fuel/+bug/1672683

Change-Id: I41bc10d983f193e4206f0913358f5710f034070a
Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
(cherry picked from commit cffc4bb6d13b67d7e1c7ee0f1412ded1704fe999)

deploy/cloud/deployment.py

index 7f791cb..4329a4c 100644 (file)
@@ -25,7 +25,9 @@ GREP_LINES_OF_LEADING_CONTEXT = 100
 GREP_LINES_OF_TRAILING_CONTEXT = 100
 LIST_OF_CHAR_TO_BE_ESCAPED = ['[', ']', '"']
 ERROR_MSGS = ['Critical nodes are not available for deployment',
-              'offline. Remove them from environment and try again.']
+              'offline. Remove them from environment and try again.',
+              'Task[move_to_bootstrap/',
+              'Failed tasks: Task[connectivity-checker/']
 
 
 class DeployNotStart(Exception):