Patches are transferred and uploaded to the subclouds prematurely during patch orchestration

Bug #1958277 reported by Bo Yuan Chang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
StarlingX
Fix Released
Medium
Bo Yuan Chang

Bug Description

Brief Description
-----------------
Patches are uploaded and started in the subcloud before checking if the subcloud is patchable which prevents subsequent patch orchestration.

Severity
--------
Major

Steps to Reproduce
------------------
Start a patch orchestration while one or more subclouds have a management affecting alarm.

Expected Behavior
------------------
The orchestrated patching fails for the subcloud(s) with the management affecting alarm. However, there's no patching in progress alarm on the subcloud after the patch strategy is complete and removed.

Actual Behavior
----------------
Subclouds with the management affecting alarm end up with an additional alarm - the patching in progress alarm which is also management affecting which prevents subsequent patch orchestration on these subclouds.

Reproducibility
---------------
Readily reproducible.

System Configuration
--------------------
Distributed Cloud system

Branch/Pull Time/Commit
-----------------------
December 12, 2021 master build

Last Pass
---------
Not sure if this test case has been covered before.

Timestamp/Logs
--------------
Issue is readily reproducible

Test Activity
-------------
Developer Testing

Workaround
----------
N/A

Changed in starlingx:
assignee: nobody → Bo Yuan Chang (cby19961020)
summary: - Add checker function for management affected alarm before patching on
- subcloud
+ Patches are transferred and uploaded to the subclouds prematurely during
+ patch orchestration
Revision history for this message
Bo Yuan Chang (cby19961020) wrote :
Revision history for this message
Ghada Khalil (gkhalil) wrote :

@Bo, in the future, please make sure to link the LP in the commit msg using Closes-Bug

tags: added: stx.7.0 stx.distcloud
Changed in starlingx:
importance: Undecided → Medium
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.