ironic-python-agent 9.12.0 (dalmatian)
We are amped to announce the release of: ironic-python-agent 9.12.0: Ironic Python Agent Ramdisk This release is part of the dalmatian release series. The source is available from: https://opendev.org/openstack/ironic-python-agent Download the package from: https://tarballs.openstack.org/ironic-python-agent/ Please report issues through: https://bugs.launchpad.net/ironic-python-agent/+bugs For more details, please see below. 9.12.0 ^^^^^^ New Features ************ * Adds a deploy step "clean_uefi_nvram" to remove unrequired extra UEFI NVRAM boot entries. By default any entry matching "HD" as the root device, or with a "shim" or "grub" efi file in the path will be deleted, ensuring that disk based boot entries are removed before the new entry is created for the written image. The "match_patterns" parameter allows a list of regular expressions to be passed, where a case insensitive search in the device path will result in that entry being deleted. * For a long time block device information originating form lsblk and udev was handled in a mutually exclusive way during root disk selection. The new "mix and match" approach allows IPA to collect and match "disk serial" and "wwn" root device hints against values coming from both "lsblk" and "udev" at the same time. The "mix and match" approach is necessary to handle edge cases where the serial and/or wwn information is different in "lsblk" compared to "udev". * Add attached USB device auto discovery. The information is retrieived from *lshw* tool and store in introspection data result. Bug Fixes ********* * Fixes an issue where configuration drive volumes which are mounted by the operating system could remain mounted and cause a lock to be held, which may conflict with actions such as "rebuild". The agent now always makes sure the folder used by Glean and Cloud-init is not mounted. * Fixes bug 2066308, an issue where Ironic Python Agent would call evaluate_hardware_support multiple times on hardware manager plugins. Scanning for hardware and disks is time consuming, and caused timeouts on badly-performing nodes. * Adds support for disks with 4096 sector size when cleaning disk metadata. Previously, only 512 sector size disks were supported. Changes in ironic-python-agent 9.10.0..9.12.0 --------------------------------------------- 60132c9 Fix issues caused/found by new codespell 2c68770 Fix negative lookahead assertion syntax error c39517b Call evaluate_hardware_support exactly once per hwm c303bd9 reno: Update master for unmaintained/zed 45a1698 Remove eventlet workaround cb58c31 Remove old excludes 6ac3f35 Unmount config drives ceec5a7 destroy_disk_metadata: support 4096 sector size 84a1195 add mixed matching of root device hints 215fecd Step to clean UEFI NVRAM entries cae6b15 Fix mocking for TestGenericHardwareManager 8de6e03 Update ironic-lib min required version 783a037 Update master for stable/2024.1 f824930 Import disk_{utils,partitioner} from ironic-lib 3fd68c0 USB device discovery Diffstat (except docs and test files) ------------------------------------- ironic_python_agent/__init__.py | 8 - ironic_python_agent/config.py | 46 +- ironic_python_agent/disk_partitioner.py | 124 +++ ironic_python_agent/disk_utils.py | 724 ++++++++++++++++ ironic_python_agent/efi_utils.py | 19 +- ironic_python_agent/extensions/standby.py | 21 +- ironic_python_agent/hardware.py | 255 ++++-- ironic_python_agent/inject_files.py | 2 +- ironic_python_agent/inspector.py | 9 + ironic_python_agent/partition_utils.py | 2 +- ironic_python_agent/raid_utils.py | 2 +- ironic_python_agent/utils.py | 30 +- ...-config-drive-is-umounted-a3985bbb45e89051.yaml | 8 + .../notes/clean_uefi_nvram-554041f2e7b2d555.yaml | 10 + ...-and-match-disk-detection-58db04403ce220a0.yaml | 10 + ...ate-hardware-support-once-9ec1ae327b4e03f2.yaml | 7 + .../support-4096-sector-size-490adc8ed256092d.yaml | 5 + .../notes/usb-autodiscovery-ab5a4a40ba096bb8.yaml | 5 + releasenotes/source/2024.1.rst | 6 + releasenotes/source/index.rst | 1 + releasenotes/source/zed.rst | 2 +- requirements.txt | 11 +- setup.cfg | 6 +- test-requirements.txt | 8 +- zuul.d/ironic-python-agent-jobs.yaml | 7 +- 42 files changed, 2991 insertions(+), 313 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 18eea69..e7481c3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,2 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. -pbr!=2.1.0,>=2.0.0 # Apache-2.0 -eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT +pbr>=2.0.0 # Apache-2.0 +eventlet>=0.18.2 # MIT @@ -10 +7 @@ oslo.log>=4.6.1 # Apache-2.0 -oslo.service!=1.28.1,>=1.24.0 # Apache-2.0 +oslo.service>=1.24.0 # Apache-2.0 @@ -18 +15 @@ tenacity>=6.2.0 # Apache-2.0 -ironic-lib>=5.1.0 # Apache-2.0 +ironic-lib>=6.0.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 339b33c..a4f591f 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,5 +1 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. - -coverage!=4.4,>=4.0 # Apache-2.0 +coverage>=4.0 # Apache-2.0 @@ -9 +5 @@ stestr>=1.0.0 # Apache-2.0 -bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0 +bandit>=1.1.0,<2.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org