ironic-python-agent/ironic_python_agent/tests/unit
Iury Gregory Melo Ferreira 2de0143c03 Avoid grub2-install when on UEFI boot mode
This patch changes the workflow for whole disk images when using uefi.
If we can identify the bootloader and it's valid we can update using
efibootmgr since grub2-install have problems specially on secure boot
mode.
We also updated the regex to search for the uefi partition on the disk,
since in some cases the parted command output can be without the FS
for the partition with esp Flag.

Adds the efibootmgr and efivar to tinyipa (since ipa-builder is not
used in stable/train)

Change-Id: I7167e71e5d2352a045565289b200e5530d0ba11d
Story: #2006847
Task: #37435
(cherry picked from commit b6210be196)
2020-01-22 17:55:12 +01:00
..
extensions Avoid grub2-install when on UEFI boot mode 2020-01-22 17:55:12 +01:00
hardware_managers Replace assertEqual(True/False, expr) with assertTrue/assertFalse in tests 2018-09-18 16:14:20 +08:00
__init__.py Add base for IPA functional tests 2015-08-18 16:19:47 +00:00
base.py Fix issue with double mocking of utils.execute functions 2017-12-01 07:42:02 -08:00
test_agent.py Making ironic-python-agent able to stop with python 3.x 2019-02-04 09:55:08 +01:00
test_api.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_base.py Fix issue with double mocking of utils.execute functions 2017-12-01 07:42:02 -08:00
test_dmi_inspector.py Collect processor, memory and BIOS output of dmidecode - follow-up 2017-07-27 07:30:54 -07:00
test_encoding.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_errors.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_hardware.py Ironic python agent does not extract correct available memory 2019-04-16 15:44:56 +00:00
test_inspector.py Add secondary sorting by name when guessing root disk 2019-02-11 17:53:47 +01:00
test_ironic_api_client.py Include IPA Version during heartbeat 2017-12-07 12:16:06 +00:00
test_multi_hardware.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_multi_hardware_clean_steps.py Fix waiting for target disk to appear 2017-10-16 15:39:25 +02:00
test_netutils.py [LLDP] Skip NICs that say they are ready but are unreadable. 2017-11-28 17:25:43 +00:00
test_numa_inspector.py Have unit tests all derive from our base unit test class 2017-10-18 11:06:30 -07:00
test_utils.py Avoid grub2-install when on UEFI boot mode 2020-01-22 17:55:12 +01:00