029e3eecf5
system kube-upgrade-* commands can get stuck in upgrading-* state with no way to continue to upgrade. The 'system kube-upgrade-failed' command created to manually set state to *-failed. Created kube-upgrade-failed command to manually set status to *-failed. Created 30 minute periodic task _audit_kube_upgrade_states to automatically change the kube_upograde state to *-failed if the specific state is stuck 'upgrading-*' for more than 1 hour. Updarted kube_upgrade_controller to support state transition to *-failed state. Test Plan: PASS: Manually edit kube_upgrade state to upgrading-* and execute 'system kube-upgrade-failed' and verify the state transition to *-failed PASS: Manually edit kube_upgrade state to upgrading-* after kube_upgrade completion and wait for one hour and verify state transition to *-failed based on updated_at time stamp PASS: Verify the functionality of _audit_kube_upgrade_states and kube-upgrade-failed by building ISO Closes-Bug: 1999405 Signed-off-by: Sachin Gopala Krishna <saching.krishna@windriver.com> Change-Id: I499fb2909f11dc2b240dbf2e03ccfd95f1fd2e62 |
||
---|---|---|
.. | ||
centos | ||
cgts-client | ||
debian | ||
opensuse | ||
.gitignore | ||
PKG-INFO |