[release-announce] ironic-python-agent 6.1.1 (ussuri)

no-reply at openstack.org no-reply at openstack.org
Mon Aug 10 12:36:06 UTC 2020


We are chuffed to announce the release of:

ironic-python-agent 6.1.1: Ironic Python Agent Ramdisk

This release is part of the ussuri 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.

6.1.1
^^^^^

Bug Fixes

* Fixes deployment failures when the image download is interrupted
  mid-stream while the contents are being downloaded. Previously
  retries were limited to only opening the initial connection.

* Fixes the return value of the "apply_configuration" deploy step:
  the "agent" RAID interface expects the final RAID configuration to
  be returned.

* Fixes the short timeout retries interval, which was previously "5"
  seconds, to a length that will allow the agent to retry after a
  network interruption. The time between retries is now "10" seconds,
  and the number of retries are set to "9" to help ensure intermittent
  network outages do not cause recoverable failures.

* Fixes an issue with high cpu usage caused by ironic-python-agent
  greenthread eventlent implementation.

  Using eventlet.sleep(0.1) instead of eventlet.sleep(0) gives other
  processes of IPA more cpu time to run.

* Speeds up going from inspection to cleaning with fast-track
  enabled by caching hardware information between the steps.

* Fixes serializing exceptions originating from ironic-lib.
  Previously an attempt to do so would result in a "TypeError", for
  example: *Object of type 'InstanceDeployFailure' is not JSON
  serializable*.

* Fixes an issue with the ironic-python-agent where we would call to
  setup the bootloader, which is necessary with software raid, but
  also attempt to clean up iSCSI. This can cause issues when using the
  "direct" "deploy_interface". Now the agent will only clean up iSCSI
  connections if iSCSI was explicitly started. For more information,
  please see story 2007937
  (https://storyboard.openstack.org/#!/story/2007937).

* The size of the ESP partition created for software RAID has been
  increased from 128 MiB to 550 MiB. This change is in line with the
  recent diskimage-builder change (https://opendev.org/openstack
  /diskimage-builder/commit/7fd52ba84180b4e749ccf4c9db8c49eafff46ea8)
  as well as the guidance from the author of gdisk
  (https://www.rodsbooks.com/efi-bootloaders/principles.html).

* Fixes failure to detect a hung file download connection in the
  event that the kernel has not rapidly detected that the remote
  server has hung up the socket. This can happen when there is
  intermittent and transient connectivity issues such as those that
  can occur due to LACP failure response hold-downs timers in
  switching fabrics.

* Devices with size 0 are now ignored when collecting inventory.
  Some hardware represents virtual floppy devices this way, see e.g.
  https://www.dell.com/community/Systems-Management-General/How-to-
  disable-iDRAC-Virtual-CD/td-p/4734424

Changes in ironic-python-agent 6.1.0..6.1.1
-------------------------------------------

74f9b3a set EVENTLET_NO_GREENDNS to 'yes'
0f2836a Return the final RAID configuration from apply_configuration
458dc2c Ignore devices with size 0 when collecting inventory
4746f09 Prevent un-needed iscsi cleanup
fd02912 Update jobs
8ab527e Limit Inspection->Lookup->Heartbeat lag
74e9ed1 Fix serializing ironic-lib exceptions
e69f140 Increase the ESP partition size to 550 MiB when using software RAID
aa500ec Fixes minor issues in the read() retries patch
802da0c Fix confusing logging when running asynchronous commands
af0bf46 Extend retries to 9, 10 seconds apart.
1b15271 Add full download retries
33c96d0 Add timeout operations to try and prevent hang on read()
ed3f00f Make the install_bootloader command asynchronous
0489144 Fix an issue with high cpu usage caused by ironic-python-agent
954ae39 CI: raise DIB jobs memory to 3 GiB
98a2b71 Update TOX_CONSTRAINTS_FILE for stable/ussuri
b40cf0d Update .gitreview for stable/ussuri


Diffstat (except docs and test files)
-------------------------------------

.gitreview                                         |   1 +
ironic_python_agent/__init__.py                    |  19 ++++
ironic_python_agent/agent.py                       |  14 ++-
ironic_python_agent/config.py                      |   4 +-
ironic_python_agent/encoding.py                    |  12 +++
ironic_python_agent/extensions/base.py             |  19 ++--
ironic_python_agent/extensions/image.py            |   8 +-
ironic_python_agent/extensions/iscsi.py            |   3 +-
ironic_python_agent/extensions/standby.py          | 100 ++++++++++++++++----
ironic_python_agent/hardware.py                    |  35 ++++++-
ironic_python_agent/inspector.py                   |   2 +-
ironic_python_agent/raid_utils.py                  |  14 ++-
ironic_python_agent/utils.py                       |   7 +-
...y-retries-image-downloads-67409a493c6d08ae.yaml |   6 ++
.../notes/apply-raid-aeca7848c6320d6b.yaml         |   6 ++
.../extend-retry-timeout-30c930a33d97c193.yaml     |   8 ++
...x-high-cpu-usage-eventlet-1dccf3b81dd42c47.yaml |   8 ++
.../notes/inspect-to-clean-b3616d843775c187.yaml   |   5 +
releasenotes/notes/lib-exc-41ee122eb4a04bc4.yaml   |   6 ++
...nt-needless-iscsi-cleanup-f8d602c0abc7e8ba.yaml |   9 ++
.../notes/raid-esp-size-2c322adb2d3b9ce7.yaml      |   9 ++
.../timeout_on_file_download-ed77918318316075.yaml |   9 ++
releasenotes/notes/zero-size-78d3be2ac8fd59c2.yaml |   6 ++
tox.ini                                            |   2 +-
zuul.d/ironic-python-agent-jobs.yaml               |  12 ++-
zuul.d/project.yaml                                |  14 ++-
34 files changed, 546 insertions(+), 95 deletions(-)







More information about the Release-announce mailing list