metal/bsp-files
Kyle MacLeod 018d06ccec miniboot: Use release-specific prestage data, handle subcloud downgrade
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>
2023-05-18 13:46:30 -04:00
..
kickstarts miniboot: Use release-specific prestage data, handle subcloud downgrade 2023-05-18 13:46:30 -04:00
upgrades Copy patch metadata so to display patch info 2023-04-11 22:37:42 +00:00
centos-ks-gen.pl Prestaging package group and package filter 2022-04-21 18:46:41 -04:00
centos.syslinux.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
filter_out_from_controller sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00:00
filter_out_from_prestaging sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00:00
filter_out_from_smallsystem Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_smallsystem_lowlatency Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
filter_out_from_storage sysinv_fpga_agent merge with sysinv_agent 2022-10-03 18:45:03 +00:00
filter_out_from_worker Removing unused package python-ryu 2022-08-15 12:25:11 +00:00
filter_out_from_worker_lowlatency Removing unused package python-ryu 2022-08-15 12:25:11 +00:00
grub.cfg Drop clone.py references from boot menu comment blocks 2020-02-03 12:48:03 -05:00
pkg-list.pl StarlingX open source release updates 2018-05-31 07:36:43 -07:00
platform_comps.py Prestaging package group and package filter 2022-04-21 18:46:41 -04:00
pxeboot_grub.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00
pxeboot_setup.sh Update pxeboot_setup.sh to use stock grubx64.efi 2021-06-22 14:00:51 -04:00
pxeboot.cfg Remove Extended Security Profile selections 2019-08-19 10:53:34 -04:00