ironic-python-agent/ironic_python_agent/extensions
Julia Kreger 99ca1086db Create fstab entry with appropriate label
Depending on the how the stars align with partition images
being written to a remote system, we *may* end up with
*either* a Partition UUID value, or a Partition's UUID value.

Which are distinctly different.

This is becasue the value, when collected as a result of writing
an image to disk *falls* back and passes the value to enable
partition discovery and matching.

Later on, when we realized we ought to create an fstab entry,
we blindly re-used the value thinking it was, indeed, always
a Partition's UUID and not the Partition UUID. Obviously,
the label type is quite explicit, either UUID or PARTUUID
respectively, when initial ramdisk utilities such as dracut
are searching and mounting filesystems.

Adds capability to identify the correct label to utilize
based upon the current state of the block devices on disk.

Granted, we are likely only exposed to this because of IO
race conditions under high concurrecy load operations.
Normally this would only be seen on test VMs, but
systems being backed by a Storage Area Network *can*
exibit the same IO race conditions as virtual machines.

Change-Id: I953c936cbf8fad889108cbf4e50b1a15f511b38c
Resolves: rhbz#2058717
Story: #2009881
Task: 44623
2022-03-10 07:04:01 -08:00
..
__init__.py Organize agent extensions 2014-04-14 15:09:12 -07:00
base.py Do not serialize command_params 2021-05-18 12:59:28 +02:00
clean.py Simplify error messages when running clean/deploy step 2021-11-09 13:58:44 +01:00
deploy.py Simplify error messages when running clean/deploy step 2021-11-09 13:58:44 +01:00
flow.py Update to hacking 0.12.0 and use new checks 2016-11-08 11:31:18 -08:00
image.py Create fstab entry with appropriate label 2022-03-10 07:04:01 -08:00
log.py Add a log extension 2016-06-28 17:02:11 +01:00
poll.py Adds poll mode deployment support 2020-06-21 16:44:00 +08:00
rescue.py Use crypt to generate salt 2020-03-19 15:16:00 +01:00
standby.py Instruct qemu-img to write image zeros to disk. 2021-12-08 15:56:05 +00:00