[openstack-dev] [release][stable][ironic] ironic-python-agent 1.2.0 release (mitaka)

no-reply at openstack.org no-reply at openstack.org
Tue Mar 22 10:09:12 UTC 2016


We are delighted to announce the release of:

ironic-python-agent 1.2.0: Ironic Python Agent Ramdisk

This release is part of the mitaka stable release series.

For more details, please see below.

1.2.0
^^^^^


New Features
************

* Add new 'system_vendor' information to data - Add hardware vendor
  information(product name, serial number, manufacturer) to data. This
  will be able to give Ironic Inspector hints to detect driver.

* Add support for partition images in IPA. This commit adds the
  ironic-lib as the requirement for the IPA package.

* Debug logging can now be enabled by setting "ipa-debug" kernel
  parameter.

* Root device hints extended to support the device name.

* Add a new sync() command to the standby extension. When invoked,
  the new command is responsible for flushing the file system buffers
  to the disk.


Bug Fixes
*********

* dmidecode output produces less parsing errors and logs common and
  normal output like "No Module Installed" or "Not Installed" in debug
  instead of error.

* IPA will now advertise IP address via which the Ironic API is
  routed instead of using the first available. See
  https://bugs.launchpad.net /ironic-python-agent/+bug/1558956.

* This enables virtual media deploy even if virtual floppy device
  name is capitalized to "/dev/disk/by-label/IR-VFD-DEV". see
  https://bugs.launchpad.net/ironic/+bug/1541167 for details.

* Stop using SYSRQ when performing the in-band reboot or power off
  because it has a similar effect to a hardware reset button/power
  switch and can be problematic on some hardware types. Instead,
  reboot/power off the node via the "poweroff" and "reboot" commands
  (soft power action).

* Ensure block devices are detected by the host OS before listing
  them.

Changes in ironic-python-agent 1.1.0..1.2.0
-------------------------------------------

936b2e4 Fixes the agent message for uefi netboot for partition image
b936829 Add psmisc and dosfstools to IPA packages list
6829d34 Bind to interface routable to the ironic host, not a random one
7a24ba8 Fix tinyipa build uname, picking up hosts kernel
d3f6cfb Fix build tinyipa to work on Fedora
cbd90c1 Replace SYSRQ commands
4b802c4 Add sync() command to the standby module
944595a Add support for partition images in agent driver.
bb60578 Fixes programmatic error in _install_grub()
f09dce7 Fix programmatic error in heartbeat()
58f86d0 Stop trying to log stdout when fetching logs during inspection
944dc4e CoreOS: Disable unused services
d25d94b Change to use WARNING level for heartbeat conflict errors
055998c Wait for udev to settle before listing the block devices
b5f9d31 Updated from global requirements
f961169 Update DIB description for IPA docs
1437e15 Allow enabling debug level via kernel cmdline
8bf5651 Add DIB ironic-agent element to readme for IPA
7fe40bb Replace all the 'self.log' calls with global LOG
d66fa52 Reduced restriction of parsing for dmidecode output
c716293 Catch OSError as well to return a better error message
b8e8927 Updated from global requirements
c9674da Document hardware inventory sent to lookup and inspection
52fc4f8 Update unit tests to use six.moves.builtins.open
f9344a7 TinyIPA: Prevent install of pre-release dependencies
589145b TinyIPA: Explicitly use /bin/bash instead of /bin/sh
3823a53 Add 'system_vendor' information to data
855e301 Updated from global requirements
8f5ed3e Clear GPT and MBR data structures on disk before imaging
73f81f2 Fix vfd mount for capitalized device name
1ffaaf6 Add support for proxy servers during image build
df701c9 Replace backoff looping call with oslo_service provided version
7c85ed8 Leave git installed in docker builder
6752ce8 Extend root device hints to support device name
632c7e6 Add tinyipa to IPA imagebuild directory
33b482a Updated from global requirements
0090512 Disable xattrs in IPA extraction
fac700c Change assertTrue(isinstance()) by optimal assert
61b4387 Allow hardware managers to override clean step priority
da90010 Update typos
2b07976 Fix params order in assertEqual
b563196  make enforce_type=True in CONF.set_override
a70d994 Switch to post-versioning
8522a55 Remove unused logging

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

.gitignore                                         |   1 +
Dockerfile                                         |  36 ++-
README.rst                                         |   3 +-
imagebuild/README.rst                              |   3 +
imagebuild/coreos/docker_build.bash                |  17 +
imagebuild/coreos/docker_clean.bash                |   2 +-
imagebuild/coreos/oem/cloud-config.yml             |  20 +-
imagebuild/tinyipa/.gitignore                      |  12 +
imagebuild/tinyipa/Makefile                        |  31 ++
imagebuild/tinyipa/README.rst                      |  82 +++++
imagebuild/tinyipa/build-iso.sh                    |  16 +
imagebuild/tinyipa/build-tinyipa.sh                |  91 ++++++
imagebuild/tinyipa/build_files/bootlocal.sh        |  21 ++
imagebuild/tinyipa/build_files/buildreqs.lst       |  18 ++
imagebuild/tinyipa/build_files/fakeuname           | 104 +++++++
imagebuild/tinyipa/build_files/finalreqs.lst       |  14 +
imagebuild/tinyipa/build_files/isolinux.cfg        |   9 +
imagebuild/tinyipa/finalise-tinyipa.sh             |  93 ++++++
ironic_python_agent/agent.py                       | 104 ++++---
ironic_python_agent/backoff.py                     | 117 -------
ironic_python_agent/cmd/agent.py                   |   6 +
ironic_python_agent/errors.py                      |  18 +-
ironic_python_agent/extensions/base.py             |   1 -
ironic_python_agent/extensions/clean.py            |  81 ++++-
ironic_python_agent/extensions/image.py            |   5 +-
ironic_python_agent/extensions/iscsi.py            |   2 +-
ironic_python_agent/extensions/standby.py          | 113 ++++++-
ironic_python_agent/hardware.py                    |  92 +++++-
ironic_python_agent/inspector.py                   |   7 +-
ironic_python_agent/ironic_api_client.py           |  23 +-
.../shell/copy_configdrive_to_disk.sh              |   3 +
ironic_python_agent/shell/shutdown.sh              |  11 +-
ironic_python_agent/shell/write_image.sh           |   4 +-
ironic_python_agent/utils.py                       |  17 +-
proxy.sh                                           |   6 +
.../notes/add-unit-test-cc4a1a05859ad17d.yaml      |   5 +
.../notes/add-vendor-info-56be9a8605d80bf0.yaml    |   5 +
.../notes/advertise-address-c3b152fe475fb539.yaml  |   5 +
.../agent_partition_image-91941adc6683c673.yaml    |   5 +
...r-capitalized-device-name-db7f519e900f4e22.yaml |   4 +
releasenotes/notes/ipa-debug-68c86101b1fdc3d9.yaml |   3 +
.../name-root-device-hints-0cfc8c90d03c8bf0.yaml   |   3 +
.../notes/new-sync-command-6f5fa55df2fd5903.yaml   |   5 +
.../notes/remove-sysrq-2c2804930180f408.yaml       |   7 +
.../notes/udev-settle-f75db34db990ad68.yaml        |   3 +
requirements.txt                                   |  33 +-
setup.cfg                                          |   1 -
test-requirements.txt                              |  16 +-
61 files changed, 1895 insertions(+), 602 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index dfd9da6..b17c8d0 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,8 +4,8 @@
-pbr>=1.6
-eventlet>=0.17.4
-iso8601>=0.1.9
-netaddr!=0.7.16,>=0.7.12
-netifaces>=0.10.4
-oslo.config>=3.2.0 # Apache-2.0
-oslo.concurrency>=2.3.0 # Apache-2.0
-oslo.i18n>=1.5.0 # Apache-2.0
+pbr>=1.6 # Apache-2.0
+eventlet!=0.18.3,>=0.18.2 # MIT
+iso8601>=0.1.9 # MIT
+netaddr!=0.7.16,>=0.7.12 # BSD
+netifaces>=0.10.4 # MIT
+oslo.config>=3.7.0 # Apache-2.0
+oslo.concurrency>=3.5.0 # Apache-2.0
+oslo.i18n>=2.1.0 # Apache-2.0
@@ -15,2 +15,2 @@ oslo.service>=1.0.0 # Apache-2.0
-oslo.utils>=3.2.0 # Apache-2.0
-pecan>=1.0.0
+oslo.utils>=3.5.0 # Apache-2.0
+pecan>=1.0.0 # BSD
@@ -18,5 +18,5 @@ Pint>=0.5 # BSD
-psutil<2.0.0,>=1.1.1
-pyudev
-requests!=2.9.0,>=2.8.1
-rtslib-fb>=2.1.41
-six>=1.9.0
+psutil<2.0.0,>=1.1.1 # BSD
+pyudev # LGPLv2.1+
+requests!=2.9.0,>=2.8.1 # Apache-2.0
+rtslib-fb>=2.1.41 # Apache-2.0
+six>=1.9.0 # MIT
@@ -24 +24,2 @@ stevedore>=1.5.0 # Apache-2.0
-WSME>=0.8
+WSME>=0.8 # MIT
+ironic-lib>=1.1.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index fb36bf4..b34f202 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -5,6 +5,6 @@ hacking<0.11,>=0.10.0
-coverage>=3.6
-discover
-mock>=1.2
-testrepository>=0.0.18
-testtools>=1.4.0
-python-subunit>=0.0.18
+coverage>=3.6 # Apache-2.0
+discover # BSD
+mock>=1.2 # BSD
+testrepository>=0.0.18 # Apache-2.0/BSD
+testtools>=1.4.0 # MIT
+python-subunit>=0.0.18 # Apache-2.0/BSD
@@ -15,2 +15,2 @@ doc8 # Apache-2.0
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2
-sphinxcontrib-pecanwsme>=0.8
+sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
+sphinxcontrib-pecanwsme>=0.8 # Apache-2.0





More information about the OpenStack-dev mailing list