ironic-python-agent/ironic_python_agent/tests/unit
Arne Wiebalck 6e0d08c892 Software RAID: RAID the ESPs
For software RAID in UEFI mode, we create ESPs on all holder disks
and copy the bootloader there. Since there is no mechanism to keep
the ESPs in sync, e.g. on kernel upgrades or when kernel parameters
are updated, the ESPs will get out of sync eventually. This may lead
to a situation where a node boots with outdated parameters or does
not have any of the installed kernels in the boot menu anymore.
This change proposes to RAID the ESPs. While the UEFI firmware will
find an ESP partition (one leg of the mirror), the node will see
an md device and all subsequent updates will go to all member disks.

Also, remove the source ESP after copying in order to avoid mount
confusion (same UUID!).

Story: #2008745
Task: #42103
Change-Id: I9078ef37f1e94382c645ae98ce724ac9ed87c287
(cherry picked from commit c2d04dc156)
2021-05-11 13:56:25 +02:00
..
extensions Software RAID: RAID the ESPs 2021-05-11 13:56:25 +02:00
hardware_managers Fix: make Intel CNA hardware manager none generic 2020-09-23 18:24:26 +08:00
__init__.py Add base for IPA functional tests 2015-08-18 16:19:47 +00:00
base.py Limit Inspection->Lookup->Heartbeat lag 2020-07-03 10:32:26 +02:00
dmi_inspector_data.py Fix pep8 errors 2020-05-12 10:57:23 +02:00
test_agent.py Merge "Simplify heartbeating by removing use of select()" 2020-09-29 15:47:08 +00:00
test_api.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_base.py Fix pep8 errors 2020-05-12 10:57:23 +02:00
test_dmi_inspector.py Fix pep8 errors 2020-05-12 10:57:23 +02:00
test_encoding.py Fix serializing ironic-lib exceptions 2020-07-02 12:18:53 +02:00
test_errors.py Prevent tests' unmocked access to utils.execute() 2017-05-15 10:48:43 +10:00
test_hardware.py Do not fail network interface collection on unsupported interface 2021-04-22 16:41:38 +00:00
test_inspector.py Enable the logs collection by default 2020-08-19 17:25:24 +02:00
test_ironic_api_client.py Correctly decode error messages from ironic API 2020-12-16 14:38:53 +00:00
test_multi_hardware.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_multi_hardware_clean_steps.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_netutils.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_numa_inspector.py Use unittest mock from standard library 2020-04-06 14:35:50 +02:00
test_tls_utils.py Generate TLS certificates with validity time in the past 2020-12-16 10:19:25 +00:00
test_utils.py A boot partition on a GPT disk should be considered an EFI partition 2020-04-15 18:38:15 +02:00