ironic-python-agent/ironic_python_agent
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
..
api Make WSGI server respect listen_* directives 2020-09-02 21:52:27 +00:00
cmd Agent token support 2020-03-12 10:35:17 -07:00
extensions Fix NVMe Partition image on UEFI 2021-05-26 18:04:37 +00:00
hardware_managers Fix: make Intel CNA hardware manager none generic 2020-09-23 15:00:32 +00:00
shell Clear GPT and MBR headers with dd to avoid sgdisk CRC errors 2018-08-08 16:40:22 +00:00
tests Fix NVMe Partition image on UEFI 2021-05-26 18:04:37 +00:00
__init__.py set EVENTLET_NO_GREENDNS to 'yes' 2020-08-01 08:37:48 +00:00
agent.py Prevent un-needed iscsi cleanup 2020-07-28 07:23:46 +00:00
config.py Option to enable bootloader config failure bypass 2021-03-23 15:14:17 +13:00
dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
encoding.py Fix serializing ironic-lib exceptions 2020-07-06 16:50:34 +00:00
errors.py Add an ability to run in-band deploy steps 2020-04-06 10:24:08 +02:00
hardware.py Software RAID: Get component devices by md UUID 2021-02-27 05:20:51 +00:00
inspect.py Add jitter to inspection command reporting 2020-03-31 08:13:13 -07:00
inspector.py Limit Inspection->Lookup->Heartbeat lag 2020-07-06 20:20:58 +02:00
ironic_api_client.py Fix TypeError on agent lookup failure 2020-08-07 22:29:49 +00:00
netutils.py Get the hostname of the introspected host 2019-06-12 13:00:21 +00:00
numa_inspector.py Skip nic numa_node discovery if it's not assigned to a numa_node 2020-01-17 11:15:35 +01:00
raid_utils.py Increase the ESP partition size to 550 MiB when using software RAID 2020-07-03 08:57:23 +00:00
utils.py Fix confusing logging when running asynchronous commands 2020-06-29 15:53:32 -07:00
version.py Add sphinx build + basic documentation 2015-03-31 16:22:12 -07:00