[ironic] bifrost 4.0.0 (pike)
We are psyched to announce the release of: bifrost 4.0.0: Deployment of physical machines using OpenStack Ironic and Ansible This release is part of the pike release series. Download the package from: https://tarballs.openstack.org/bifrost/ For more details, please see below. Changes in bifrost 3.0.0..4.0.0 ------------------------------- 215f30a Minor reno fixes dd9782d Enable usage of no_proxy on install 864c498 Fix rendering in README aad9617 Centralize user documentation 631717d Removing ssh driver references bc0a12d Begin breaking out installation documentation 1b8ab72 Update .gitignore 8cffdf9 Updated from global requirements 11e514c Fix tools/vagrant_dev_env/vagrant.yml 38f4fe5 Handle log message interpolation by the logger in common/ bc5ee8d bifrost-create-vm-nodes: Do not use KVM VMs by default 234226a Removes unnecessary utf-8 encoding c9b0e50 Update .gitignore 86ab28c Allows to setup more than one nameserver 6c4652a Update URL home-page in documents according to document migration 531c695 Switch from oslosphinx to openstackdocstheme 67977f9 Enable warning-is-error for doc builds f5320d0 Updated from global requirements 5eeed0b Added the py35 env 4d0203b scripts: install-deps: Enable the EPEL repo when running in OpenStack CI adc20dc bindep.txt: Add explicit and missing dependencies ebbf2c8 bindep.txt: Install the epel-release repo on CentOS 30b9b43 scripts: install-deps.sh: Use --no-recommends on zypper 24d81ac Add bindep.txt file a6960de scripts: test-bifrost: Start MySQL service before configuring the DB 12d0874 Updated from global requirements 0448b22 scripts: install-deps: Add 'make' to the required packages 380813a Provide default for test-bifrost.yaml for clouds.yaml 762f4c7 Ensure ~/.config exists 84fdd08 Revert "Remove useless paramiko requirements" 0f8d502 Updated from global requirements cadc107 Add `when` to skip os_client_config in noauth mode acf0052 Use WORKSPACE for requirements 4200c39 Fix when clause in pymysql check on CentOS 10b1346 Fix a typo 905e9ca Updated from global requirements e199a3a Updated from global requirements deed8ec scripts: install-deps.sh: Add dnf as supported package manager 75a9692 Add a basic mission statement 0233a0e inventory: Add support for defining custom host groups 15fa11e Support configuring inspector processing hooks 7b29f14 Allow log directories to be configured e3ff784 Support extra PXE kernel arguments for Inspector ff75b0c Make ironic database use more configurable 47b4547 Updated from global requirements fd07db1 Ignore error when killall dnsmasq d29a371 Provide fallback variable if sudo is not used 34bccf2 Allow looking constraints file from env var 9e4e97f Remove hardcoded test interface c4e6afa Cleanup minor variable redefinition a1d0bf1 Correct inspector network_interface template 895bc4f Fix defaults for keystone role 5aff068 Stop running dnsmasq service before libvirt start 03f26d1 Fix endpoint creational in ironic 6bdea86 Remove policy file copy 3a48b47 playbooks: roles: Drop obsolete dib-utils package 8d2eab3 Updated from global requirements 2600d54 Trivial spacing fix. 92eb477 Allow undionly.kpxe boot option to be overridden 7417ff3 Fix clouds var in install.yaml playbook 78ae563 Add Note that trailing space is required. ecece0c Add missed extra_args to pip command b847e33 Resolve evaluation of bifrost-keystone-client-config 77bebc9 roles: bifrost-ironic-install: Retry failed pip installation a40dfaf roles: bifrost-create-vm-nodes: Improve host matching when deleting from vbmc de0a964 Always write clouds.yaml 8dfb294 Always install shade to system 390414b Fix some virtualenv-related places 8271fe3 Change dib element to enable serial console 952e99c roles: bifrost-ironic-install: Add PyMySQL dependency for ironic-dbsync 73d717c Updated from global requirements dfb4f0b Pass located tests directory in oslo debug d37b431 Serial-console renamed by diskimage-builder faecdb4 Ironic inventory source duplicates MACs c180998 playbooks: roles: bifrost-ironic-install: Retry failed PXE downloads 12376b9 Use virtualbmc for virtual BM nodes 3aaed64 Use JSON baremetal data in testing f888748 Use Ansible to create test VMs 9cbecb6 Fix README.rst d60209a playbooks: roles: bifrost-ironic-install: Verify checksum for IPA files 567e948 Updated from global requirements 7fad249 Documentation cleanup cc0f846 Update hacking in test-requirements.txt afa1f66 playbooks: roles: bifrost-create-vm-nodes: Reboot VM if boot fails 1c1277b scripts: test-bifrost.sh: Initialize the ZUUL_BRANCH variable 1bb4bc9 Add '-E' options to pass proxy env for sudo 9c18eea Workaround for network start race condition 7001a83 playbooks: roles: {ironic,keystone}: Drop --force-reinstall afa9951 Move database setup to bifrost 675bb34 Use env lookup to determine HOME for SSH pubkey a276381 Fix image creation when dib_os_release not defined cddb736 roles: bifrost-ironic-install: Reboot if DHCP configuration fails c158a83 Ignore upstream Ansible modules in pep8 tests aba4e15 Fix ironic-inspector.conf template bf030de Update release note index for ocata 37fd319 Fix ansible-pip-version.py script fc5e688 scripts: Collect logs even if deployment fails. 1a262cf Updated from global requirements 92c996d Add py35 to tox env list Diffstat (except docs and test files) ------------------------------------- .gitignore | 7 +- MISSION.rst | 9 + README.rst | 578 +-------------------- README.vagrant.rst | 64 --- bifrost/inventory.py | 70 ++- bindep.txt | 22 + playbooks/install.yaml | 8 +- playbooks/inventory/baremetal.json.example | 26 - playbooks/inventory/baremetal.yml.example | 20 - playbooks/inventory/group_vars/baremetal | 2 +- playbooks/inventory/group_vars/localhost | 2 +- playbooks/inventory/group_vars/target | 2 +- playbooks/library/network_metadata.py | 19 +- .../roles/bifrost-configdrives-dynamic/README.md | 4 +- .../bifrost-configdrives-dynamic/defaults/main.yml | 2 +- .../bifrost-configdrives-dynamic/tasks/main.yml | 2 +- .../tasks/update_facts_from_ironic.yaml | 1 + playbooks/roles/bifrost-create-dib-image/README.md | 7 +- .../roles/bifrost-create-dib-image/tasks/main.yml | 5 +- playbooks/roles/bifrost-create-vm-nodes/README.md | 129 ++++- .../bifrost-create-vm-nodes/defaults/main.yml | 32 +- .../defaults/required_defaults_CentOS.yml | 7 + .../defaults/required_defaults_Debian.yml | 5 + .../defaults/required_defaults_RedHat.yml | 6 +- .../defaults/required_defaults_Suse.yml | 5 + .../files/create_vm_nodes-for-role.sh | 282 ---------- .../bifrost-create-vm-nodes/tasks/create_vm.yml | 154 ++++++ .../roles/bifrost-create-vm-nodes/tasks/main.yml | 104 ++-- .../tasks/prepare_libvirt.yml | 125 +++++ .../bifrost-create-vm-nodes/templates/net.xml.j2 | 16 + .../templates/pool_dir.xml.j2 | 7 + .../templates/testvm.xml.j2 | 59 +++ .../bifrost-deploy-nodes-dynamic/tasks/main.yml | 1 + playbooks/roles/bifrost-ironic-install/README.md | 41 +- .../roles/bifrost-ironic-install/defaults/main.yml | 42 +- .../defaults/required_defaults_Debian_family.yml | 4 - .../defaults/required_defaults_Debian_jessie.yml | 4 - .../defaults/required_defaults_RedHat_family.yml | 4 - .../defaults/required_defaults_Suse_family.yml | 5 +- .../defaults/required_defaults_Ubuntu_16.04.yml | 2 - .../bifrost-ironic-install/tasks/bootstrap.yml | 114 +--- .../tasks/download_ipa_image.yml | 50 +- .../bifrost-ironic-install/tasks/get_ipxe.yml | 4 + .../tasks/inspector_bootstrap.yml | 27 +- .../tasks/inspector_install.yml | 2 + .../roles/bifrost-ironic-install/tasks/install.yml | 52 +- .../bifrost-ironic-install/tasks/ironic_config.yml | 12 + .../tasks/keystone_setup.yml | 3 + .../bifrost-ironic-install/tasks/pip_install.yml | 15 + .../tasks/redhat_libvirt_changes.yml | 25 - .../tasks/staging_install.yml | 2 +- .../roles/bifrost-ironic-install/tasks/start.yml | 1 + .../templates/dnsmasq.conf.j2 | 12 +- .../templates/inspector-default-boot-ipxe.j2 | 4 +- .../templates/ironic-inspector.conf.j2 | 11 +- .../templates/ironic.conf.j2 | 8 +- .../bifrost-ironic-install/templates/nginx.conf.j2 | 4 +- .../defaults/main.yml | 2 +- .../bifrost-keystone-client-config/tasks/main.yml | 14 +- .../templates/clouds.yaml.j2 | 7 + .../bifrost-keystone-install/defaults/main.yml | 5 + .../bifrost-keystone-install/tasks/bootstrap.yml | 14 +- .../bifrost-keystone-install/tasks/install.yml | 1 + .../bifrost-keystone-install/tasks/pip_install.yml | 3 +- .../bifrost-prep-for-install/defaults/main.yml | 1 + .../roles/bifrost-test-dhcp/files/test-dhcp.py | 61 ++- .../tasks/main.yml | 1 + .../roles/ironic-delete-dynamic/tasks/main.yml | 1 + .../roles/ironic-enroll-dynamic/defaults/main.yml | 5 +- .../roles/ironic-enroll-dynamic/tasks/main.yml | 1 + playbooks/roles/ironic-inspect-node/tasks/main.yml | 1 + playbooks/test-bifrost-create-vm.yaml | 17 +- playbooks/test-bifrost.yaml | 19 +- .../notes/add-bindep-support-8f54b246a1d2bca5.yaml | 14 + ...always-create-clouds-file-d0b72808155a9344.yaml | 12 + .../notes/ansible-virt-0759a857daaacccf.yaml | 18 + ...rect-requirements-ci-path-5ced93013d2c9b02.yaml | 6 + ...nspector-processing-hooks-addf80be5f31aa61.yaml | 8 + .../notes/inspector-pxe-args-c65acb610507ab08.yaml | 11 + .../install-SUDO_USER-fix-2bf577269008587f.yaml | 6 + .../list_of_nameservers-cea9e03675bf56bf.yaml | 7 + .../notes/log-directories-87b86df40464bb2d.yaml | 11 + ...mysql-database-separation-d6bf9a4f22cd8bbb.yaml | 15 + releasenotes/notes/nossh-16577ec5c3b82594.yaml | 32 ++ .../notes/override-dhcp-boot-6659585b75d58757.yaml | 17 + ...verride_upper_constraints-79f837d8ac58e53d.yaml | 8 + .../notes/passing-no-proxy-32191c148442c57d.yaml | 5 + ...ort-custom-ansible-groups-38ad5d3a930b17eb.yaml | 42 ++ .../test-with-json-inventory-b05204009f880431.yaml | 30 ++ .../verify-checksum-ipa-a73cf936d0ae2ce1.yaml | 20 + releasenotes/source/conf.py | 12 +- releasenotes/source/index.rst | 15 +- releasenotes/source/mitaka.rst | 6 +- releasenotes/source/newton.rst | 6 +- releasenotes/source/ocata.rst | 6 + requirements.txt | 7 +- scripts/ansible-pip-str.py | 4 +- scripts/collect-test-info.sh | 2 + scripts/env-setup.sh | 2 +- scripts/install-deps.sh | 64 ++- scripts/split_json.py | 99 ++++ scripts/test-bifrost.sh | 63 ++- setup.cfg | 4 +- setup.py | 2 +- test-requirements.txt | 11 +- tools/create_vm_nodes.sh | 233 --------- tools/vagrant_dev_env/vagrant.yml | 12 +- tools/virsh_dev_env/README.md | 65 --- tox.ini | 16 +- troubleshooting.rst | 216 -------- 132 files changed, 3059 insertions(+), 2192 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 47f0055..1df6965 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,3 +4,4 @@ -pbr>=1.8 # Apache-2.0 -oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 -oslo.log>=3.11.0 # Apache-2.0 +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+ diff --git a/test-requirements.txt b/test-requirements.txt index 29974b1..557e3c3 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking<0.11,>=0.10.0 +hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 @@ -7 +7 @@ hacking<0.11,>=0.10.0 -coverage>=4.0 # Apache-2.0 +coverage!=4.4,>=4.0 # Apache-2.0 @@ -9,3 +9,3 @@ python-subunit>=0.0.18 # Apache-2.0/BSD -reno>=1.8.0 # Apache-2.0 -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD -oslosphinx>=4.7.0 # Apache-2.0 +reno!=2.3.1,>=1.8.0 # Apache-2.0 +sphinx>=1.6.2 # BSD +openstackdocstheme>=1.16.0 # Apache-2.0 @@ -16,0 +17 @@ PyYAML>=3.10.0 # MIT +mock>=2.0 # BSD
participants (1)
-
no-reply@openstack.org