StarlingX Bare Metal and Node Management, Hardware Maintenance
018d06ccec
This commit handles the relocation of ostree_repo prestaging data from /opt/platform-backup to /opt/platform-backup/<release>. The miniboot.cfg kickstart now looks for prestaged data in the release-specific location. We also handle the backup partition name change across CentOS/Debian. In the case of a downgrade the CentOS miniboot kickstart code is updated to use the partition GUID rather than LABEL or PARTLABEL. The GUID is constant across all releases and is therefore a more reliable indicator of the backup partition. Tech debt: Fix the arbitrary wait sleep calls used when configuring VLAN addressing. Now uses the more efficient wait_for_interface approach for the VLAN links. Test Plan PASS: - Boot with prestaged data under /opt/platform-backup/<release>/ Ensure boot/install successfully uses prestaged data. - Boot into older release under prestaged /opt/platform-backup/21.12 - Test moving from 22.12 -> 21.12 and 21.12 -> 22.12 - Ensure backup partition is found using GUID approach. - Ensure boot/install successfully uses prestaged data. - Boot into both current and older release with no prestaged data - Test moving from 22.12 -> 21.12 and 21.12 -> 22.12 - Ensure boot/install is successful. - Boot subcloud with bootstrap_vlan, ensure that the wait_for_interface calls properly wait until the link is up. Story: 2010611 Task: 47943 Depends-On: https://review.opendev.org/c/starlingx/distcloud/+/880789 Change-Id: I381b60285e9bfc375f01f45b79174b71da7f0565 Signed-off-by: Kyle MacLeod <kyle.macleod@windriver.com> |
||
---|---|---|
api-ref/source | ||
bsp-files | ||
devstack | ||
doc | ||
installer | ||
kickstart | ||
mtce | ||
mtce-common | ||
mtce-compute | ||
mtce-control | ||
mtce-storage | ||
releasenotes | ||
tools | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
centos_build_layer.cfg | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_stable_docker_images.inc | ||
CONTRIBUTORS.wrs | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_docker_images.inc | ||
LICENSE | ||
pylint.rc | ||
README.rst | ||
test-requirements.txt | ||
tox.ini |
metal
StarlingX Bare Metal Management