Debian Patch Removal Fails due to incorrect ordering
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Jessica Castelino |
Bug Description
Brief Description
After installing and removing NRR_INSVC test patch with no problems, while installing and removing RR_ALL_NODES and RR_ALL_
The issue is exposed by the order of these logs
2022-12-
2022-12-
the problem here is that we ONLY want to update the summary for RR_ALL_NODES since it is what ends up being the final 'head' for ostree.
RR_ALL_
We have 'requires' setup to prevent the base commit from being removed without the requires also being removed, so now we just need to either re-order the sequence, or determine that the summary update can be skipped
Severity:
-------
Major: controller-0 stuck in locked state
Steps to Reproduce
-------
Build 2022-12-
1) sudo sw-patch upload RR_ALL_NODES.patch RR_ALL_
2) sudo sw-patch apply RR_ALL_NODES RR_ALL_
3) system host-lock controller-0 (after this step host was showed as patch current and RR)
4) sudo sw-patch host-install controller-0
5) system host-unlock controller-0 (after this, patch current and NO RR)
6) sudo sw-patch remove RR_ALL_NODES RR_ALL_
7) system host-lock controller-0
8) sudo sw-patch host-install controller-0 (success but host remains not patch current)
9) system host-unlock controller-0
out: host-unlock rejected: Not patch current. 'sw-patch host-install controller-0' is required.
Expected Behavior
-------
Removing the two patches should be supported, host should be patch current and able to unlock
Actual Behavior
-------
Host is not patch current and unable to unlock
Reproducibility
-------
Reproducible
System Configuration
-------
One node system IPv4
Load info:
-------
BUILD_DATE=
Last Pass
-------
NA
Timestamp/Logs
-------
NA
Alarms
-------
No alarms at the time TC started
After:
+------
| Alarm ID | Reason Text | Entity ID | Severity | Time Stamp |
+------
| 200.001 | controller-0 was administratively locked to take it out-of-service. | host=controller-0 | warning | 2022-12-17T17:34:45 |
| | | | | .191831 |
| | | | | |
+------
Test Activity
-------
Regression Testing
Workaround
-------
No workaround known
Changed in starlingx: | |
assignee: | nobody → Jessica Castelino (jcasteli) |
Changed in starlingx: | |
importance: | Undecided → Medium |
tags: | added: stx.8.0 stx.update |
Fix proposed to branch: master /review. opendev. org/c/starlingx /update/ +/869855
Review: https:/