metal/bsp-files/kickstarts
Shrikumar Sharma 06626151de Install package_checksums in /usr/local/share/pkg-list
In order to prepare shared software packages on the system
controller for subcloud prestaging, the file
"package-checksums" containing a list of packages and
their checksums, must be copied to /usr/local/share/pkg-list
and renamed as packages_list.

The prestaging process needs the package-and-checksum list
for the version of the load on the controller and the version
of the load on the subcloud.

This file needs to be copied over to /var/www/pages/feed/rel-<id>
on the controller so that the subclouds can download it.

This file can be obtained by downloading from the system
controller. If the system is being installed directly from
a boot iso, the appropriate kickstart is called to install
the file from the mounted bootimage.iso.

There are a few cases which determine how to get the file.

Cases:
1. Install load directly from bootimage.iso (both controller and
   subcloud) - copy from mounted iso to location. The iso
   may be present on a peripheral device like a CD/DVD.

2. Install load over lan - download the file from server and copy
   to locations (all controllers)

3. Version upgrade by importing a new load - copy the file
   to the appropriate location on the system controller.
   The subcloud will download the package_checksums belonging
   to the imported load as part of the upgrade process.

Test Plan:
PASS: Verify that the file is copied over to /usr/local/share/
      pkg-list and /var/www/feed/rel-<rel-id>/ when installing
      System Controller or subcloud from bootimage.iso

PASS: Verify that the file is copied to the locations when
      installing controller-1 via pxeboot

PASS: Verify that the file is copied to the locations when upgrading
      the System Controller (using load-import)

PASS: Verify that the file is copied when adding a subcloud with
      dcmanager subcloud add

Depends On: https://review.opendev.org/c/starlingx/distcloud/+/841828
Story: 2009799
Task: 45376

Change-Id: If14b197999f2ae03e15fdc08ec27511ca1d41767
Signed-off-by: Shrikumar Sharma <shrikumar.sharma@windriver.com>
2022-05-19 22:29:55 -04:00
..
functions.sh Support Redfish subcloud install with single packages fetch 2022-05-04 07:42:57 -04:00
post_common.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
post_kernel_aio_and_worker.cfg Engineer IRQ affinity to decouple applications from platform 2021-06-02 12:30:09 -04:00
post_kernel_controller.cfg Enable 'softdog.soft_panic' kernel config option 2020-10-18 16:39:30 +00:00
post_kernel_storage.cfg Enable 'softdog.soft_panic' kernel config option 2020-10-18 16:39:30 +00:00
post_lvm_no_pv_on_rootfs.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_lvm_pv_on_rootfs.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_miniboot_controller.cfg Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
post_net_common.cfg Convert BOOTIF MAC to NIC name 2020-04-03 09:56:41 -07:00
post_net_controller.cfg Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
post_platform_conf_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_aio_lowlatency.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_platform_conf_controller.cfg StarlingX open source release updates 2018-05-31 07:36:43 -07:00
post_platform_conf_storage.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_platform_conf_worker_lowlatency.cfg Configurable Host HTTP/HTTPS Port Binding 2019-02-06 16:04:07 -06:00
post_prestaging.cfg Handle prestage partition create and cleanup when needed 2021-11-12 13:59:04 -05:00
post_pxeboot_controller.cfg Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
post_system_aio.cfg Change compute node to worker node personality 2018-12-13 13:08:48 -05:00
post_usb_addon.cfg Drop copy of .cfg files from controller kickstarts 2020-04-27 22:50:10 -04:00
post_usb_controller.cfg Install package_checksums in /usr/local/share/pkg-list 2022-05-19 22:29:55 -04:00
post_yow_controller.cfg relocate /www to /var/www 2021-12-10 16:41:42 -05:00
pre_common_head.cfg Prestaging rootfs and bootfs customization with script provided 2022-04-25 21:34:04 +00:00
pre_disk_aio.cfg Merge "Handle prestage partition create and cleanup when needed" 2021-11-16 15:37:44 +00:00
pre_disk_controller.cfg Update platform-backup to use 30GB partition 2021-11-15 10:06:18 -06:00
pre_disk_setup_common.cfg Prestaging rootfs and bootfs customization with script provided 2022-04-25 21:34:04 +00:00
pre_disk_setup_tail.cfg Fix issues with controller node Anaconda hang 2020-07-30 14:20:33 +00:00
pre_disk_storage.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_disk_worker.cfg Harden kickstarts as udev behavior can lead to random failures 2020-07-28 16:14:28 +00:00
pre_net_common.cfg Add ntpd to installer, sync time from active controller during install 2018-06-27 15:48:41 -04:00
pre_pkglist.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_pkglist_lowlatency.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_pkglist_prestage.cfg Filter out kmod-bnxt_en{,-rt} as necessary 2022-03-16 12:13:28 -04:00
pre_prestaging_install_check.cfg Prestaging rootfs and bootfs customization with script provided 2022-04-25 21:34:04 +00:00