[ironic] bifrost 5.0.0 (queens)
We high-spiritedly announce the release of: bifrost 5.0.0: Deployment of physical machines using OpenStack Ironic and Ansible This release is part of the queens release series. Download the package from: https://tarballs.openstack.org/bifrost/ For more details, please see below. 5.0.0 ^^^^^ New Features ************ * Now leverages stable Ansible version (2.4). * The bifrost role which is used to create a clouds.yaml, now also creates a openrc file in the user home directory when keystone is enabled. This should be used to call OpenStack CLI utilities and have proper credentials. The file location is "~/openrc". * The "enabled_hardware_types" variable has been introduced to support use of hardware types. The "default_deploy_interface" variable has been introduced to support setting a default method of deployment for new nodes. It defaults to the "direct" deployment interface. * Adds support for Fedora 25, 26, and 27. * Adds support for tweaking the vCPU model for the VMs created by bifrost-create-vm-nodes. The default vCPU model is "host-model" which should provide the best possible performance whilst using only the CPU features which are understood by libvirt. The model can be changed using the "test_vm_cpu" Ansible variable. * Adds support for modifying the vNIC model for the VMs created by bifrost-create-vm-nodes. The default vNIC model is "virtio" which should provide the best possible performance. The model can be changed using the "test_vm_nic" Ansible variable. Known Issues ************ * Support for hardware types is in the beginning stages in Bifrost. Presently the "os_ironic" ansible module does not yet understand hardware types. Deprecation Notes ***************** * Ironic has deprecated support for classic drivers. These were the drivers that were prepended with "agent" or "pxe". The new default hardware type, which superceeds drivers, is "ipmi". The default deployment interface is "direct", which superceeds the "agent" driver type. Support for classic Drivers, will be removed from Bifrost in the Rocky release cycle. Bug Fixes ********* * Addresses issues with setuptools on various distributions such as Centos 7.3 and Fedora 25 where the shipped version is too old to build the python packages. * Changes the application of SELinux security policy from using the command line tools to leveraging the Ansible module which addresses issues with newer version of Ansible on Fedora. Changes in bifrost 4.0.0..5.0.0 ------------------------------- 03a6511 Update release notes for release d5e8d0f Fix extra double-quote 0e4456a Fix for proper deployment when keystone enabled and minimal OS b2b168d Fix unreachable link in document 01b2c3b Add creation of openrc file when keystone enabled 70bb963 Zuul: Remove project name b705d4e Fix typo in playbook markdown readme d12e6d5 Don't copy ironic's policy.json sample 593db8a Allow missing ironic policy.json sample d5bd223 Fix non-venv keystone handling 5cd8658 Fix upper-constraints use 9b15ca2 Fedora 25-27 support 4645366 Deprecate Classic Drivers b3e8e95 roles: bifrost-ironic-install: Download the iPXE loader file a081b8e roles: bifrost-create-vm-nodes: Set NIC model to 'virtio' 7676c5b Rewrite iptables rules with Ansible module b4629da Updated from global requirements 2129f92 Updated from global requirements f61ab7a Updated from global requirements 660038a Add metadata version openstack/2015-10-15 8b4c956 roles: bifrost-create-vm-nodes: Set CPU model to 'host-model' ebdae84 scripts: install-deps.sh: Ensure distros have package metadata available 104a564 Make ipxe boot script templatable d81c122 Fix inspector not found when noauth a9f0fd9 playbooks: bifrost-create-dib-image: Add required dib packages 6f5d1e5 Make tinyipa and tinyipa-opensuse-423 work for other repos 27e62b1 Fix debian IPA build 0790a87 Add collection of IPA failure logs d161565 Fix logging permissions for IPA b78abfc Updated from global requirements 7047a32 Add doc8 into pep8 check to scan rst files 12e6570 Clean up zuul files 12ef3cb Correct rabbitmq port usage cc46b92 Updated from global requirements 4df852b Bump ansible version to latest stable f425af5 Zuul: add file extension to playbook path 6f0eaaf Clean up jinja2 templates on conditional checks a81172a Move legacy bifrost jobs in-tree f52ca4e Unquote empty braces inside jinja blocks 580ec89 Fix some old hardcoded /httpboot references 5d82414 scripts: install-deps.sh: Set noninteractive for DEBIAN_FRONTEND 69d6cba scripts: install-deps.sh: Fix distribution detection 71a7949 Fix bug in setting dns servers 03cb0c6 playbooks: Fix path when using virtual environment 50b7cd4 Cleanup test-requirements adfe6b5 Different pip install with/without venv b6a6144 Install the latest version of setuptools 9819720 Fix to use "." to source script files bf74574 Set language to c to fix latest bindep problems 2c6d130 Update and replace http with https for doc links 2752410 Updated from global requirements 60b9a99 playbooks: roles: bifrost-ironic-install: Set defaults for /etc/hosts 2dc2ca7 Fix the dhcp checks on centos 6dd734a Correct inspector ironic.conf params for authentication e846a5d Correct keystone database location 0e05496 Split inspection conditionals depending on auth mode 53c7656 Fix bug in ironic policy 21ca459 Use 'none' auth plugin w/o keystone 001451b Change perms for the VM logs 63d33d4 Updated from global requirements 2af8f41 Updated from global requirements 2d62bdb Updated from global requirements e29f827 [releasenotes] update 799f50b Update reno for stable/pike Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 2 +- HACKING.rst | 2 +- README.rst | 4 +- bifrost/inventory.py | 8 +- playbooks/inventory/baremetal.json.example | 4 +- playbooks/inventory/baremetal.yml.example | 4 +- .../bifrost-integration-dhcp-centos-7/post.yaml | 15 +++ .../bifrost-integration-dhcp-centos-7/run.yaml | 73 +++++++++++++++ .../post.yaml | 15 +++ .../bifrost-integration-dhcp-opensuse-423/run.yaml | 74 +++++++++++++++ .../legacy/bifrost-integration-dhcp/post.yaml | 15 +++ playbooks/legacy/bifrost-integration-dhcp/run.yaml | 73 +++++++++++++++ .../post.yaml | 15 +++ .../run.yaml | 74 +++++++++++++++ .../post.yaml | 15 +++ .../run.yaml | 74 +++++++++++++++ .../bifrost-integration-dibipa-debian/post.yaml | 15 +++ .../bifrost-integration-dibipa-debian/run.yaml | 73 +++++++++++++++ .../bifrost-integration-tinyipa-centos-7/post.yaml | 15 +++ .../bifrost-integration-tinyipa-centos-7/run.yaml | 73 +++++++++++++++ .../post.yaml | 15 +++ .../run.yaml | 73 +++++++++++++++ .../legacy/bifrost-integration-tinyipa/post.yaml | 15 +++ .../legacy/bifrost-integration-tinyipa/run.yaml | 72 ++++++++++++++ playbooks/library/network_metadata.py | 2 +- .../roles/bifrost-configdrives-dynamic/README.md | 2 +- .../bifrost-configdrives-dynamic/tasks/main.yml | 40 ++++---- .../bifrost-configdrives-dynamic/vars/main.yml | 9 +- .../bifrost-create-dib-image/defaults/main.yml | 6 ++ .../roles/bifrost-create-dib-image/tasks/main.yml | 8 +- .../roles/bifrost-create-dib-image/vars/main.yml | 16 ++++ .../bifrost-create-vm-nodes/defaults/main.yml | 8 ++ .../defaults/required_defaults_Fedora.yml | 16 ++++ .../bifrost-create-vm-nodes/tasks/create_vm.yml | 22 +++-- .../roles/bifrost-create-vm-nodes/tasks/main.yml | 6 +- .../tasks/prepare_libvirt.yml | 13 ++- .../templates/testvm.xml.j2 | 4 + playbooks/roles/bifrost-ironic-install/README.md | 12 +-- .../roles/bifrost-ironic-install/defaults/main.yml | 15 ++- .../defaults/required_defaults_Fedora_25.yml | 44 +++++++++ .../defaults/required_defaults_Fedora_26.yml | 45 +++++++++ .../defaults/required_defaults_Fedora_27.yml | 45 +++++++++ .../defaults/required_defaults_Suse_family.yml | 2 +- .../roles/bifrost-ironic-install/files/boot.ipxe | 4 +- .../bifrost-ironic-install/files/ironic_policy.te | 2 +- .../bifrost-ironic-install/tasks/bootstrap.yml | 87 ++++++++++------- .../tasks/create_tftpboot.yml | 8 +- .../bifrost-ironic-install/tasks/get_ipxe.yml | 2 +- .../tasks/inspector_bootstrap.yml | 4 +- .../roles/bifrost-ironic-install/tasks/install.yml | 23 ++++- .../bifrost-ironic-install/tasks/ironic_config.yml | 7 +- .../bifrost-ironic-install/tasks/pip_install.yml | 25 ++++- .../roles/bifrost-ironic-install/tasks/start.yml | 6 +- .../templates/ironic.conf.j2 | 23 ++++- .../bifrost-keystone-client-config/tasks/main.yml | 7 ++ .../templates/clouds.yaml.j2 | 3 +- .../templates/openrc.j2 | 23 +++++ playbooks/roles/bifrost-keystone-install/README.md | 1 + .../bifrost-keystone-install/defaults/main.yml | 6 +- .../bifrost-keystone-install/tasks/bootstrap.yml | 10 +- .../bifrost-keystone-install/tasks/install.yml | 42 ++++++++- .../bifrost-keystone-install/tasks/pip_install.yml | 2 +- .../roles/bifrost-test-dhcp/files/test-dhcp.py | 11 ++- .../bifrost-unprovision-node-dynamic/README.md | 2 +- playbooks/roles/ironic-enroll-dynamic/README.md | 4 +- playbooks/roles/ironic-inspect-node/README.md | 2 +- playbooks/roles/ironic-inspect-node/tasks/main.yml | 18 +++- playbooks/test-bifrost.yaml | 3 +- .../bump-ansible-version-35c201d1d6d30860.yaml | 4 + .../notes/create-openrc-9e7f959790f7f409.yaml | 6 ++ ...deprecate-classic-drivers-f88c53fa483aa7d5.yaml | 19 ++++ .../fedora-core-25-support-b9f8f258a9738a06.yaml | 23 +++++ .../vm-host-cpu-type-support-a09768f360372506.yaml | 7 ++ .../vm-nic-type-support-0ac47ccd3d56132c.yaml | 7 ++ releasenotes/source/index.rst | 2 + releasenotes/source/pike.rst | 6 ++ requirements.txt | 7 +- scripts/collect-test-info.sh | 11 ++- scripts/env-setup.sh | 4 +- scripts/install-deps.sh | 36 +++++-- test-requirements.txt | 16 ++-- tox.ini | 1 + zuul.d/legacy-bifrost-jobs.yaml | 104 +++++++++++++++++++++ zuul.d/project.yaml | 26 ++++++ 93 files changed, 1624 insertions(+), 210 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 1df6965..8ab0690 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,3 +5,4 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0 -oslo.log>=3.22.0 # Apache-2.0 -paramiko>=2.0 # LGPLv2.1+ +oslo.config>=5.1.0 # Apache-2.0 +oslo.log>=3.36.0 # Apache-2.0 +paramiko>=2.0.0 # LGPLv2.1+ +setuptools>=16.0,!=24.0.0,!=34.0.0,!=34.0.1,!=34.0.2,!=34.0.3,!=34.1.0,!=34.1.1,!=34.2.0,!=34.3.0,!=34.3.1,!=34.3.2,!=36.2.0 # PSF/ZPL diff --git a/test-requirements.txt b/test-requirements.txt index 557e3c3..3071177 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -8,5 +8,5 @@ coverage!=4.4,>=4.0 # Apache-2.0 -python-subunit>=0.0.18 # Apache-2.0/BSD -reno!=2.3.1,>=1.8.0 # Apache-2.0 -sphinx>=1.6.2 # BSD -openstackdocstheme>=1.16.0 # Apache-2.0 -oslotest>=1.10.0 # Apache-2.0 +doc8>=0.6.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0 +sphinx!=1.6.6,>=1.6.2 # BSD +openstackdocstheme>=1.18.1 # Apache-2.0 +oslotest>=3.2.0 # Apache-2.0 @@ -15,3 +15,3 @@ testscenarios>=0.4 # Apache-2.0/BSD -testtools>=1.4.0 # MIT -PyYAML>=3.10.0 # MIT -mock>=2.0 # BSD +testtools>=2.2.0 # MIT +PyYAML>=3.10 # MIT +mock>=2.0.0 # BSD
participants (1)
-
no-reply@openstack.org