diff options
author | Julia Kreger <juliaashleykreger@gmail.com> | 2022-08-24 10:15:27 -0700 |
---|---|---|
committer | Julia Kreger <juliaashleykreger@gmail.com> | 2022-08-24 10:15:27 -0700 |
commit | f3e3de8097f05cc830768da7d3f3e9eae04b40a1 (patch) | |
tree | f6cc42efc976dd9e2abb4e7a817647a58ae6f1aa /releasenotes | |
parent | f89d54f4b89cdf3b5b079f6b48d26983f266b6a2 (diff) | |
download | ironic-python-agent-f3e3de8097f05cc830768da7d3f3e9eae04b40a1.tar.gz |
Fix software raid output poisoning
In the event a device name is set to contain a raid device path,
it is possible for the Name and Events field values of mdadm's
detailed output to contain text which inadvertently gets captured and
mapped as component data for the "holder" devices of the RAID set.
This would cause invalid values to get passed to UEFI methods
which would cause a deployment to fail under these circumstances.
We now ignore the Name and Events fields in mdadm output.
Change-Id: If721dfe1caa5915326482969e55fbf4697538231
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/fix-softraid-name-poisoning-4e934dd4e60830b1.yaml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/releasenotes/notes/fix-softraid-name-poisoning-4e934dd4e60830b1.yaml b/releasenotes/notes/fix-softraid-name-poisoning-4e934dd4e60830b1.yaml new file mode 100644 index 00000000..9b80e30c --- /dev/null +++ b/releasenotes/notes/fix-softraid-name-poisoning-4e934dd4e60830b1.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Fixes handling of Software RAID device discovery so RAID device ``Names`` + and ``Events`` field values do not inadvertently cause the command to + return unexpected output. Previously this could cause a deployment to + when handling UEFI partitions. |