ironic-python-agent 3.6.0 (stein)
We are happy to announce the release of: ironic-python-agent 3.6.0: Ironic Python Agent Ramdisk This release is part of the stein stable release series. Download the package from: https://tarballs.openstack.org/ironic-python-agent/ For more details, please see below. 3.6.0 ^^^^^ Prelude ******* Starting with this release, the Ironic Python Agent images used in the CI (tinyipa) run with Python 3 by default. New Features ************ * Adds secondary sorting by device name when guessing the root disk. This makes the selection process more predictable and increases the chances that systems which try only one device for booting will actually successfully boot after deployment. As the primary sorting is still done by size, the root device hints still take priority, and the current behaviour is basically not specifying the order beyond size, this change does not break backwards compatibility. * Allows image checksum to be a URL pointing at a file with the image checksum or several checksums. Deprecation Notes ***************** * Ironic community provided CoreOS IPA images are deprecated. These images utilize contents that are injected into CoreOS images which utilize a chroot environment to enable full and unrestricted hardware access. This decision is not taken lightly, and is due to multiple constraints combined with technical changes over time as CoreOS has evolved. Per the CoreOS limitations (https://coreos.com/os/docs/latest /booting-with-iso.html#known-limitations), as of January 2019, CoreOS: 1) Current CoreOS images require 2GB of RAM to operate. As a result of the RAM requirement, it is problematic for continious integration testing to occur with the CoreOS based Ironic-Python-Agent image in OpenStack testing infrastructure. 2) UEFI is not a supported configuration. CoreOS details the required use of BIOS compatibility mode. Intel is anticipated to remove BIOS compatibility by 2020 (https://arstechnica.com/gadgets/2017/11/intel-to-kill-off-the-last- vestiges-of-the-ancient-pc-bios-by-2020/). 3) CoreOS is moving to require container use via passing ignition configuration. Limitations explicitly state there are no strait- forward methods of passing ignition configuration to a CoreOS instance. Mainly the developed intent is for such data to be passed in via a metadata service or configuration drive. 4) With the previously mentioned use of containers and ignition configuration, the OEM loading path previously used with CoreOS is no longer available moving forward as it has been changed to read ignition configuration files (https://github.com/coreos/ignition/pull/475). Bug Fixes ********* * Fixes a bug with bad whole disk images and config drives, where we would attempt to write a config drive partition to the disk without a valid partition table. * Fixes an issue where the ironic-python-agent is not able to stop when running with python3.x. Other Notes *********** * Updates the tinyipa build scripts to support building and running Ironic Python Agent with Python 3. * Updates the tinyipa build scripts to TinyCoreLinux 8.x * Change the Python default version used to build and run the Ironic Python Agent in the Tiny Core based image to 3.6. Changes in ironic-python-agent 3.5.0..3.6.0 ------------------------------------------- 872dba1 Update release notes 65e7fca Correct clean_build command according to Makefile a20366c Update python-hardware requirement for py3 37fce96 Replace ZUUL_REFNAME for zuul.branch dd300fe Run the imagebuild post playbook on all hosts 5b6bf0b Update path for publish jobs f821db3 Allow image checksum to be a URL fb74b55 Add secondary sorting by name when guessing root disk d94ad62 Building tinyipa with python3 by default 884e79a Move to zuulv3 074eb28 Deprecate CoreOS ramdisk support ec4a261 Build tinyipa with python3 d525f8a Making ironic-python-agent able to stop with python 3.x a365ff4 Build tinyipa with tinycore 8.x cf1127e Moving publish jobs to zuulv3 20a4887 Fix a regression in generate_upper_constraints.sh 041c179 Recover CI run detection in imagebuild a91a693 Remove dsvm from zuulv3 jobs 0450639 Add source code link for the project to README d45650f Replacing the HTTP protocal with HTTPS f7e90ea Update author email address 68ad366 Change HTTP links to HTTPS 27d4e6b Update http link to https fc2dfce Attempt to read the partition table after writing an image d8b2549 update the tox mini version 89903be add coverage job Diffstat (except docs and test files) ------------------------------------- README.rst | 4 + imagebuild/common/generate_upper_constraints.sh | 10 +- imagebuild/coreos/README.rst | 4 +- imagebuild/tinyipa/README.rst | 2 +- imagebuild/tinyipa/build-tinyipa.sh | 55 ++++-- imagebuild/tinyipa/build_files/bootlocal.sh | 6 +- imagebuild/tinyipa/build_files/buildreqs.lst | 30 ++- .../tinyipa/build_files/buildreqs_python2.lst | 2 + .../tinyipa/build_files/buildreqs_python3.lst | 2 + imagebuild/tinyipa/build_files/fakeuname | 5 +- imagebuild/tinyipa/build_files/finalreqs.lst | 5 +- .../tinyipa/build_files/finalreqs_python2.lst | 1 + .../tinyipa/build_files/finalreqs_python3.lst | 2 + imagebuild/tinyipa/finalise-tinyipa.sh | 39 +++- ironic_python_agent/agent.py | 2 +- ironic_python_agent/api/controllers/v1/__init__.py | 2 +- ironic_python_agent/errors.py | 2 +- ironic_python_agent/extensions/standby.py | 120 +++++++++--- ironic_python_agent/utils.py | 13 +- playbooks/ironic-python-agent-buildimage/post.yaml | 43 +++++ playbooks/ironic-python-agent-buildimage/run.yaml | 56 ++++++ .../post.yaml | 15 -- .../run.yaml | 103 ---------- .../post.yaml | 15 -- .../run.yaml | 128 ------------- .../post.yaml | 43 ----- .../ironic-python-agent-buildimage-coreos/run.yaml | 97 ---------- .../post.yaml | 43 ----- .../run.yaml | 98 ---------- plugin-requirements.txt | 3 +- ...ng-by-name-for-root-disks-4de2c0358b9a1e2c.yaml | 10 + ...uild-tinyipa-with-python3-d4a64aa18f970968.yaml | 4 + ...ld-tinyipa-with-tinycore8-b39d0415b1c25f6b.yaml | 3 + ...ition-table-after-writing-34efbd557d8de7cb.yaml | 6 + .../notes/deprecate-coreos-8b01bcf796c0dc54.yaml | 32 ++++ .../notes/enhance-checksum-2256ffdcce13836e.yaml | 8 +- ..._metadata_from_partitions-4f1902533d530b8f.yaml | 4 +- ...-agent-unable-to-stop-py3-6c210793476968d1.yaml | 5 + .../notes/image-checksum-39b2ceef40933c28.yaml | 5 + ...rallel-erase-disk-devices-09ea33d5443aead0.yaml | 11 +- .../tinyipa-python3-default-b8434793e17465db.yaml | 7 + setup.cfg | 4 +- zuul.d/ironic-jobs.yaml | 87 --------- zuul.d/ironic-python-agent-jobs.yaml | 144 ++++++++++++++ zuul.d/legacy-ironic-jobs.yaml | 28 --- zuul.d/project.yaml | 26 +-- 52 files changed, 828 insertions(+), 788 deletions(-) Requirements updates -------------------- diff --git a/plugin-requirements.txt b/plugin-requirements.txt index 543823f..3af0a52 100644 --- a/plugin-requirements.txt +++ b/plugin-requirements.txt @@ -2 +2,2 @@ -hardware>=0.9 +hardware>=0.20.0 +
participants (1)
-
no-reply@openstack.org