Comment 3 for bug 1978420

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to metal (master)

Reviewed: https://review.opendev.org/c/starlingx/metal/+/845509
Committed: https://opendev.org/starlingx/metal/commit/f31cd0b255d805a50bde1cdfc8d3e27bd9132b9e
Submitter: "Zuul (22348)"
Branch: master

commit f31cd0b255d805a50bde1cdfc8d3e27bd9132b9e
Author: Shrikumar Sharma <email address hidden>
Date: Sun Jun 12 18:39:36 2022 -0400

    Copying the package_checksums file to
    <platform_release>_packages_list.txt

    The prestaging operation on the system controller requires the list
    of packages and their checksums in a file named
    "<platform_release>_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).

    The list of packages and their checksums is obtained from different
    sources as a file named "package_checksums". This file should be
    copied to /usr/local/share/pkg-list as
    <platform_release>_packages_list.txt. It is currently copied as
    package_checksums.

    This fix copies the file "package_checksums" to
    /usr/local/share/pkg-list as <platform_release>_packages_list.txt.

    Test Plan:

    PASS: Verify that package_checksums is copied to
          /usr/local/share/pkg-list as <platform_release>_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 <platform_release>_packages_list.txt
          when installing a controller over pxeboot

    PASS: Verify that package_checksums is copied to
          /usr/local/share/pkg-list as <platform_release>_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 <platform_release>_packages_list.txt
          when installing a system controller in virtualbox from
          bootimage.iso.

    Closes-Bug: 1978420
    Signed-off-by: Shrikumar Sharma <email address hidden>
    Change-Id: I6270a7c9169718b2096a83135eeadb634d37b76b