commit b7644619d5ecdb8c23ec665e11312a667f5fea30
Author: Shrikumar Sharma <email address hidden>
Date: Sun Jun 12 19:10:41 2022 -0400
Copy package_checksums to <software_version>_packages_list.txt
The prestaging operation on the system controller requires the list
of packages and their checksums in a file named
"<software_version>_packages_list.txt", where <software_version> is
the version of the system controller (i.e. the new version which the
subclouds are being upgraded to).
Currently, the file is stored as package_checksums. This causes
the prestaging operation to fail.
This fix ensures that the list of packages and checksums is stored
correctly as <software_version>_packages_list.txt at
/usr/local/share/pkg-list when a subcloud is installed. The file
will then be available for future prestaging operations with the
right name.
Test Plan:
PASS: Verify that prestaging of packages for upgrade is successfully
executed.
PASS: Verify that the file is correctly stored as <software_version>_packages_list.txt at /usr/local/share/pkg-list when adding a subcloud.
PASS: Verify that package_checksums is copied to /usr/local/share/pkg-list as <software_version>_packages_list.txt
when upgrading the system controller to a higher version.
PASS: Verify that package_checksums is copied to /usr/local/share/pkg-list as <software_version>_packages_list.txt
when installing a controller over pxeboot
PASS: Verify that package_checksums is copied to /usr/local/share/pkg-list as <software_version>_packages_list.txt
when adding a subcloud from the system controller (using dcmanager
add)
PASS: Verify that package_checksums is copied to /usr/local/share/pkg-list as <software_version>_packages_list.txt
when installing a system controller in virtualbox from bootimage.iso.
Reviewed: https:/ /review. opendev. org/c/starlingx /distcloud/ +/845510 /opendev. org/starlingx/ distcloud/ commit/ b7644619d5ecdb8 c23ec665e11312a 667f5fea30
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit b7644619d5ecdb8 c23ec665e11312a 667f5fea30
Author: Shrikumar Sharma <email address hidden>
Date: Sun Jun 12 19:10:41 2022 -0400
Copy package_checksums to <software_ version> _packages_ list.txt
The prestaging operation on the system controller requires the list version> _packages_ list.txt" , where <software_version> is
of packages and their checksums in a file named
"<software_
the version of the system controller (i.e. the new version which the
subclouds are being upgraded to).
Currently, the file is stored as package_checksums. This causes
the prestaging operation to fail.
This fix ensures that the list of packages and checksums is stored version> _packages_ list.txt at local/share/ pkg-list when a subcloud is installed. The file
correctly as <software_
/usr/
will then be available for future prestaging operations with the
right name.
Test Plan:
PASS: Verify that prestaging of packages for upgrade is successfully
executed.
PASS: Verify that the file is correctly stored as
<software_ version> _packages_ list.txt at
/usr/ local/share/ pkg-list when adding a subcloud.
PASS: Verify that package_checksums is copied to
/usr/ local/share/ pkg-list as <software_ version> _packages_ list.txt
when upgrading the system controller to a higher version.
PASS: Verify that package_checksums is copied to
/usr/ local/share/ pkg-list as <software_ version> _packages_ list.txt
when installing a controller over pxeboot
PASS: Verify that package_checksums is copied to
/usr/ local/share/ pkg-list as <software_ version> _packages_ list.txt
when adding a subcloud from the system controller (using dcmanager
add)
PASS: Verify that package_checksums is copied to
/usr/ local/share/ pkg-list as <software_ version> _packages_ list.txt
bootimage. iso.
when installing a system controller in virtualbox from
Closes-Bug: 1978420 /review. opendev. org/c/starlingx /metal/ +/845509
Depends-On: https:/
Signed-off-by: Shrikumar Sharma <email address hidden> af767fa8b244be1 80fed70b9a7
Change-Id: I1018d79cb91cc3