stx-application re-apply strategy requires some changes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tyler Smith |
Bug Description
Brief Description
-----------------
This LP is tracking a few re-apply considerations:
1) When a host is unlocked, applications are re-applied regardless if there have been any override changes. The re-apply should only occur if a change in an override has occurred since the last apply.
2) If a re-apply is in progress and a user updates the config and triggers another re-apply (eg: via host unlock), the re-apply in progress will not pick up the new change.
3) The re-apply that is triggered on a host unlock is started immediately after the unlock is issued and has to wait for the host to recover before it completes. This results in a long re-apply time and can cause the re-apply to fail if the unlock does not complete.
4) No alarm is raised when a config change is done that requires a re-apply.
Severity
--------
Major
Steps to Reproduce (for #1):
------------------
Start with a system where the stx-openstack application is in applied state.
Lock/unlock the standby controller
Expected Behavior
------------------
The stx-openstack application should not be re-applied
Actual Behavior
----------------
The stx-openstack application is re-applied and requires 10+ minutes for the re-apply to occur as it needs to wait for the host to complete the unlock and its pods to recover.
Reproducibility
---------------
Reproducible
System Configuration
-------
all configs
Branch/Pull Time/Commit
-------
BUILD_ID=
Last Pass
---------
Did this test scenario pass previously? No
Timestamp/Logs
--------------
n/a
Test Activity
-------------
summary: |
- stx-application is re-applied when host is unlocked when no override - changes have been made since last apply + stx-application re-apply strategy requires some changes |
description: | updated |
Changed in starlingx: | |
assignee: | Tee Ngo (teewrs) → Tyler Smith (tyler.smith) |
tags: | added: in-r-stx20 |
stx.2.0 gating / Medium priority as this is more of an optimization for the re-apply.