Reboot during patch installation causes duplicated RPMs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Don Penney |
Bug Description
Brief Description
-----------------
A reboot during patch installation that occurs during the rpm transaction will leave the system in a bad state and is potentially catastrophic. The incomplete transaction results in multiple versions of the rpms installed in the rpm database, which in turn causes the patch-agent to think it has work to do which cannot be done. In some cases, these can lead to an unrecoverable boot loop, or patch installation failures.
Severity
--------
Critical
Steps to Reproduce
------------------
While monitoring patching.log to watch installation process, trigger a cold reboot of the node while it is in the middle of the rpm transaction.
Expected Behavior
------------------
System should be recoverable, with manual actions.
Actual Behavior
----------------
System enters a boot loop.
Reproducibility
---------------
Reproducible
Branch/Pull Time/Commit
-------
starlingx/master
Changed in starlingx: | |
assignee: | nobody → Don Penney (dpenney) |
Fix proposed to branch: master /review. opendev. org/763435
Review: https:/