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> |
||
---|---|---|
.. | ||
functions.sh | ||
post_common.cfg | ||
post_kernel_aio_and_worker.cfg | ||
post_kernel_controller.cfg | ||
post_kernel_storage.cfg | ||
post_lvm_no_pv_on_rootfs.cfg | ||
post_lvm_pv_on_rootfs.cfg | ||
post_miniboot_controller.cfg | ||
post_net_common.cfg | ||
post_net_controller.cfg | ||
post_platform_conf_aio_lowlatency.cfg | ||
post_platform_conf_aio.cfg | ||
post_platform_conf_controller.cfg | ||
post_platform_conf_storage.cfg | ||
post_platform_conf_worker_lowlatency.cfg | ||
post_platform_conf_worker.cfg | ||
post_prestaging.cfg | ||
post_pxeboot_controller.cfg | ||
post_system_aio.cfg | ||
post_usb_addon.cfg | ||
post_usb_controller.cfg | ||
post_yow_controller.cfg | ||
pre_common_head.cfg | ||
pre_disk_aio.cfg | ||
pre_disk_controller.cfg | ||
pre_disk_setup_common.cfg | ||
pre_disk_setup_tail.cfg | ||
pre_disk_storage.cfg | ||
pre_disk_worker.cfg | ||
pre_net_common.cfg | ||
pre_pkglist_lowlatency.cfg | ||
pre_pkglist_prestage.cfg | ||
pre_pkglist.cfg | ||
pre_prestaging_install_check.cfg |