ironic-python-agent 9.4.0__tar.gz → 9.4.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ChangeLog +12 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/PKG-INFO +1 -1
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/config.py +5 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/efi_utils.py +11 -4
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/standby.py +44 -11
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/ironic_api_client.py +25 -2
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/partition_utils.py +95 -3
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/raid_utils.py +68 -44
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_image.py +25 -20
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_standby.py +53 -2
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/samples/hardware_samples.py +30 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_efi_utils.py +46 -39
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_ironic_api_client.py +27 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_partition_utils.py +228 -1
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_raid_utils.py +23 -3
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/PKG-INFO +1 -1
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/SOURCES.txt +6 -0
- ironic-python-agent-9.4.1/ironic_python_agent.egg-info/pbr.json +1 -0
- ironic-python-agent-9.4.1/releasenotes/notes/4k-block-size-config-drives-4470828dd06d2600.yaml +12 -0
- ironic-python-agent-9.4.1/releasenotes/notes/checksum-before-considering-download-completed-91cca9fef34d8cf5.yaml +11 -0
- ironic-python-agent-9.4.1/releasenotes/notes/fixes-efibootmgr-character-encoding-19e531ba694824c1.yaml +9 -0
- ironic-python-agent-9.4.1/releasenotes/notes/log-download-size-57982fa8df336520.yaml +5 -0
- ironic-python-agent-9.4.1/releasenotes/notes/rebuild_on_esp_raid-33f359bdf5ccaa09.yaml +5 -0
- ironic-python-agent-9.4.1/releasenotes/notes/understand-node-conflict-is-locked-2ea21dd45abfe4f7.yaml +13 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tox.ini +4 -4
- ironic-python-agent-9.4.0/ironic_python_agent.egg-info/pbr.json +0 -1
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/.stestr.conf +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/AUTHORS +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/CONTRIBUTING.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/LICENSE +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/README.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/bindep.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/requirements.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/admin/hardware_managers.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/admin/how_it_works.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/admin/index.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/admin/rescue.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/admin/troubleshooting.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/conf.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/contributor/hardware_managers.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/contributor/index.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/contributor/metrics.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/contributor/rescue.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/index.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/doc/source/install/index.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/README.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/business-logic/example_business_logic.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/business-logic/setup.cfg +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/business-logic/setup.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/custom-disk-erase/example_disk_eraser.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/custom-disk-erase/setup.cfg +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/custom-disk-erase/setup.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/vendor-device/example_device.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/vendor-device/setup.cfg +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/examples/vendor-device/setup.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/imagebuild/README.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/agent.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/api/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/api/app.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/burnin.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/cmd/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/cmd/agent.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/cmd/inspect.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/dmi_inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/encoding.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/errors.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/base.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/clean.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/deploy.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/flow.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/image.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/log.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/poll.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/rescue.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/hardware.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/hardware_managers/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/hardware_managers/cna.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/hardware_managers/mlnx.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/hardware_managers/nvidia/nvidia_fw_update.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/inject_files.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/inspect.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/netutils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/numa_inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/functional/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/functional/base.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/functional/test_commands.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/base.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/dmi_inspector_data.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_base.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_clean.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_deploy.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_flow.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_log.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_poll.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/extensions/test_rescue.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/hardware_managers/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/hardware_managers/nvidia/__init__.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/hardware_managers/nvidia/test_nvidia_fw_update.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/hardware_managers/test_cna.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/hardware_managers/test_mlnx.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_agent.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_api.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_base.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_burnin.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_dmi_inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_encoding.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_errors.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_hardware.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_inject_files.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_multi_hardware.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_multi_hardware_clean_steps.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_netutils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_numa_inspector.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_tls_utils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tests/unit/test_utils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/tls_utils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/utils.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/version.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/dependency_links.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/entry_points.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/not-zip-safe +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/requires.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent.egg-info/top_level.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/plugin-requirements.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/config.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/.placeholder +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/Collect_NIC_name_given_by_BIOS-657c68c0ae16365b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/LLDP-ignore-NICs-that-are-not-plugged-in-29213f0a701a72e4.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ability-to-disable-secure-erase-c3223262726d5aff.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-block-device-uuid-c8b38264e1688110.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-coreos-dhcp-rescue-support-1dd8e9d5ac9c7594.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-disk-wait-config-opts-fe805292baca8029.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-erase-devices-express-1df107c75f2b3627.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-hostname-8bbf24712b6a4919.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-inspection-retry-1d385f69607c1452.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-log-extension-35ca22cc0709af4c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-more-lan-channels-8f5197ed5f057c25.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-named-logfiles-to-burnin-4388309bf7442d53.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-numa-topology-info-8c253fd9e56169f1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-optional-tls-support-3ab6a834154fedec.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-pci-devices-info-3f86934a505d1b31.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-portal-port-arg-6d4faec2f709c8e9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-secondary-sorting-by-name-for-root-disks-4de2c0358b9a1e2c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-smart-test-to-disk-burnin-d02d31e23e5efa9a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-unit-test-cc4a1a05859ad17d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-vendor-info-56be9a8605d80bf0.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add-vlan-interfaces-cdfeb39d0f3d444d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_burnin_cpu-9acbb36048246a6b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_burnin_disk-12adb5735a41af47.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_burnin_dynamic_network_pairing-33e398255050eb98.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_burnin_memory-4099ca42bd3b99db.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_burnin_network-4856153d21c25f4a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_erase_pstore-b109c58ed8f5d351.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_interface_vendor_and_product-74e9815f20ee0cac.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/add_mellanox_hardware_manager-edfae87964737df1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/additional-wwn-hints-ffd02ceafcb3dc70.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/adds-nvme-secure-erase-0ecfd624e5f50581.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/adds-smartctl-ata-check-to-secure-erase-caebba4f25821575.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/advertise-address-c3b152fe475fb539.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/advertise-protocol-110ae1587f727e62.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/agent-fully-retries-image-downloads-67409a493c6d08ae.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/agent-token-support-1086218cf2a0c917.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/agent_partition_image-91941adc6683c673.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/allows-bootloader-install-failure-to-be-ignored-b99667b13afa9759.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/append-efi-partition-to-fstab-e9f945a4dd19bd7a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/apply-raid-aeca7848c6320d6b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ataraid_does_not_appear_as_disk-8a260e66b3496bf6.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/attempts-ata-disk-unlock-897d76c494ec2976.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/auto-tls-b52b873663f35618.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/avoid-grub2-using-efibootmgr-bd27c0978d1cf71b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/bindmount-run-4c6a31d3ee4e0ed6.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/block-device-hctl-e81573812be3d469.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/bmc-mac-introspection-e4c2e203d8529710.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/boot-info-f18336ada089f6dd.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/bootloader-ignored-uefi-mode-8578a009d5b5be62.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/bug-2010123-d4c38d8f6606d0e0.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/build-tinyipa-with-python3-d4a64aa18f970968.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/build-tinyipa-with-tinycore8-b39d0415b1c25f6b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/bumpsipalookupattempts-29de7c949aaf6556.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/capture-early-logging-0f3fa58d75656117.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/change-heartbeat-method-d0119406137022e3.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/check-if-ESP-is-mounted-f9e0eff3609c2668.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/check-partition-table-after-writing-34efbd557d8de7cb.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/check-virtual-media-devices-a9b1f54c3fe7884d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/clarify-heartbeat-connection-errors-2af152bf2d7928e2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/clock-skew-1fbf542b193cec17.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/coalesce_heartbeats-fb8899a5f9fe4709.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/collect-dmi-output-f2e9feabef16bacf.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/collect-manager-a80bcf370048eeec.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/collect-more-8bc9ad4c63e873e1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/collect-udev-f6ada5163cf4a26c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/command_params-869fa547b5be2236.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/configdrive-dup-3fc46a878fe82485.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/configdrive-partuuid-3259cfb7428c1483.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/configdrive-ssl-02b069948dfef814.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/container-poweroff-d9ffb637cf1cee6c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/coreos-uses-chroot-8a01ba0b38a4a4f4.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/coreos_ipa_image_poweroff_reboot_in_chroot_by_sysrq-42447fc4cdd7dafe.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/correct-uefi-regex-112211c2427cd4d9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/correction-failure-output-when-downloading-image-39f93838d1ed2928.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/cpu-flags-e3cec7e5cba069ef.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/create_raids_with_volume_name-93e0bb59ef210fe4.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/de-duplicate-by-label-baa090c5b1bff992.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/deprecate-coreos-8b01bcf796c0dc54.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/detect-endianness-f53a6c4571aba3fe.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/device-hints-from-node-object-9a689f5a4175a1a6.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/discover-ipv6-bmc-address-b3b357ff6c5d822c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/disk-label-fix-536897e41a4d817f.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/disk-wait-2e0e85e0947f80e9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/drop-python2-2006fd8a4a6de56d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/efi-partuuid-5fe933a462eeede1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/enable-cleaning-fallback-57e8c9aa2f24e63d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/enable-skipping-disks-0c4c8b72231715a1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/enable-skipping-raids-40263cc3a19cfd27.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/enhance-checksum-2256ffdcce13836e.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/erase-deploy-step-3e952fa863bca908.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/erase-device-metadata-clean-step-31b4a615c0ff7f18.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/erase_metadata_from_partitions-4f1902533d530b8f.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/executes-gpt-partition-fix-b6156cc16da00dfc.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/extend-pci-metric-5482284d6a9fe765.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/extend-retry-timeout-30c930a33d97c193.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fail_ipa_start_if_ironic_api_invalid-7b78fcaba2141cc5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fallback-to-findfs-59abde55221e1e84.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fasttrack-stale-cache-fd93b56a955c7ab1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/feature-2010228-cf3a59b88f07c3a7.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/findbonds-733c7c91a5665b05.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-agent-determination-of-partition-table-type-3c78bf78266e8cef.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-agent-unable-to-stop-py3-6c210793476968d1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-auxillarly-node-lookup-argument-83d3f717c039e454.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-bmc-ip-detection-for-coreos-483be0286593e393.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-boot-mode-for-partition-images-f96cf2b3c27b6533.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-bootloader-install-with-mdraid-0a254035df9d0bed.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-bytes-json-serializable-collected-logs-ad61022b287dc3e2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-clean-config-for-full-device-28ee09b58d97d122.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-cleaning-read-only-device-c8a0f4cc2f434d99.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-coreos-modprobe-75bda45c7bbeb469.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-hardcoded-path-to-grub-7006f29a9ef72e75.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-high-cpu-usage-eventlet-1dccf3b81dd42c47.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-iscsi-teardown-handling-0df2345318d3c843.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-local-boot-for-partition-images-755f570dc0982868.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-mlnx-hardware-mgr-never-run-72072580be4d6e7a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-nic-without-numa-node-b401f97c46afa4a1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-nvme-partition-image-handling-b8487133a188fd32.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-nvme-software-raid-race-2e0e104de9611228.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-physical-memory-arm64-957755f6cd91ad85.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-rescan-device-7b00c6836b687ce8.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-rescan-device-raid-29aa1558b036b496.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-softraid-name-poisoning-4e934dd4e60830b1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-to-pass-root-uuid-for-whole-disk-image-1c13b70f6b74bce0.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-uefi-boot-entry-creation-for-aarch64-2b143c5bf189c2f6.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix-vfd-mount-for-capitalized-device-name-db7f519e900f4e22.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix_chronyd_time_sync-626a14b66ca37677.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix_efi_uuid_fstab-f2edbee9bfbac64a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fix_partition_cleanup-46491861c930db12.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fixes-agent-lookup-retries-1b4bb90b8e783aca.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fixes-centos-fedora-grub2-mkconfig-hang-fe22cde231994044.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/fixes-error-handling-of-efibootmgr-not-present-in-ramdisk-f11b4241edcf0e81.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/get-holder-disks-with-nvme-7d5fa75df2fd5904.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/get-physical-memory-535a32362bcdf83a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/get_md_components_by_uuid-7f08d423ea9e7c94.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/handle-configdrive-large-disks-3517e9fcf16c7f39.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/handle-fd0-devices-3d1f31c3b34819e8.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/handle-partuuid-for-fstab-e0aadea20a056982.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/handle-ssl-063a91fb7bdcf9b9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ignore-grub-efi-fail-dcf7eb07f61f4388.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/image-checksum-39b2ceef40933c28.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/image-download-retries-65ac31fe4328e438.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/improve-tgtd-status-d17173dc8f67959f.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inject-files-b411369ce6856dac.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inspect-to-clean-b3616d843775c187.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inspection-to-report-disk-by-path-e3fd4c331d200903.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inspection-wait-for-ips-223e39b65fef31bd.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inspection-wait-for-ips-v2-146016f758d7010c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inspector-logs-9b7c010c219691d2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/instance-info-root-device-02fed0966bb00fb3.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/inventory-conf-29b59ebe97aefbde.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ip6-addresses-1c2b9bcd9a124de7.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ipa-debug-68c86101b1fdc3d9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ipmi-address-channel-b6b8010c41d05c1b.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ipmi-cleanup-a4454f6851d81c4d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ipv6-listen-85d40e58156e398f.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ipv6-provision-42e9000f6f6a7a3a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/ironic-error-97e76d9ddacff039.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/iscsi-detection-on-diskless-hw-f27dcce3aaa35ac2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/jitter-for-inspection-command-5a226927757a0308.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/let_crypt_generate_the_salt-99876591325275a1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lib-exc-41ee122eb4a04bc4.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/limit-qemu-img-malloc-arena-025ed84115481eae.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/limit-qemu-img-ram-usage-d7b7a16ac5e9c917.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lldp-error-handling-5b6576b378ef9c3a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lldp-loop-fdfa584caf33d847.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/log-file-7aaaf31693ddc617.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/logs-collector-non-ascii-010339bf256443c8.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lsblk-all-956c1df808a169bf.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lshw-cb89894be057bdc9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lshw-for-memory-and-system-info-35c69da067c72b36.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/lshw-no-memory-bank-size-05ea71987362986e.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/manual-introspection-b04b5c25f5e004ac.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/manually-configure-ironic-api-version-517afd0a423036ad.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/md-restart-9e0d47863a086792.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/mdadm-d5b8c186182620b1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/mdns-e020484e64d76edb.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/min-ironic-ocata-dff80e567783e87c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/move_swraid_to_efibootmgr-d87c1bfde1661fb5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/multipath-handling-00a5b412d2cf2e4e.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/multipath-serial-615fc925984abbf7.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/multiple-lan-channels-ee32d80150f990bf.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/name-root-device-hints-0cfc8c90d03c8bf0.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/new-agent-api-afbe7391493749be.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/new-sync-command-6f5fa55df2fd5903.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-bash-for-grub-c38369af8cc7cf26.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-coreos-3345cc69009dead9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-iscsi-fd21808edbea5ac2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-link-local-2e861978c5c7bf30.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-mac-54616606ee6b844d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-netboot-d034bb1d1d9166c5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-sample-ac11bd0fa27af62a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-standalone-bb34eae2cc468837.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/no-zram-78cc6583f4f90a9c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/old-inspector-data-5e63c9bce72b4fb5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/oslo-config-generator-b0f70b9fb7e23997.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/parallel-erase-disk-devices-09ea33d5443aead0.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/partition_check_read_only_base_device-5bc15ac2f034aca9.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/permit-pre-hashed-rescue-passwords-4275f6e697533cec.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/pint-0.5-816aaf3a4f6d4a6e.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/poll-mode-063bd36b2b18bffb.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/prefix-lldp-timeout-50acc656313d8dd2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/prepare-image-49744276cef719d5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/preserve-efi-folder-contents-ea1e278b3093ec55.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/prevent-deletion-of-shared-disk-filesystems-4c17c7666d2fe3bc.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/prevent-needless-iscsi-cleanup-f8d602c0abc7e8ba.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/prioritize-lsblk-device-serials-8cae406ca5164a01.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/qemu-img-ooo-write-721b8a0057ab7b8a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/qemu-write-zeros-2edbf3152c57e2b6.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/raid-esp-size-2c322adb2d3b9ce7.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/raid-hints-604f9ffdd86432eb.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/raid5-6-support-0807597c3633a26c.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/readd_missing_devs-2ed85805388b6e42.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/relax-checksum-feeding-11044ae02b411a07.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/remove-lldp-timeout-ea481dbb01a39522.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/remove-switch_port_descr-switch_chassis_descr-40f2bb37b5f1fdd1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/remove-sysrq-2c2804930180f408.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/remove-vendor-passthru-eda3519c322eb4e2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/rescan-before-checking-uefi-64597c937880134d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/rescan-device-after-mkfs-3f9d52a2e3b6fff3.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/rescue-dhcp_network-for-tinyipa-a14de5fae38a5dce.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/respect-listen-directives-94fb863c5b692c07.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/rework-ata-secure-erase-c6684962ef078281.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/root-device-hints-rotational-67e6e61074c26561.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/set-clock-prior-to-poweroff-af6ec210aad8b45a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/skip-lookup-and-heartbeat-if-apiurl-not-configured-5ae8b04ae1e74673.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/skips-bootloader-install-35c463195aa61800.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/sleep-ebe58fbe07d30219.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/softraid-bootable-with-uefi-aa22e6cbaf1ea747.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/softraid-creation-on-nvme-a2fd4c531d200904.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/softraid-partitioning-refactor-104b817c3bdc73e3.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/softraid-zap-superblocks-anywhere.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/software-raid-4a88e6c5af9ea742.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/software-raid-raid-ESPs-25a2aa117b99620a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/software-raid-use-label-as-rootfs-uuid-d9a3827180f1a238.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/software_raid_use_rootfs_uuid-9149cc0c8638d5d5.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/start_passing_agent_version_to_ironic-6fa8670ae0e7eb38.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/stream-raw-images-d2e245aaed991d86.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/streaming-partition-images-cdeb260ef8f90012.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/streaming-uuid-fdf136a7745fbb3d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-bootloader-csv-file-use-c815b520c600cd98.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-collecting-ipv6-address-dd819d543f851a63.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-image-proxy-e2987a6589375451.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-linux-io-6bbd7ff1f0d70a0e.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-lldp-in-inventory-4ab6e45ccd35dace.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/support-prep-partitions-5e273572ab7ce018.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/suse-tinyipa-support-20acecd6d7b20952.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/sw-raid-assemble-9c20fe967f73d1dd.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/timeout_on_file_download-ed77918318316075.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/tinycore-ipv6-1b620c61402b5720.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/tinyipa-python3-default-b8434793e17465db.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/tinyipa-rescue-dhcp-multi-tenant-b32bda7bf2b12679.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/tinyipa-ssh-e8a3a01a3f3ff5f4.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/udev-settle-f75db34db990ad68.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/udevadm-settle-9d3e5f1f20211857.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/uefi-esp-660fc2c650e6af92.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/uefi-fallback-266c647f6aff58fd.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/uefi-images-38c8536db189ffc1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/up-qemuimg-mem-1536183a02b3a235.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/use-latest-coreos-87f826d26b46548d.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/use-system-random-00b0721c8ebd0c5a.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/vmedia-copy-6a58f3183b166c42.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/wait-for-interfaces-before-lookup-9bf38852b2f176a1.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/wait-root-device-504b517c3aec73e2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/whole-disk-grub-0b1b8b9c44e31d28.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/notes/zero-size-78d3be2ac8fd59c2.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/_static/.placeholder +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/_templates/.placeholder +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/conf.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/index.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/liberty.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/mitaka.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/newton.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/ocata.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/pike.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/queens.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/rocky.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/stein.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/train.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/unreleased.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/ussuri.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/victoria.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/wallaby.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/xena.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/yoga.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/releasenotes/source/zed.rst +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/requirements.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/setup.cfg +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/setup.py +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/test-requirements.txt +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tools/bandit.yml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tools/config/check_uptodate.sh +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tools/config/ipa-config-generator.conf +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tools/run_bashate.sh +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/tools/with_venv.sh +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/zuul.d/ironic-python-agent-jobs.yaml +0 -0
- {ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/zuul.d/project.yaml +0 -0
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
CHANGES
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
+
9.4.1
|
|
5
|
+
-----
|
|
6
|
+
|
|
7
|
+
* Conditional creation of RAIDed ESP for UEFI Software RAID
|
|
8
|
+
* Retry on checksum failures
|
|
9
|
+
* preserve/handle config drives on 4k block devices
|
|
10
|
+
* Handle the node being locked
|
|
11
|
+
* Log the number of bytes downloaded
|
|
12
|
+
* Fix UTF-16 result handling for efibootmgr
|
|
13
|
+
* Update TOX\_CONSTRAINTS\_FILE for stable/2023.1
|
|
14
|
+
* Update .gitreview for stable/2023.1
|
|
15
|
+
|
|
4
16
|
9.4.0
|
|
5
17
|
-----
|
|
6
18
|
|
|
@@ -326,6 +326,11 @@ cli_opts = [
|
|
|
326
326
|
'cleaning from inadvertently destroying a running '
|
|
327
327
|
'cluster which may be visible over a storage fabric '
|
|
328
328
|
'such as FibreChannel.'),
|
|
329
|
+
cfg.BoolOpt('config_drive_rebuild',
|
|
330
|
+
default=False,
|
|
331
|
+
help='If the agent should rebuild the configuration drive '
|
|
332
|
+
'using a local filesystem, instead of letting Ironic '
|
|
333
|
+
'determine if this action is necessary.'),
|
|
329
334
|
]
|
|
330
335
|
|
|
331
336
|
CONF.register_cli_opts(cli_opts)
|
|
@@ -275,8 +275,15 @@ def get_boot_records():
|
|
|
275
275
|
|
|
276
276
|
:return: an iterator yielding pairs (boot number, boot record).
|
|
277
277
|
"""
|
|
278
|
-
|
|
279
|
-
|
|
278
|
+
# Invokes binary=True so we get a bytestream back.
|
|
279
|
+
efi_output = utils.execute('efibootmgr', '-v', binary=True)
|
|
280
|
+
# Bytes must be decoded before regex can be run and
|
|
281
|
+
# matching to work as intended.
|
|
282
|
+
# Also ignore errors on decoding, as we can basically get
|
|
283
|
+
# garbage out of the nvram record, this way we don't fail
|
|
284
|
+
# hard on unrelated records.
|
|
285
|
+
cmd_output = efi_output[0].decode('utf-16', errors='ignore')
|
|
286
|
+
for line in cmd_output.split('\n'):
|
|
280
287
|
match = _ENTRY_LABEL.match(line)
|
|
281
288
|
if match is not None:
|
|
282
289
|
yield (match[1], match[2])
|
|
@@ -293,7 +300,7 @@ def add_boot_record(device, efi_partition, loader, label):
|
|
|
293
300
|
# https://linux.die.net/man/8/efibootmgr
|
|
294
301
|
utils.execute('efibootmgr', '-v', '-c', '-d', device,
|
|
295
302
|
'-p', str(efi_partition), '-w', '-L', label,
|
|
296
|
-
'-l', loader)
|
|
303
|
+
'-l', loader, binary=True)
|
|
297
304
|
|
|
298
305
|
|
|
299
306
|
def remove_boot_record(boot_num):
|
|
@@ -301,7 +308,7 @@ def remove_boot_record(boot_num):
|
|
|
301
308
|
|
|
302
309
|
:param boot_num: the number of the boot record
|
|
303
310
|
"""
|
|
304
|
-
utils.execute('efibootmgr', '-b', boot_num, '-B')
|
|
311
|
+
utils.execute('efibootmgr', '-b', boot_num, '-B', binary=True)
|
|
305
312
|
|
|
306
313
|
|
|
307
314
|
def _run_efibootmgr(valid_efi_bootloaders, device, efi_partition,
|
{ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/extensions/standby.py
RENAMED
|
@@ -82,8 +82,8 @@ def _download_with_proxy(image_info, url, image_id):
|
|
|
82
82
|
timeout=CONF.image_download_connection_timeout)
|
|
83
83
|
if resp.status_code != 200:
|
|
84
84
|
msg = ('Received status code {} from {}, expected 200. '
|
|
85
|
-
'Response body: {}').format(
|
|
86
|
-
|
|
85
|
+
'Response body: {} Response headers: {}').format(
|
|
86
|
+
resp.status_code, url, resp.text, resp.headers)
|
|
87
87
|
raise errors.ImageDownloadError(image_id, msg)
|
|
88
88
|
except (errors.ImageDownloadError, requests.RequestException) as e:
|
|
89
89
|
if (attempt == CONF.image_download_connection_retries
|
|
@@ -292,6 +292,8 @@ class ImageDownload(object):
|
|
|
292
292
|
self._time = time_obj or time.time()
|
|
293
293
|
self._image_info = image_info
|
|
294
294
|
self._request = None
|
|
295
|
+
self._bytes_transferred = 0
|
|
296
|
+
self._expected_size = None
|
|
295
297
|
|
|
296
298
|
# Determine the hash algorithm and value will be used for calculation
|
|
297
299
|
# and verification, fallback to md5 if algorithm is not set or not
|
|
@@ -331,6 +333,8 @@ class ImageDownload(object):
|
|
|
331
333
|
LOG.info("Attempting to download image from %s", url)
|
|
332
334
|
self._request = _download_with_proxy(image_info, url,
|
|
333
335
|
image_info['id'])
|
|
336
|
+
self._expected_size = self._request.headers.get(
|
|
337
|
+
'Content-Length')
|
|
334
338
|
except errors.ImageDownloadError as e:
|
|
335
339
|
failtime = time.time() - self._time
|
|
336
340
|
log_msg = ('URL: {}; time: {} '
|
|
@@ -363,7 +367,13 @@ class ImageDownload(object):
|
|
|
363
367
|
# this code.
|
|
364
368
|
if chunk:
|
|
365
369
|
self._last_chunk_time = time.time()
|
|
366
|
-
|
|
370
|
+
if isinstance(chunk, str):
|
|
371
|
+
encoded_data = chunk.encode()
|
|
372
|
+
self._hash_algo.update(encoded_data)
|
|
373
|
+
self._bytes_transferred += len(encoded_data)
|
|
374
|
+
else:
|
|
375
|
+
self._hash_algo.update(chunk)
|
|
376
|
+
self._bytes_transferred += len(chunk)
|
|
367
377
|
yield chunk
|
|
368
378
|
elif (time.time() - self._last_chunk_time
|
|
369
379
|
> CONF.image_download_connection_timeout):
|
|
@@ -400,6 +410,18 @@ class ImageDownload(object):
|
|
|
400
410
|
self._expected_hash_value,
|
|
401
411
|
checksum)
|
|
402
412
|
|
|
413
|
+
@property
|
|
414
|
+
def bytes_transferred(self):
|
|
415
|
+
"""Property value to return the number of bytes transferred."""
|
|
416
|
+
return self._bytes_transferred
|
|
417
|
+
|
|
418
|
+
@property
|
|
419
|
+
def content_length(self):
|
|
420
|
+
"""Property value to return the server indicated length."""
|
|
421
|
+
# If none, there is nothing we can do, the server didn't have
|
|
422
|
+
# a response.
|
|
423
|
+
return self._expected_size
|
|
424
|
+
|
|
403
425
|
|
|
404
426
|
def _download_image(image_info):
|
|
405
427
|
"""Downloads the specified image to the local file system.
|
|
@@ -423,7 +445,9 @@ def _download_image(image_info):
|
|
|
423
445
|
msg = 'Unable to write image to {}. Error: {}'.format(
|
|
424
446
|
image_location, str(e))
|
|
425
447
|
raise errors.ImageDownloadError(image_info['id'], msg)
|
|
426
|
-
|
|
448
|
+
image_download.verify_image(image_location)
|
|
449
|
+
except (errors.ImageDownloadError,
|
|
450
|
+
errors.ImageChecksumError) as e:
|
|
427
451
|
if attempt == CONF.image_download_connection_retries:
|
|
428
452
|
raise
|
|
429
453
|
else:
|
|
@@ -438,10 +462,12 @@ def _download_image(image_info):
|
|
|
438
462
|
|
|
439
463
|
totaltime = time.time() - starttime
|
|
440
464
|
LOG.info("Image downloaded from %(image_location)s "
|
|
441
|
-
"in %(totaltime)s seconds"
|
|
465
|
+
"in %(totaltime)s seconds. Transferred %(size)s bytes. "
|
|
466
|
+
"Server originaly reported: %(reported)s.",
|
|
442
467
|
{'image_location': image_location,
|
|
443
|
-
'totaltime': totaltime
|
|
444
|
-
|
|
468
|
+
'totaltime': totaltime,
|
|
469
|
+
'size': image_download.bytes_transferred,
|
|
470
|
+
'reported': image_download.content_length})
|
|
445
471
|
|
|
446
472
|
|
|
447
473
|
def _validate_image_info(ext, image_info=None, **kwargs):
|
|
@@ -588,7 +614,12 @@ class StandbyExtension(base.BaseAgentExtension):
|
|
|
588
614
|
msg = ('Unable to write image to device {}. '
|
|
589
615
|
'Error: {}').format(device, str(e))
|
|
590
616
|
raise errors.ImageDownloadError(image_info['id'], msg)
|
|
591
|
-
|
|
617
|
+
# Verify the checksum of the streamed image is correct while
|
|
618
|
+
# still in the retry loop, so we can retry should a checksum
|
|
619
|
+
# failure be detected.
|
|
620
|
+
image_download.verify_image(device)
|
|
621
|
+
except (errors.ImageDownloadError,
|
|
622
|
+
errors.ImageChecksumError) as e:
|
|
592
623
|
if attempt == CONF.image_download_connection_retries:
|
|
593
624
|
raise
|
|
594
625
|
else:
|
|
@@ -603,9 +634,11 @@ class StandbyExtension(base.BaseAgentExtension):
|
|
|
603
634
|
|
|
604
635
|
totaltime = time.time() - starttime
|
|
605
636
|
LOG.info("Image streamed onto device %(device)s in %(totaltime)s "
|
|
606
|
-
"seconds
|
|
607
|
-
|
|
608
|
-
|
|
637
|
+
"seconds for %(size)s bytes. Server originaly reported "
|
|
638
|
+
"%(reported)s.",
|
|
639
|
+
{'device': device, 'totaltime': totaltime,
|
|
640
|
+
'size': image_download.bytes_transferred,
|
|
641
|
+
'reported': image_download.content_length})
|
|
609
642
|
# Fix any gpt partition
|
|
610
643
|
try:
|
|
611
644
|
disk_utils.fix_gpt_partition(device, node_uuid=None)
|
{ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/ironic_api_client.py
RENAMED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
import json
|
|
16
|
+
import time
|
|
16
17
|
|
|
17
18
|
from oslo_config import cfg
|
|
18
19
|
from oslo_log import log
|
|
@@ -45,6 +46,7 @@ class APIClient(object):
|
|
|
45
46
|
heartbeat_api = '/%s/heartbeat/{uuid}' % api_version
|
|
46
47
|
_ironic_api_version = None
|
|
47
48
|
agent_token = None
|
|
49
|
+
lookup_lock_pause = 0
|
|
48
50
|
|
|
49
51
|
def __init__(self, api_url):
|
|
50
52
|
self.api_url = api_url.rstrip('/')
|
|
@@ -176,7 +178,7 @@ class APIClient(object):
|
|
|
176
178
|
raise errors.HeartbeatError(error)
|
|
177
179
|
|
|
178
180
|
def lookup_node(self, hardware_info, timeout, starting_interval,
|
|
179
|
-
node_uuid=None, max_interval=
|
|
181
|
+
node_uuid=None, max_interval=60):
|
|
180
182
|
retry = tenacity.retry(
|
|
181
183
|
retry=tenacity.retry_if_result(lambda r: r is False),
|
|
182
184
|
stop=tenacity.stop_after_delay(timeout),
|
|
@@ -244,10 +246,31 @@ class APIClient(object):
|
|
|
244
246
|
LOG.error(exc_msg)
|
|
245
247
|
raise errors.LookupNodeError(msg)
|
|
246
248
|
|
|
249
|
+
if response.status_code == requests.codes.CONFLICT:
|
|
250
|
+
if self.lookup_lock_pause == 0:
|
|
251
|
+
self.lookup_lock_pause = 5
|
|
252
|
+
elif self.lookup_lock_pause == 5:
|
|
253
|
+
self.lookup_lock_pause = 10
|
|
254
|
+
elif self.lookup_lock_pause == 10:
|
|
255
|
+
# If we're reaching this point, we've got a long held
|
|
256
|
+
# persistent lock, which means things can go very sideways
|
|
257
|
+
# or the ironic deployment is downright grumpy. Either way,
|
|
258
|
+
# we need to slow things down.
|
|
259
|
+
self.lookup_lock_pause = 30
|
|
260
|
+
LOG.warning(
|
|
261
|
+
'Ironic has responded with a conflict, signaling the '
|
|
262
|
+
'node is locked. We will wait %(time)s seconds before trying '
|
|
263
|
+
'again. %(err)s',
|
|
264
|
+
{'time': self.lookup_lock_pause,
|
|
265
|
+
'error': self._error_from_response(response)}
|
|
266
|
+
)
|
|
267
|
+
time.sleep(self.lookup_lock_pause)
|
|
268
|
+
return False
|
|
269
|
+
|
|
247
270
|
if response.status_code != requests.codes.OK:
|
|
248
271
|
LOG.warning(
|
|
249
272
|
'Failed looking up node with addresses %r at %s. '
|
|
250
|
-
'
|
|
273
|
+
'Check if inspection has completed? %s',
|
|
251
274
|
params['addresses'], self.api_url,
|
|
252
275
|
self._error_from_response(response)
|
|
253
276
|
)
|
{ironic-python-agent-9.4.0 → ironic-python-agent-9.4.1}/ironic_python_agent/partition_utils.py
RENAMED
|
@@ -465,12 +465,27 @@ def create_config_drive_partition(node_uuid, device, configdrive):
|
|
|
465
465
|
{'part': config_drive_part, 'node': node_uuid})
|
|
466
466
|
utils.execute('test', '-e', config_drive_part, attempts=15,
|
|
467
467
|
delay_on_retry=True)
|
|
468
|
-
|
|
469
|
-
|
|
468
|
+
if not CONF.config_drive_rebuild:
|
|
469
|
+
disk_utils.dd(confdrive_file, config_drive_part)
|
|
470
|
+
if not _does_config_drive_work(config_drive_part):
|
|
471
|
+
# If we have reached this point, we might have an
|
|
472
|
+
# invalid configuration drive, OR the block device
|
|
473
|
+
# layer doesn't support 2K block Logical IO (iso9660)
|
|
474
|
+
_try_build_fat32_config_drive(config_drive_part,
|
|
475
|
+
confdrive_file)
|
|
476
|
+
else:
|
|
477
|
+
LOG.info('Extracting configuration drive to write copy to disk.')
|
|
478
|
+
_try_build_fat32_config_drive(config_drive_part, confdrive_file)
|
|
470
479
|
LOG.info("Configdrive for node %(node)s successfully "
|
|
471
480
|
"copied onto partition %(part)s",
|
|
472
481
|
{'node': node_uuid, 'part': config_drive_part})
|
|
473
482
|
|
|
483
|
+
except exception.InstanceDeployFailure:
|
|
484
|
+
# Since we no longer have a final action on the decorator, we need
|
|
485
|
+
# to catch the failure, and still perform the cleanup.
|
|
486
|
+
if confdrive_file:
|
|
487
|
+
utils.unlink_without_raise(confdrive_file)
|
|
488
|
+
raise
|
|
474
489
|
except (processutils.UnknownArgumentError,
|
|
475
490
|
processutils.ProcessExecutionError, OSError) as e:
|
|
476
491
|
msg = ('Failed to create config drive on disk %(disk)s '
|
|
@@ -478,13 +493,90 @@ def create_config_drive_partition(node_uuid, device, configdrive):
|
|
|
478
493
|
{'disk': device, 'node': node_uuid, 'error': e})
|
|
479
494
|
LOG.error(msg)
|
|
480
495
|
raise exception.InstanceDeployFailure(msg)
|
|
481
|
-
finally:
|
|
482
496
|
# If the configdrive was requested make sure we delete the file
|
|
483
497
|
# after copying the content to the partition
|
|
498
|
+
|
|
499
|
+
finally:
|
|
484
500
|
if confdrive_file:
|
|
485
501
|
utils.unlink_without_raise(confdrive_file)
|
|
486
502
|
|
|
487
503
|
|
|
504
|
+
def _does_config_drive_work(config_drive_part):
|
|
505
|
+
"""Attempts to mount the config drive to validate it works.
|
|
506
|
+
|
|
507
|
+
:param config_drive_part: The partition to which the configuration drive
|
|
508
|
+
was written.
|
|
509
|
+
:returns: True if we were able to mount the configuration drive partition.
|
|
510
|
+
"""
|
|
511
|
+
temp_folder = tempfile.mkdtemp()
|
|
512
|
+
try:
|
|
513
|
+
# Why: If the filesystem is ISO9660 or vfat, and the logical sector
|
|
514
|
+
# size which is supported is *not* something which supports 512 bytes,
|
|
515
|
+
# i.e. a 4k Block size, then ISO9660 just will not work. Vfat also
|
|
516
|
+
# will not work because the logical size needs to match the logical
|
|
517
|
+
# size which is usable. If the underlying driver cannot use that size,
|
|
518
|
+
# then the filesystem will not work and cannot be updated because
|
|
519
|
+
# structurally it is incompaible with the block device driver.
|
|
520
|
+
utils.execute('mount', '-o', 'ro', '-t', 'auto', config_drive_part,
|
|
521
|
+
temp_folder)
|
|
522
|
+
utils.execute('umount', temp_folder)
|
|
523
|
+
except (processutils.ProcessExecutionError, OSError) as e:
|
|
524
|
+
LOG.error('Encountered issue attempting to validate the '
|
|
525
|
+
'supplied configuration drive. Error: %s', e)
|
|
526
|
+
return False
|
|
527
|
+
finally:
|
|
528
|
+
utils.unlink_without_raise(temp_folder)
|
|
529
|
+
|
|
530
|
+
return True
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
def _try_build_fat32_config_drive(partition, confdrive_file):
|
|
534
|
+
conf_drive_temp = tempfile.mkdtemp()
|
|
535
|
+
try:
|
|
536
|
+
utils.execute('mount', '-o', 'loop,ro', '-t', 'auto',
|
|
537
|
+
confdrive_file, conf_drive_temp)
|
|
538
|
+
except (processutils.ProcessExecutionError, OSError) as e:
|
|
539
|
+
# Config drive is invalid, at least to our point of view.
|
|
540
|
+
# Bailing.
|
|
541
|
+
LOG.warning('We were unable to examine the configuration drive, '
|
|
542
|
+
'bypassing. Error: %s', e)
|
|
543
|
+
return
|
|
544
|
+
|
|
545
|
+
new_drive_temp = tempfile.mkdtemp()
|
|
546
|
+
try:
|
|
547
|
+
# While creating a config drive file from scratch or on
|
|
548
|
+
# a loopback will likely result in a 512 byte sector size,
|
|
549
|
+
# the underlying fat filesystem utilities *automatically*
|
|
550
|
+
# check the device block sector sizing. This *will* break
|
|
551
|
+
# above 4k blocks, or at least might. Officially, 4k is the
|
|
552
|
+
# *maximum* in the FAT standard. See:
|
|
553
|
+
# https://github.com/dosfstools/dosfstools/blame/c483196dd46eab22abba756cef511d36f5f42070/src/mkfs.fat.c#L1987
|
|
554
|
+
utils.mkfs(fs='vfat', path=partition, label='CONFIG-2')
|
|
555
|
+
utils.execute('mount', '-t', 'auto', partition, new_drive_temp)
|
|
556
|
+
# copytree, using copy2, copies everything in the source folder
|
|
557
|
+
# into the destination folder, so we should be good, and metadata
|
|
558
|
+
# is attempted to be preserved.
|
|
559
|
+
shutil.copytree(conf_drive_temp, new_drive_temp, dirs_exist_ok=True)
|
|
560
|
+
except (processutils.ProcessExecutionError, OSError) as e:
|
|
561
|
+
# We failed to make the filesystem :(
|
|
562
|
+
# This is a fairly hard error as we could not use the
|
|
563
|
+
# config drive, nor could we recover the state.
|
|
564
|
+
LOG.error('We were unable to make a new filesystem for the '
|
|
565
|
+
'configuration drive. Error: %s', e)
|
|
566
|
+
msg = ('A failure occured while attempting to format, copy, and '
|
|
567
|
+
're-create the configuration drive in a structure which '
|
|
568
|
+
'is compatible with the underlying hardware and Operating '
|
|
569
|
+
'System. Due to the nature of configuration drive, it could '
|
|
570
|
+
'have been incorrectly formatted. Operator investigation is '
|
|
571
|
+
'required. Error: {}'.format(str(e)))
|
|
572
|
+
raise exception.InstanceDeployFailure(msg)
|
|
573
|
+
finally:
|
|
574
|
+
utils.execute('umount', conf_drive_temp)
|
|
575
|
+
utils.execute('umount', new_drive_temp)
|
|
576
|
+
utils.unlink_without_raise(new_drive_temp)
|
|
577
|
+
utils.unlink_without_raise(conf_drive_temp)
|
|
578
|
+
|
|
579
|
+
|
|
488
580
|
def _is_disk_larger_than_max_size(device, node_uuid):
|
|
489
581
|
"""Check if total disk size exceeds 2TB msdos limit
|
|
490
582
|
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
|
|
13
13
|
import copy
|
|
14
14
|
import re
|
|
15
|
+
import shlex
|
|
15
16
|
|
|
16
17
|
from ironic_lib import disk_utils
|
|
17
18
|
from ironic_lib import utils as il_utils
|
|
@@ -342,50 +343,58 @@ def prepare_boot_partitions_for_softraid(device, holders, efi_part,
|
|
|
342
343
|
if efi_part:
|
|
343
344
|
efi_part = '{}p{}'.format(device, efi_part['number'])
|
|
344
345
|
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
#
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
346
|
+
# check if we have a RAIDed ESP already
|
|
347
|
+
md_device = find_esp_raid()
|
|
348
|
+
if md_device:
|
|
349
|
+
LOG.info("Found RAIDed ESP %s, skip creation", md_device)
|
|
350
|
+
else:
|
|
351
|
+
LOG.info("Creating EFI partitions on software RAID holder disks")
|
|
352
|
+
# We know that we kept this space when configuring raid,see
|
|
353
|
+
# hardware.GenericHardwareManager.create_configuration.
|
|
354
|
+
# We could also directly get the EFI partition size.
|
|
355
|
+
partsize_mib = ESP_SIZE_MIB
|
|
356
|
+
partlabel_prefix = 'uefi-holder-'
|
|
357
|
+
efi_partitions = []
|
|
358
|
+
for number, holder in enumerate(holders):
|
|
359
|
+
# NOTE: see utils.get_partition_table_type_from_specs
|
|
360
|
+
# for uefi we know that we have setup a gpt partition table,
|
|
361
|
+
# sgdisk can be used to edit table, more user friendly
|
|
362
|
+
# for alignment and relative offsets
|
|
363
|
+
partlabel = '{}{}'.format(partlabel_prefix, number)
|
|
364
|
+
out, _u = utils.execute('sgdisk', '-F', holder)
|
|
365
|
+
start_sector = '{}s'.format(out.splitlines()[-1].strip())
|
|
366
|
+
out, _u = utils.execute(
|
|
367
|
+
'sgdisk', '-n', '0:{}:+{}MiB'.format(start_sector,
|
|
368
|
+
partsize_mib),
|
|
369
|
+
'-t', '0:ef00', '-c', '0:{}'.format(partlabel), holder)
|
|
370
|
+
|
|
371
|
+
# Refresh part table
|
|
372
|
+
utils.execute("partprobe")
|
|
373
|
+
utils.execute("blkid")
|
|
374
|
+
|
|
375
|
+
target_part, _u = utils.execute(
|
|
376
|
+
"blkid", "-l", "-t", "PARTLABEL={}".format(partlabel),
|
|
377
|
+
holder)
|
|
378
|
+
|
|
379
|
+
target_part = target_part.splitlines()[-1].split(':', 1)[0]
|
|
380
|
+
efi_partitions.append(target_part)
|
|
381
|
+
|
|
382
|
+
LOG.debug("EFI partition %s created on holder disk %s",
|
|
383
|
+
target_part, holder)
|
|
384
|
+
|
|
385
|
+
# RAID the ESPs, metadata=1.0 is mandatory to be able to boot
|
|
386
|
+
md_device = get_next_free_raid_device()
|
|
387
|
+
LOG.debug("Creating md device %(md_device)s for the ESPs "
|
|
388
|
+
"on %(efi_partitions)s",
|
|
389
|
+
{'md_device': md_device,
|
|
390
|
+
'efi_partitions': efi_partitions})
|
|
391
|
+
utils.execute('mdadm', '--create', md_device, '--force',
|
|
392
|
+
'--run', '--metadata=1.0', '--level', '1',
|
|
393
|
+
'--name', 'esp', '--raid-devices',
|
|
394
|
+
len(efi_partitions),
|
|
395
|
+
*efi_partitions)
|
|
396
|
+
|
|
397
|
+
disk_utils.trigger_device_rescan(md_device)
|
|
389
398
|
|
|
390
399
|
if efi_part:
|
|
391
400
|
# Blockdev copy the source ESP and erase it
|
|
@@ -420,3 +429,18 @@ def prepare_boot_partitions_for_softraid(device, holders, efi_part,
|
|
|
420
429
|
# disk, as in virtual disk, where to load the data from.
|
|
421
430
|
# Since there is a structural difference, this means it will
|
|
422
431
|
# fail.
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
def find_esp_raid():
|
|
435
|
+
"""Find the ESP md device in case of a rebuild."""
|
|
436
|
+
|
|
437
|
+
# find devices of type 'RAID1' and fstype 'VFAT'
|
|
438
|
+
lsblk = utils.execute('lsblk', '-PbioNAME,TYPE,FSTYPE')
|
|
439
|
+
report = lsblk[0]
|
|
440
|
+
for line in report.split('\n'):
|
|
441
|
+
dev = {}
|
|
442
|
+
vals = shlex.split(line)
|
|
443
|
+
for key, val in (v.split('=', 1) for v in vals):
|
|
444
|
+
dev[key] = val.strip()
|
|
445
|
+
if dev.get('TYPE') == 'raid1' and dev.get('FSTYPE') == 'vfat':
|
|
446
|
+
return '/dev/' + dev.get('NAME')
|
|
@@ -32,6 +32,9 @@ from ironic_python_agent.tests.unit import base
|
|
|
32
32
|
from ironic_python_agent.tests.unit.samples import hardware_samples as hws
|
|
33
33
|
|
|
34
34
|
|
|
35
|
+
EFI_RESULT = ''.encode('utf-16')
|
|
36
|
+
|
|
37
|
+
|
|
35
38
|
@mock.patch.object(hardware, 'dispatch_to_managers', autospec=True)
|
|
36
39
|
@mock.patch.object(ilib_utils, 'execute', autospec=True)
|
|
37
40
|
@mock.patch.object(tempfile, 'mkdtemp', lambda *_: '/tmp/fake-dir')
|
|
@@ -231,7 +234,7 @@ class TestImageExtension(base.IronicAgentTest):
|
|
|
231
234
|
|
|
232
235
|
mock_execute.side_effect = iter([('', ''), ('', ''),
|
|
233
236
|
('', ''), ('', ''),
|
|
234
|
-
(
|
|
237
|
+
(EFI_RESULT, ''), (EFI_RESULT, ''),
|
|
235
238
|
('', ''), ('', '')])
|
|
236
239
|
|
|
237
240
|
expected = [mock.call('efibootmgr', '--version'),
|
|
@@ -240,11 +243,11 @@ class TestImageExtension(base.IronicAgentTest):
|
|
|
240
243
|
mock.call('udevadm', 'settle'),
|
|
241
244
|
mock.call('mount', self.fake_efi_system_part,
|
|
242
245
|
self.fake_dir + '/boot/efi'),
|
|
243
|
-
mock.call('efibootmgr', '-v'),
|
|
246
|
+
mock.call('efibootmgr', '-v', binary=True),
|
|
244
247
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
245
248
|
'-p', '1', '-w',
|
|
246
249
|
'-L', 'ironic1', '-l',
|
|
247
|
-
'\\EFI\\BOOT\\BOOTX64.EFI'),
|
|
250
|
+
'\\EFI\\BOOT\\BOOTX64.EFI', binary=True),
|
|
248
251
|
mock.call('umount', self.fake_dir + '/boot/efi',
|
|
249
252
|
attempts=3, delay_on_retry=True),
|
|
250
253
|
mock.call('sync')]
|
|
@@ -279,7 +282,7 @@ class TestImageExtension(base.IronicAgentTest):
|
|
|
279
282
|
mock_efi_bl.return_value = ['EFI/BOOT/BOOTX64.EFI']
|
|
280
283
|
mock_execute.side_effect = iter([('', ''), ('', ''),
|
|
281
284
|
('', ''), ('', ''),
|
|
282
|
-
(
|
|
285
|
+
(EFI_RESULT, ''), (EFI_RESULT, ''),
|
|
283
286
|
('', ''), ('', '')])
|
|
284
287
|
|
|
285
288
|
expected = [mock.call('efibootmgr', '--version'),
|
|
@@ -288,11 +291,11 @@ class TestImageExtension(base.IronicAgentTest):
|
|
|
288
291
|
mock.call('udevadm', 'settle'),
|
|
289
292
|
mock.call('mount', self.fake_efi_system_part,
|
|
290
293
|
self.fake_dir + '/boot/efi'),
|
|
291
|
-
mock.call('efibootmgr', '-v'),
|
|
294
|
+
mock.call('efibootmgr', '-v', binary=True),
|
|
292
295
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
293
296
|
'-p', '1', '-w',
|
|
294
297
|
'-L', 'ironic1', '-l',
|
|
295
|
-
'\\EFI\\BOOT\\BOOTX64.EFI'),
|
|
298
|
+
'\\EFI\\BOOT\\BOOTX64.EFI', binary=True),
|
|
296
299
|
mock.call('umount', self.fake_dir + '/boot/efi',
|
|
297
300
|
attempts=3, delay_on_retry=True),
|
|
298
301
|
mock.call('sync')]
|
|
@@ -333,10 +336,11 @@ Boot0000 ironic1 HD(1,GPT,4f3c6294-bf9b-4208-9808-be45dfc34b5c)File(\EFI\Boot\BO
|
|
|
333
336
|
Boot0001 ironic2 HD(1,GPT,4f3c6294-bf9b-4208-9808-111111111112)File(\EFI\Boot\BOOTX64.EFI)
|
|
334
337
|
Boot0002 VENDMAGIC FvFile(9f3c6294-bf9b-4208-9808-be45dfc34b51)
|
|
335
338
|
""" # noqa This is a giant literal string for testing.
|
|
339
|
+
stdout_msg = stdout_msg.encode('utf-16')
|
|
336
340
|
mock_execute.side_effect = iter([('', ''), ('', ''),
|
|
337
341
|
('', ''), ('', ''),
|
|
338
|
-
(stdout_msg, ''), (
|
|
339
|
-
(
|
|
342
|
+
(stdout_msg, ''), (EFI_RESULT, ''),
|
|
343
|
+
(EFI_RESULT, ''), (EFI_RESULT, ''),
|
|
340
344
|
('', ''), ('', '')])
|
|
341
345
|
|
|
342
346
|
expected = [mock.call('efibootmgr', '--version'),
|
|
@@ -345,12 +349,12 @@ Boot0002 VENDMAGIC FvFile(9f3c6294-bf9b-4208-9808-be45dfc34b51)
|
|
|
345
349
|
mock.call('udevadm', 'settle'),
|
|
346
350
|
mock.call('mount', self.fake_efi_system_part,
|
|
347
351
|
self.fake_dir + '/boot/efi'),
|
|
348
|
-
mock.call('efibootmgr', '-v'),
|
|
349
|
-
mock.call('efibootmgr', '-b', '0000', '-B'),
|
|
352
|
+
mock.call('efibootmgr', '-v', binary=True),
|
|
353
|
+
mock.call('efibootmgr', '-b', '0000', '-B', binary=True),
|
|
350
354
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
351
355
|
'-p', '1', '-w',
|
|
352
356
|
'-L', 'ironic1', '-l',
|
|
353
|
-
'\\EFI\\BOOT\\BOOTX64.EFI'),
|
|
357
|
+
'\\EFI\\BOOT\\BOOTX64.EFI', binary=True),
|
|
354
358
|
mock.call('umount', self.fake_dir + '/boot/efi',
|
|
355
359
|
attempts=3, delay_on_retry=True),
|
|
356
360
|
mock.call('sync')]
|
|
@@ -396,6 +400,7 @@ Boot0002* Hard Disk VenHw(1fad3248-0000-7950-2166-a1e506fdb83a,01000000)..GO
|
|
|
396
400
|
Boot0003* Network VenHw(1fad3248-0000-7950-2166-a1e506fdb83a,05000000)..GO..NO............U.E.F.I.:. . . .S.L.O.T.2. .(.2.F./.0./.0.). .P.X.E. .I.P.4. . .Q.L.o.g.i.c. .Q.L.4.1.2.6.2. .P.C.I.e. .2.5.G.b. .2.-.P.o.r.t. .S.F.P.2.8. .E.t.h.e.r.n.e.t. .A.d.a.p.t.e.r. .-. .P.X.E........A....................%.4..Z...............................................................Gd-.;.A..MQ..L.P.X.E. .I.P.4. .Q.L.o.g.i.c. .Q.L.4.1.2.6.2. .P.C.I.e. .2.5.G.b. .2.-.P.o.r.t. .S.F.P.2.8. .E.t.h.e.r.n.e.t. .A.d.a.p.t.e.r. .-. .P.X.E.......BO..NO............U.E.F.I.:. . . .S.L.O.T.1. .(.3.0./.0./.0.). .P.X.E. .I.P.4. . .Q.L.o.g.i.c. .Q.L.4.1.2.6.2. .P.C.I.e. .2.5.G.b. .2.-.P.o.r.t. .S.F.P.2.8. .E.t.h.e.r.n.e.t. .A.d.a.p.t.e.r. .-.
|
|
397
401
|
Boot0004* ironic1 HD(1,GPT,55db8d03-c8f6-4a5b-9155-790dddc348fa,0x800,0x64000)/File(\EFI\boot\shimx64.efi)
|
|
398
402
|
""" # noqa This is a giant literal string for testing.
|
|
403
|
+
stdout_msg = stdout_msg.encode('utf-16')
|
|
399
404
|
mock_execute.side_effect = iter([('', ''), ('', ''),
|
|
400
405
|
('', ''), ('', ''),
|
|
401
406
|
(stdout_msg, ''), ('', ''),
|
|
@@ -407,13 +412,13 @@ Boot0004* ironic1 HD(1,GPT,55db8d03-c8f6-4a5b-9155-790dddc348fa,0x800,0x640
|
|
|
407
412
|
mock.call('udevadm', 'settle'),
|
|
408
413
|
mock.call('mount', self.fake_efi_system_part,
|
|
409
414
|
self.fake_dir + '/boot/efi'),
|
|
410
|
-
mock.call('efibootmgr', '-v'),
|
|
411
|
-
mock.call('efibootmgr', '-b', '0000', '-B'),
|
|
412
|
-
mock.call('efibootmgr', '-b', '0004', '-B'),
|
|
415
|
+
mock.call('efibootmgr', '-v', binary=True),
|
|
416
|
+
mock.call('efibootmgr', '-b', '0000', '-B', binary=True),
|
|
417
|
+
mock.call('efibootmgr', '-b', '0004', '-B', binary=True),
|
|
413
418
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
414
419
|
'-p', '1', '-w',
|
|
415
420
|
'-L', 'ironic1', '-l',
|
|
416
|
-
'\\EFI\\BOOT\\BOOTX64.EFI'),
|
|
421
|
+
'\\EFI\\BOOT\\BOOTX64.EFI', binary=True),
|
|
417
422
|
mock.call('umount', self.fake_dir + '/boot/efi',
|
|
418
423
|
attempts=3, delay_on_retry=True),
|
|
419
424
|
mock.call('sync')]
|
|
@@ -450,8 +455,8 @@ Boot0004* ironic1 HD(1,GPT,55db8d03-c8f6-4a5b-9155-790dddc348fa,0x800,0x640
|
|
|
450
455
|
|
|
451
456
|
mock_execute.side_effect = iter([('', ''), ('', ''),
|
|
452
457
|
('', ''), ('', ''),
|
|
453
|
-
(
|
|
454
|
-
(
|
|
458
|
+
(EFI_RESULT, ''), (EFI_RESULT, ''),
|
|
459
|
+
(EFI_RESULT, ''), ('', ''),
|
|
455
460
|
('', '')])
|
|
456
461
|
|
|
457
462
|
expected = [mock.call('efibootmgr', '--version'),
|
|
@@ -460,15 +465,15 @@ Boot0004* ironic1 HD(1,GPT,55db8d03-c8f6-4a5b-9155-790dddc348fa,0x800,0x640
|
|
|
460
465
|
mock.call('udevadm', 'settle'),
|
|
461
466
|
mock.call('mount', self.fake_efi_system_part,
|
|
462
467
|
self.fake_dir + '/boot/efi'),
|
|
463
|
-
mock.call('efibootmgr', '-v'),
|
|
468
|
+
mock.call('efibootmgr', '-v', binary=True),
|
|
464
469
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
465
470
|
'-p', '1', '-w',
|
|
466
471
|
'-L', 'ironic1', '-l',
|
|
467
|
-
'\\EFI\\BOOT\\BOOTX64.EFI'),
|
|
472
|
+
'\\EFI\\BOOT\\BOOTX64.EFI', binary=True),
|
|
468
473
|
mock.call('efibootmgr', '-v', '-c', '-d', self.fake_dev,
|
|
469
474
|
'-p', '1', '-w',
|
|
470
475
|
'-L', 'ironic2', '-l',
|
|
471
|
-
'\\WINDOWS\\system32\\winload.efi'),
|
|
476
|
+
'\\WINDOWS\\system32\\winload.efi', binary=True),
|
|
472
477
|
mock.call('umount', self.fake_dir + '/boot/efi',
|
|
473
478
|
attempts=3, delay_on_retry=True),
|
|
474
479
|
mock.call('sync')]
|