Tombstone to fix ostree error in prepatched rehome
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
In Progress
|
Undecided
|
Unassigned |
Bug Description
Brief Description
-----------------
When using a prepatched ISO, the ostree history in the feed only
shows the last commit, the oldest commits are replaced by a message:
"History beyond this commit not fetched".
When this is pulled to a second repo (sysroot) and this repo needs
to delete some commit before pull, it will list all commits from the
original repo to check what must be deleted. During this list, if
it reaches the above message, it requires a tombstone commit to
avoid searching further and raise a file not found error.
Severity
--------
Critical: System/Feature is not usable due to the defect
Steps to Reproduce
------------------
Having a subcloud installed with 24.09 GA, and 24.09.100
Rehome to a CC installed with 24.09.200 prepatched ISO
Prestage the subcloud
software deploy start 24.09.200
system host-lock <node>
software deploy host <node> <-- fail
Expected Behavior
------------------
Subcloud to apply patch
Actual Behavior
----------------
Fail during deploy host, missing an ostree file
Reproducibility
---------------
Reproducible
System Configuration
-------
<One node system, Two node system, Multi-node system, Dedicated storage, https, IPv4, IPv6 etc.>
Branch/Pull Time/Commit
-------
Branch and the time when code was pulled or git commit or cengn load info
Last Pass
---------
Did this test scenario pass previously? If so, please indicate the load/pull time info of the last pass.
Use this section to also indicate if this is a new test scenario.
Timestamp/Logs
--------------
Attach the logs for debugging (use attachments in Launchpad or for large collect files use: https:/
Provide a snippet of logs here and the timestamp when issue was seen.
Please indicate the unique identifier in the logs to highlight the problem
Test Activity
-------------
[Sanity, Feature Testing, Regression Testing, Developer Testing, Evaluation, Other - Please specify]
Workaround
----------
Before prestaging, create the missing file in CC
touch /var/www/
Changed in starlingx: | |
status: | New → In Progress |