We are pumped to announce the release of: ironic-python-agent 5.0.0: Ironic Python Agent Ramdisk This release is part of the train stable 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://storyboard.openstack.org/#!/project/openstack/ironic- python-agent For more details, please see below. 5.0.0 ^^^^^ New Features ************ * Adds support for creating software RAID on NVMe drives. Upgrade Notes ************* * Images based on CoreOS are no longer supported and built. They were deprecated in the Stein cycle and an alternative based on diskimage- builder is being developed. Bug Fixes ********* * Fixes detection of physical memory amount on AArch64 that was caused by different output of the "lshw" utility. * Fixes an issue where md devices disk holders could not be listed correctly if they were NVMe drives. * Fixes cleaning operations when floppy disk devices are present on the baremetal node. Floppy disk devices are now explicitly ignored. * No longer tries to use zRAM devices for anything. * Fixes size conversion when creating software RAID with "size_gb" provided. From the RAID documentation (https://docs.openstack.org/ironic/latest/admin/raid.html#target- raid-configuration) "size_gb" unit is GiB but parted defaults to MB. * Fixes creating software RAID when several logical drives have a size specified (i.e not 'MAX'). See story 2006352 (https://storyboard.openstack.org/#!/story/2006352). * Fixes creating software RAID when a logical drive with size 'MAX' is not the last in the list of logical drives. * Zap superblocks from all block devices, as an attempt to erase any softraid hint from devices when calling delete_configuration, including from drives that are no more members of any raid. * Tries to assemble software RAID automatically on start up to avoid problems with ramdisks that don't do it automatically (like tinyipa). Other Notes *********** * The default "list_all_block_devices" hardware manager method has been changed to ignore floppy disk devices, introducing an argument "ignore_floppy" with a default value of "True". A value of "False" may be passed to the "list_all_block_devices" method to include such devices. Changes in ironic-python-agent 4.0.0..5.0.0 ------------------------------------------- 3e139ec Clean up release notes 316dd3f Revert "Software raid: mbr/gpt partition table alternative" 8be4cb6 Attempt tgtd session detach 924528f Try increasing memory in the DIB job 37385dd Delete_configuration, consider removed raid members as well 5b19cee Adds CI job that uses DIB build images cef3bac Build pdf doc 57cc267 Release notes cleanup for the next release e73786a Switch to image building jobs from ironic-python-agent-builder e446a5e Remove support for CoreOS images 236c800 Run a standalone job in the gate 0f07bfc Fix the post job for tinyipa/coreos 321299b Release note follow-up to floppy fix b4f391d CI: do not install IPA-builder as editable 9226263 Correct building DIB images in the CI b98bc67 Handle floppy disk controllers f0a6b20 Updates the dib element of ironic-python-agent-buildimage file 9dca5d7 Software RAID: Ignore missing component devices or holder disks 8ad9267 Softraid: partitioning fixes 0f1fc91 Installs diskimage-builder to pass the DIB image building test c546749 Fixes get_holder disks with nvme drives 4fbece6 Add mdadm to bindep.txt for functional tests 5dd548d Software RAID: Handle empty target_raid_config 3d5fc82 Ignore /dev/ramX devices for any purposes c7c307c Software RAID: try to assemble RAID on start-up 258d963 Software raid: mbr/gpt partition table alternative f5e6ac5 Implements OpenStack CI job having DIB-built IPA 88796a8 Do not try to use zRAM devices for anything 570584f Adds software raid creation support on nvme drives. 248a4cc Repair building tinyipa images after the move to ipa-builder e1b630d CI: stop using pyghmi from git master cd50fd1 Fixes physical memory fetching for aarch64 8d3fc92 Follow-up of 74339f6da2276a125ace6966d3730f2f2dd8213d 8e54309 Trivial: Add missing quote when detecting raid devices fbfdc49 Include empty devices when listing block devices 74339f6 Modify Tiny IPA image build 6d2f9b9 Software RAID: Detect component & holder disks in broken RAIDs 8c9fd6d Using from_device_file from Devices 8e219cd Bump openstackdocstheme to 1.20.0 Diffstat (except docs and test files) ------------------------------------- Dockerfile | 59 -- bindep.txt | 9 +- imagebuild/README.rst | 5 +- imagebuild/coreos/Makefile | 28 - imagebuild/coreos/README.rst | 102 --- imagebuild/coreos/build_coreos_image.sh | 28 - imagebuild/coreos/coreos-oem-inject.py | 472 ------------ imagebuild/coreos/docker_build.bash | 53 -- imagebuild/coreos/docker_clean.bash | 16 - imagebuild/coreos/full_trusty_build.sh | 55 -- imagebuild/coreos/iso-image-create | 168 ----- imagebuild/coreos/oem/cloud-config.yml | 265 ------- imagebuild/coreos/oem/finalize_rescue.sh | 37 - imagebuild/coreos/oem/rescue-dhcp-config.network | 5 - imagebuild/coreos/pin_latest_coreos.sh | 11 - imagebuild/coreos/version.txt | 7 - ironic_python_agent/extensions/iscsi.py | 15 +- ironic_python_agent/hardware.py | 264 ++++++- ironic_python_agent/utils.py | 17 + lower-constraints.txt | 4 +- playbooks/ironic-python-agent-buildimage/post.yaml | 43 -- playbooks/ironic-python-agent-buildimage/run.yaml | 56 -- .../post.yaml | 15 - .../run.yaml | 112 --- .../post.yaml | 15 - .../run.yaml | 109 --- .../post.yaml | 15 - .../run.yaml | 113 --- .../post.yaml | 15 - .../run.yaml | 109 --- ...fix-physical-memory-arm64-957755f6cd91ad85.yaml | 5 + ...et-holder-disks-with-nvme-7d5fa75df2fd5904.yaml | 5 + .../notes/handle-fd0-devices-3d1f31c3b34819e8.yaml | 12 + releasenotes/notes/lshw-cb89894be057bdc9.yaml | 4 +- releasenotes/notes/no-coreos-3345cc69009dead9.yaml | 6 + releasenotes/notes/no-zram-78cc6583f4f90a9c.yaml | 4 + .../relax-checksum-feeding-11044ae02b411a07.yaml | 4 +- ...softraid-creation-on-nvme-a2fd4c531d200904.yaml | 3 + ...aid-partitioning-refactor-104b817c3bdc73e3.yaml | 11 + .../notes/softraid-zap-superblocks-anywhere.yaml | 6 + .../notes/sw-raid-assemble-9c20fe967f73d1dd.yaml | 5 + requirements.txt | 2 +- test-requirements.txt | 2 +- tox.ini | 9 + zuul.d/ironic-python-agent-jobs.yaml | 54 +- zuul.d/legacy-ironic-jobs.yaml | 52 -- zuul.d/project.yaml | 22 +- 55 files changed, 1138 insertions(+), 2335 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 6e1ac7d..f8c4bb8 100644 --- a/requirements.txt +++ b/requirements.txt @@ -18 +18 @@ psutil>=3.2.2 # BSD -pyudev>=0.16.1 # LGPLv2.1+ +pyudev>=0.18 # LGPLv2.1+ diff --git a/test-requirements.txt b/test-requirements.txt index 25c8aaa..afc80a2 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -19 +19 @@ sphinxcontrib-pecanwsme>=0.8.0 # Apache-2.0 -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0