StarlingX Installation/Update/Patching/Backup/Restore
Go to file
David Sullivan 83f5487c27 Correct package selection during upgrade-start-pkg-extract
During upgrade-start we call upgrade-start-pkg-extract to extract the
kickstarts and pxeboot data from the N+1 load. This data is used to boot
controller-1 in duplex environments. As these packages can be patched we
need to select the latest version of the package.

Currently the dnf repoquery call returns every version of the rpm
queried. This results in the base version being used during the package
extraction. This commit updates the command to use --latest-limit=1.
The command is also updated to use --disablerepo=*. This will result in
the command being restricted to the specified N+1 repos. Without the
disablerepo option the N repo packages are included in the results.

This brings the call in line with the behavior of
utilities/utilities/platform-util/scripts/gen-bootloader-iso.sh

Testing:
AIO-DX upgrade with patched kickstart package

Closes-Bug: 1955410
Change-Id: Ia1cd778791b64133667327031305d0f1914aed2d
Signed-off-by: David Sullivan <david.sullivan@windriver.com>
2021-12-20 10:56:36 -06:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
cgcs-patch Correct package selection during upgrade-start-pkg-extract 2021-12-20 10:56:36 -06:00
devstack Subdirectories 'tsconfig ' relocated to repo 'stx-config' 2019-09-05 13:04:59 -04:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
enable-dev-patch Add Debian packaging for patch packages 2021-12-02 10:19:42 -06:00
extras/scripts Add setup_patch_repo.sh for patch-iso 2020-02-12 14:38:01 -05:00
patch-alarm Add Debian packaging for patch packages 2021-12-02 10:19:42 -06:00
patch-boot-args StarlingX open source release updates 2018-05-31 07:37:12 -07:00
patch-scripts add dcmanager-audit-worker to sample restart script 2021-03-04 19:01:05 -05:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:40:40 +02:00
.gitignore Adding unit tests to tsconfig and clean it up a bit 2019-03-04 19:16:05 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:36 +00:00
.zuul.yaml Removing py36 gates from zuul for update 2021-09-30 10:35:19 -03:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:37:12 -07:00
LICENSE StarlingX open source release updates 2018-05-31 07:37:12 -07:00
README.rst StarlingX open source release updates 2018-05-31 07:37:12 -07:00
bindep.txt Update bindep to pass zuul on ubuntu workers 2021-12-15 15:32:45 -05:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 12:56:44 +08:00
centos_dev_wheels.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
centos_iso_image.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
centos_pkg_dirs Add an example restart script for distributed cloud 2020-11-02 16:25:57 -06:00
centos_stable_wheels.inc Config file changes to remove 'tsconfig ' after relocation to 'stx-config' 2019-09-04 15:36:52 -04:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:12:40 -04:00
debian_iso_image.inc Add debian_iso_image.inc file 2021-10-27 02:37:57 -04:00
debian_pkg_dirs Add Debian packaging for patch packages 2021-12-02 10:19:42 -06:00
pylint.rc Enable Unused Variable 2019-07-19 10:28:00 -04:00
requirements.txt Add Zuul test foundation 2018-07-25 08:48:07 -05:00
test-requirements.txt Adding rpm-python to bindep to fix pylint 2021-12-15 09:13:13 -06:00
tox.ini Adding rpm-python to bindep to fix pylint 2021-12-15 09:13:13 -06:00

README.rst

stx-update

StarlingX Software Management