DC local prestage: kickstart script copies ostree-repo to old prestage directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Kyle MacLeod |
Bug Description
Brief Description
--------
DC local prestage: kickstart script copies ostree-repo to old prestage directory
Error:
2023-09-01 05:14:34.761 kickstart post_nochroot info: controller Prestage operation: copying repo to /opt/platform-
2023-09-01 05:14:34.763 kickstart post_nochroot info: controller Temporary backup mount is /tmp/platform-
2023-09-01 05:14:34.773 kickstart post_nochroot info: controller Copying repo to /tmp/platform-
2023-09-01 05:14:39.832 kickstart post_nochroot info: controller Calculating new checksum for prestaged /tmp/platform-
2023-09-01 05:14:46.818 kickstart post_nochroot info: controller Calculated checksum: d18bbf8a063cccb
2023-09-01 05:14:46.819 kickstart post_nochroot info: controller Copying images and patches to /tmp/platform-
2023-09-01 05:15:23.385 kickstart post_nochroot info: controller Replacing ostree sysroot remote with: file://
-------------
prestage data:
prestage data:du -sh /opt/platform-
3.6G /opt/platform-
80K /opt/platform-
du: cannot read directory '/opt/platform-
16K /opt/platform-
4.1G /opt/platform-
sysadmin@
4.0K /opt/platform-
2.3G /opt/platform-
1.4G /opt/platform-
Severity
--------
Critical: System/Feature is not usable after the defect
Steps to Reproduce
--------
deploy systemcontroller
deploy subcloud
backup subcloud
create prestaged.iso, use patch3 iso
wipe disks on subcloud
install prestaged.iso on subcloud
restore subcloud via dcmanager, use with-install option
Expected Behavior
--------
the subcloud should retrieve the prestage data during the restore
Actual Behavior
--------
the subcloud could not find the prestage data under /opt/platform-
Reproducibility
--------
100% reproducible
System Configuration
--------
Dc / subcloud
Load info
--------
SW_VERSION="22.12"
BUILD_DATE=
Last Pass
--------
new test scenario.
Workaround
--------
move prestaged ostree-repo from /opt/platform-
Changed in starlingx: | |
assignee: | nobody → Kyle MacLeod (kmacleod) |
importance: | Undecided → Medium |
tags: | added: stx.9.0 stx.distcloud stx.metal |
Fix proposed to branch: master /review. opendev. org/c/starlingx /metal/ +/898245
Review: https:/