Improve sysinv handling of host UUID in /etc/platform/platform.conf file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Unassigned |
Bug Description
Brief Description
-----------------
There are a couple potential issues with the handling of the host UUID, which is written into the /etc/platform/
1. The sysinv-agent will detect a missing UUID in this file and write it to the file (based on what is in the sysinv DB). However, if the UUID in the file is present, but not correct, it will be left as it is.
2. The sysinv-fpga-agent is using the UUID from the /etc/platform/
Severity
--------
Minor: The above issues caused firmware update related failures after an AIO-SX upgrade. However, the fix for bug 1891766 removed the trigger that exposed the above two issues.
Steps to Reproduce
------------------
The issues happened in an AIO-SX upgrade.
Expected Behavior
------------------
See above
Actual Behavior
----------------
See above
Reproducibility
---------------
Reproducible before bug 1891766 was fixed
System Configuration
-------
AIO-SX (One node system)
Branch/Pull Time/Commit
-------
stx.4.0
Last Pass
---------
Never
Timestamp/Logs
--------------
N/A
Test Activity
-------------
Feature Testing
Workaround
----------
None
tags: | added: stx.config |
Changed in starlingx: | |
status: | Fix Committed → Fix Released |
Low priority - code cleanup. Current code will not cause issues as https:/ /bugs.launchpad .net/starlingx/ +bug/1891766 is already fixed.