We are chuffed to announce the release of: ironic-python-agent 3.7.0: Ironic Python Agent Ramdisk This release is part of the train 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. 3.7.0 ^^^^^ New Features ************ * Add the hostname to the introspection data. This will likely be the hostname as set by the DHCP server. * IPv6 BMC address is now discovered during inspection and sent as a new "bmc_v6address" inventory field. * Supports fetching baremetal and baremetal introspection endpoints from mDNS instead of providing them via kernel parameters or a configuration file. See story 2005393 (https://storyboard.openstack.org/#!/story/2005393) for more details. * Adds support for software RAID via the generic hardware manager. By means of the target_raid_config a single RAID-1 or one RAID-1 plus one RAID-N can be configured (where N can be 0, 1, and 1+0). The RAID is created/deleted during manual cleaning. Note that this initial implementation will use all available devices for the setup of the software RAID device(s). Upgrade Notes ************* * When no baremetal API URL is provided (e.g. via the "ipa-api-url" kernel parameter), ironic-python-agent now tries to get the URL using mDNS service discovery. Bug Fixes ********* * Supports channel numbers 1 to 11 when looking for a BMC address. This is consistent with the IPMI specification v2.0. Previously, only channels 1 to 7 were considered. * Mounts "/run" into chroot when installing bootloader to prevent timeouts. * Fixes an issue with retrieving all available physical memory. For more details see story 2005308 (https://storyboard.openstack.org/#!/story/2005308). * Fixes an issue that md5 checksum is still required in the image information when os_hash_algo and os_hash_value are present. The "checksum" field is now optional, while "os_hash_algo" and "os_hash_value" fields must be set if the "checksum" field is not provided. Changes in ironic-python-agent 3.6.0..3.7.0 ------------------------------------------- 48f9914 Software RAID: Protect RAID metadata upon cleaning 7b3469e Get the hostname of the introspected host 5140c3b Software RAID: Don't preformat log strings 3e2d348 Software RAID: Check if install partition exists 6579471 Add a non-voting metalsmith job e2bdb30 Software RAID: Add mdadm to IPA images fea7f86 Software RAID: Fix race in test for get_holder_disks 4535305 Software RAID: Fix shell commands 3352d40 Incorporate bandit support in CI 8fe390e Software RAID: Add IPA deploy support 2db123d Software RAID: Create/delete configurations dcffadc Docs: Add bmc_v6address hardware inventory 5c5328c Supports fetching API endpoints from mDNS 9103967 Do not run bashate on generated TinyIPA files 06aea36 Clean up release notes a9cac52 Relax checksum fields validation e30f1d7 Update sphinx requirements eb875cc Add more channel number for detecting BMC IPv6 address a2d25de show inspection callback url in error messages 21393cb report the URL when heartbeats fail 4e086f9 Do not use metadata checksums with ext4 66d3c8e Add more channel number for detecting BMC IP address 9c35f02 Bind mount /run into chroot when installing grub b15d5d5 Replace git.openstack.org URLs with opendev.org URLs a88e619 Fix download upper constraints 93dae93 Fetch upper constraints from opendev.org ba7d273 OpenDev Migration Patch ac4904e Switch to Debian Stretch for building CoreOS images d8018b9 Ironic python agent does not extract correct available memory 5bc59d2 Dropping the py35 testing ae8e10e Update minimum hardware version 4cb2ac4 Fix docs job failure due to malformated docstring 518c338 Discover IPv6 BMC address b7cfa91 Replace openstack.org git:// URLs with https:// b81b7c1 Add 'interface' to get_clean_steps docstring ce9d0ef Add versions to release notes series 775e75d Update master for stable/stein Diffstat (except docs and test files) ------------------------------------- .gitreview | 2 +- Dockerfile | 15 +- README.rst | 4 +- imagebuild/common/generate_upper_constraints.sh | 2 +- imagebuild/tinyipa/README.rst | 2 +- imagebuild/tinyipa/build_files/finalreqs.lst | 1 + ironic_python_agent/agent.py | 24 +- ironic_python_agent/config.py | 44 +- ironic_python_agent/errors.py | 9 + ironic_python_agent/extensions/image.py | 45 +- ironic_python_agent/extensions/standby.py | 33 +- ironic_python_agent/hardware.py | 503 +++++++++++- ironic_python_agent/inspector.py | 16 +- ironic_python_agent/netutils.py | 7 + ironic_python_agent/numa_inspector.py | 69 +- ironic_python_agent/utils.py | 5 +- lower-constraints.txt | 3 +- playbooks/ironic-python-agent-buildimage/post.yaml | 12 +- playbooks/ironic-python-agent-buildimage/run.yaml | 2 +- .../run.yaml | 10 +- .../run.yaml | 10 +- .../run.yaml | 10 +- .../run.yaml | 10 +- plugin-requirements.txt | 2 +- .../notes/add-hostname-8bbf24712b6a4919.yaml | 5 + .../add-more-lan-channels-8f5197ed5f057c25.yaml | 6 + .../notes/bindmount-run-4c6a31d3ee4e0ed6.yaml | 4 + ...discover-ipv6-bmc-address-b3b357ff6c5d822c.yaml | 5 + .../get-physical-memory-535a32362bcdf83a.yaml | 6 + releasenotes/notes/mdns-e020484e64d76edb.yaml | 12 + .../relax-checksum-feeding-11044ae02b411a07.yaml | 8 + .../notes/software-raid-4a88e6c5af9ea742.yaml | 9 + releasenotes/source/index.rst | 1 + releasenotes/source/rocky.rst | 6 +- releasenotes/source/stein.rst | 6 + requirements.txt | 2 +- test-requirements.txt | 4 +- tools/run_bashate.sh | 2 + tox.ini | 7 +- zuul.d/ironic-python-agent-jobs.yaml | 31 +- zuul.d/legacy-ironic-jobs.yaml | 4 +- zuul.d/project.yaml | 5 +- 51 files changed, 1925 insertions(+), 172 deletions(-) Requirements updates -------------------- diff --git a/plugin-requirements.txt b/plugin-requirements.txt index 3af0a52..3a75a5e 100644 --- a/plugin-requirements.txt +++ b/plugin-requirements.txt @@ -2 +2 @@ -hardware>=0.20.0 +hardware>=0.20.1 diff --git a/requirements.txt b/requirements.txt index 904fa91..6e1ac7d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24 +24 @@ WSME>=0.8.0 # MIT -ironic-lib>=2.16.0 # Apache-2.0 +ironic-lib>=2.17.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index b8ba6dd..25c8aaa 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -11,0 +12 @@ flake8-import-order>=0.13 # LGPLv3 +bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0 @@ -15 +16,2 @@ doc8>=0.6.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD
participants (1)
-
no-reply@openstack.org