Add error checking to worker_reserved.conf handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
A case was seen in the miniboot kickstart where the sed command that updates /etc/platform/
/etc/platform/
This was seen in only one redfish subcloud install on one specific server.
Same server was reinstalled multiple times without seeing the issue again.
This update adds some checking around the file creation and sed execution
and fails the install in place if there is an error found. This way the
issue can be debugged to a root cause.
Severity
--------
Critical when it happens
Steps to Reproduce
------------------
Install a subcloud using redfish/
Expected Behavior
------------------
Install succeeds
Actual Behavior
----------------
Install fails
Reproducibility
---------------
Seen only once.
System Configuration
-------
Subcloud install using miniboot
Branch/Pull Time/Commit
-------
BUILD_DATE=
Last Pass
---------
Frequently passes ; this issue tracks a one-of event
Timestamp/Logs
--------------
2022-12-12 10:19:50.118 miniboot post info: All-in-one All-in-one Reserved Memory: 14500
sed: can't read /etc/platform/
grep: /etc/platform/
2022-12-12 10:19:50.125 miniboot post info: All-in-one All-in-one ''
sed: can't read /etc/platform/
grep: /etc/platform/
2022-12-12 10:19:50.138 miniboot post info: All-in-one All-in-one ''
Test Activity
-------------
Regression Testing
Workaround
----------
Retry
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Eric MacDonald (rocksolidmtce) |
tags: | added: stx.8.0 stx.metal |
Fix proposed to branch: master /review. opendev. org/c/starlingx /metal/ +/867562
Review: https:/