StarlingX Bare Metal and Node Management, Hardware Maintenance
Go to file
Al Bailey 13cb098953 Generate the install_uuid only once during install
This code only affects Debian.

The post operations are run more than once while ostree
layers are installed.

instflux=0 - /var not on a dedicated fluxdata partition.
instflux=1 - /var is part of the two different sysroot
deployments.

As a result the platform.conf and install_uuid can end
up being different when we generate the uuid and update
the platform.conf for each post.

This will confuse the patching system which compares
both values.

This fix simply ensures that the generation only happens
once, by reusing the generated uuid.

Test Plan:
  Build / Install / Boot  Debian ISO.
  Verify the /etc/platform/platform.conf install_uuid
matches the install_uuid under the feeds directory.
  Reboot and select the grub 'rollback' menu item, and
verify those values still match.

Story: 2009969
Task: 45200
Signed-off-by: Al Bailey <al.bailey@windriver.com>
Change-Id: Ic65136caec008aaceafa18a12c2090ca9124efbf
2022-05-04 14:12:18 +00:00
api-ref/source Switch to newer openstackdocstheme and reno versions 2020-06-04 14:32:46 +02:00
bsp-files Support Redfish subcloud install with single packages fetch 2022-05-04 07:42:57 -04:00
devstack Security: Handle nospectre_v1 in the bootargs 2020-01-28 18:21:13 -05:00
doc Switch to newer openstackdocstheme and reno versions 2020-06-04 14:32:46 +02:00
installer debian: Fix debian system node grub menu syntax error 2022-04-04 13:05:02 +00:00
kickstart Generate the install_uuid only once during install 2022-05-04 14:12:18 +00:00
mtce Merge "Fix pmon scripts path (Debian)" 2022-03-17 23:32:09 +00:00
mtce-common Add Debian packaging for mtce packages 2021-10-29 09:17:00 -05:00
mtce-compute debian: Simplifying mtce-compute packaging 2022-03-10 19:39:04 +00:00
mtce-control debian: Simplify mtce-control packaging 2022-03-10 19:02:35 +00:00
mtce-storage debian: Simplify mtce-storage packaging 2022-03-10 18:52:52 +00:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-04 14:32:46 +02:00
tools/rvmc/centos Redfish Virtual Media Controller enhancements 2020-08-17 21:14:50 +00:00
.gitignore Update tox.ini files to use stein constraints 2019-06-25 13:20:35 -04:00
.gitreview OpenDev Migration Patch 2019-04-19 19:52:33 +00:00
.zuul.yaml Tox and Zuul job for the bandit code scan in starlingx/metal 2020-06-29 08:24:46 +00:00
centos_build_layer.cfg Build layering, add layer build config file 2019-10-15 19:19:45 +08:00
centos_iso_image.inc Remove unused inventory and python-inventoryclient 2020-01-08 14:12:05 -06:00
centos_pkg_dirs rvmc: remove un-used build data 2020-01-16 08:39:54 -08:00
centos_stable_docker_images.inc Utility to install a server via Redfish 2019-12-31 15:34:54 +00:00
CONTRIBUTORS.wrs StarlingX open source release updates 2018-05-31 07:36:43 -07:00
debian_build_layer.cfg Add debian_build_layer.cfg file 2021-10-05 14:08:23 -04:00
debian_pkg_dirs debian: Add Debian packaging for platform-kickstarts 2022-03-24 23:46:42 +00:00
LICENSE StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pylint.rc Add pylint py3 portability checks for the metal repo 2021-09-13 11:57:42 -03:00
README.rst Followup opendev cleanup and test jobs 2019-04-22 16:42:03 +00:00
test-requirements.txt Removed wait_for_worker_config_init in AIO systems 2021-07-08 18:48:28 -04:00
tox.ini Add pylint py3 portability checks for the metal repo 2021-09-13 11:57:42 -03:00

metal

StarlingX Bare Metal Management