software deploy precheck to ignore 280 series alarm
This fix is for software deploy precheck to ignore subcloud offline alarm(280.001) for patch and upgrade software deployment. Test Plan: PASSED: software deploy precheck ignores alarm 280.001 for software deployment. PASSED: vim sw-deploy strategy creation is successful when alarm 280.001 is present. Closes-Bug: 2088023 Change-Id: Ic31847e2119b0d28bee0897a7d7f36aca1311813 Signed-off-by: Vanathi.Selvaraju <vanathi.selvaraju@windriver.com>
This commit is contained in:

committed by
Vanathi Selvaraju

parent
e3e454c208
commit
d56221dd07
@@ -116,7 +116,13 @@ class HealthCheck(object):
|
||||
force = self._config.get("force", False)
|
||||
health_ok = success = True
|
||||
|
||||
alarm_ignore_list = ["900.201"]
|
||||
alarm_ignore_list = ["280.001", # subcloud offline
|
||||
"280.002", # subcloud resource out-of-sync
|
||||
"280.003", # subcloud backup failure
|
||||
"280.004", # subcloud peer group in disconnected state
|
||||
"280.005", # subcloud peer group managed with lower priority
|
||||
"900.201", # Software upgrade auto apply in progress
|
||||
]
|
||||
api_cmd = self._sysinv_endpoint + "/health/kube-upgrade"
|
||||
|
||||
if force:
|
||||
|
Reference in New Issue
Block a user