Patch install failure on controller-1 was not detected by patch orchestration it was showing wrong state
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Al Bailey |
Bug Description
Brief Description
-----------------
Patch orchestration doesn’t shows the correct state of patch install on host after 2019-09-
sudo sw-patch query-hosts
Password:
Hostname IP Address Patch Current Reboot Required Release State
============ =============== ============= =============== ======= ==============
compute-0 192.168.204.166 No No 19.09 idle
compute-1 192.168.204.172 No No 19.09 idle
controller-0 192.168.204.3 No No 19.09 idle
controller-1 192.168.204.4 Failed No 19.09 install-failed
sw-manager patch-strategy show
Strategy Patch Strategy:
strategy-uuid: 2be9b682-
controller-
storage-
worker-
max-parallel-
default-
alarm-
current-phase: abort
current-
state: aborted
apply-result: failed
apply-reason: alarms from platform are present
abort-result: success
abort-reason:
w-manager patch-strategy: error: too few arguments
[sysadmin@
Strategy Patch Strategy:
strategy-uuid: 2be9b682-
controller-
storage-
worker-
max-parallel-
default-
alarm-
current-phase: abort
current-
state: aborted
build-phase:
total-stages: 1
current-stage: 1
stop-at-stage: 1
timeout: 182 seconds
completion-
start-
end-date-time: 2019-09-05 14:46:53
result: success
reason:
stages:
stage-id: 0
stage-name: sw-patch-query
timeout: 181 seconds
result: success
reason:
steps:
result: success
reason:
result: success
reason:
result: success
reason:
apply-phase:
total-stages: 3
current-stage: 1
stop-at-stage: 3
timeout: 5674 seconds
completion-
start-
end-date-time: 2019-09-05 14:47:55
result: failed
reason: alarms from platform are present
stages:
stage-id: 0
stage-name: sw-patch-
timeout: 1891 seconds
result: success
reason:
steps:
result: success
reason:
result: success
reason:
result: success
reason:
stage-id: 1
stage-name: sw-patch-
timeout: 1891 seconds
result: failed
reason: alarms from platform are present
steps:
result: failed
reason: alarms from platform are present
result: initial
reason:
result: initial
reason:
stage-id: 2
stage-name: sw-patch-
timeout: 1891 seconds
result: initial
reason:
steps:
result: initial
reason:
result: initial
reason:
result: initial
Severity
--------
Major
Steps to Reproduce
------------------
1. Upload in service post failure patch
2. Apply patch
3. Create patch strategy
4. Apply patch strategy and monitor for failure
5. As per description patch failed but patch orchestration didn’t detect
System Configuration
-------
Regular system
Expected Behavior
------------------
Patch install failure on hosts should be detected by patch orchestration and shouldn’t go to
Next hosts.
Actual Behavior
----------------
As per description hosts failure was not detected.
Reproducibility
---------------
100% reproducible.
System Configuration
-------
Regular system
Load
----
build date :2019-09-
Last Pass
---------
Not available
Timestamp/Logs
--------------
2019-09-05 14:46:53
Test Activity
-------------
Regression test
description: | updated |
tags: | added: stx.retestneeded |
tags: | removed: stx.retestneeded |
Marking as stx.3.0 / medium priority - negative test scenario; not likely for typical use-cases