ironic-python-agent/ironic_python_agent/tests
Julia Kreger 6324b37b43 Fix NVMe Partition image on UEFI
The _manage_uefi code has a check where it attempts to just
identify the precise partition number of the device, in order
for configuration to be parsed and passed. However, the same code
did not handle the existence of a `p1` partition instead of just a
partition #1. This is because the device naming format is different
with NVMe and Software RAID.

Likely, this wasn't an issue with software raid due to how complex the
code interaction is, but the docs also indicate to use only whole disk
images in that case.

This patch was pulled down my one RH's professional services folks
who has confirmed it does indeed fix the issue at hand. This is noted
as a public comment on the Red Hat bugzilla.
https://bugzilla.redhat.com/show_bug.cgi?id=1954096

Story: 2008881
Task: 42426
Related: rhbz#1954096
Change-Id: Ie3bd49add9a57fabbcdcbae4b73309066b620d02
(cherry picked from commit fe825fa97e)
2021-05-26 18:04:37 +00:00
..
functional Agent token support 2020-03-12 10:35:17 -07:00
unit Fix NVMe Partition image on UEFI 2021-05-26 18:04:37 +00:00
__init__.py Adding oslotest to improve debugging 2014-04-03 14:02:53 -07:00