We are excited to announce the release of: tripleo-upgrade 4.0.0: tripleo-upgrade - An ansible role for upgrade and update a TripleO deployment The source is available from: https://opendev.org/openstack/tripleo-upgrade Download the package from: https://tarballs.openstack.org/tripleo-upgrade/ For more details, please see below. Changes in tripleo-upgrade 3.0.0..4.0.0 --------------------------------------- 39d4b47 OpenDev Migration Patch db7e04b Add new oc_hosts_roles variable. 00ed89b Option to specify python version and use package instead of yum. f3bbe18 Use the new limit option. 34936a2 [FFWD] Add missing post* workarounds calls. 42beb3e [FFWD] Align workarounds templating with upgrades. d67e6e7 Switch to more specific include modules for ffwd. 6e9762f Switch to more specific include modules for updates. 571d6b0 Switch to more specific include modules for upgrades. 2ff51bd Switch to more specific include statements. 4776547 [Configuration] Remove the build documentation. 4d62924 Remove become and become_user from include_role 34b12e0 Allow to specify order of roles upgrade. 9fec316 Fix order for applying workarounds 72d9519 Simplify some scripts and remove some unnecessary jq usage e3e97be [Documentation] Migrate the format. 1d03dfb Address ansible-lint issues 8ac74a8 Migrate linting to pre-commit 711a673 Cleanup irrelevant scripts from previous releases. 6ea9642 Drop overcloud-user for ceph external-upgrade. 82b0ad6 Fix condition for setting workload_memory fact. 353589b Fix typo in option name. c7a1178 [validation] Filter Neutron sidecar containers 0628e5f [Configuration] Update min tox version. d1888ac Don't wait on ERROR VM state a51bd6f [Core] Change the author mail. 96b4bec Autodiscover SSL cert after uc upgrade cc9133b Assert workloads are spawned in different stages 1235f10 Do not adjust roles data for minor updates. 2fd1b26 Drop remaining ssh-user from templates. 43cc0db Run online data migration before update/upgrade converge. ba36d95 [validation] ignore openstack-neutron-dhcp-agent as it is not restarting d8d12b9 Fix typo in workarounds step name 8c37eaa Use Jinja2 macro to remove redundancy in workarounds.sh.j2. ebc575a Remove tripleo-ci-centos-7-containerized-undercloud-upgrades from gate 6411e52 Drop ssh-user from 'upgrade run' template. f2beaf8 Set containerized_undercloud_upgrade to true 19ff8a7 Add missing bracket in jinja filter 7442009 Set pipefail during overcloud upgrade tasks. 037919f Drop deprecated Telemetry services from custom roles_data. 147ae80 Add container image prepare script to upgrade workflow. bd559cb Allow specify Ceph upgrade workarounds. 7e0412e Add timeout to openstack command 203db80 Pass stack name during minor update. abbf554 Add cli_opts_params.yaml to update prepare/converge. 9246d9d Add containers-prepare parameter to upgrade scripts. 2dba1be Add rocky specific parameters to custom NICs. 8cdda0e Fix variables for workaround variables. ed4cdcc Function to apply workarounds 4c28657 Add ContainerImagePrepare to custom roles_data 7c0fbc0 Adjust templating for upgrade scripts. c0c804d Use external-(upgrade|update) commands for Ceph. c0fad7c Set container_cli for undercloud 2caf0d5 Fix variable name for workload_launch task. 195ac92 Fix linters E102 Error 8ca800a Replace RabbitMQ with OsloMessaging(Rpc|Notify) 204787b SSH to node before validating services. 4611303 Update required packages for containerized undercloud upgrade f2d0bc0 fix tox python3 overrides 6e72e7d Assert services/containers are started after reboot. 1e04ab8 Don't change user during ping check. d2d32c9 Configure undercloud for containerized upgrade. 6d83ff9 Use ansible_host variable in wait_for task. 493446c Enhance undercloud reboot procedure for baremetal f87d7c5 Update reno for stable/rocky ee96eea Set container_images_file for containerized undercloud. Diffstat (except docs and test files) ------------------------------------- .ansible-lint | 15 ++ .gitreview | 2 +- .pre-commit-config.yaml | 41 ++++ .yamllint | 6 + README.md => README.rst | 95 +++++----- ci-scripts/ansible-lint.sh | 15 -- defaults/main.yml | 39 ++-- infrared_plugin/main.yml | 84 ++++----- meta/main.yml | 207 ++------------------- releasenotes/source/index.rst | 1 + releasenotes/source/rocky.rst | 6 + requirements.txt | 1 - setup.cfg | 4 +- tasks/common/adjust-roles-data.yaml | 32 +++- tasks/common/auxilary-facts.yaml | 8 +- tasks/common/controller_post_script.yml | 4 +- tasks/common/controller_post_scripts.yml | 1 + tasks/common/convert_ceph_params.yaml | 22 ++- tasks/common/convert_cli_opts_params.yaml | 20 +- tasks/common/convert_nic_templates.yaml | 6 +- tasks/common/convert_roles_data.yaml | 1 + tasks/common/create_http_test_scripts.yml | 6 +- .../create_l3_agent_connectivity_check_script.yml | 1 + .../create_l3_agent_failover_check_script.yml | 1 + tasks/common/create_nova_actions_check_script.yml | 1 + tasks/common/create_workload.yml | 1 - tasks/common/load_roles_from_inventory.yaml | 24 ++- .../queens_to_rocky_adjust_nic_templates.yaml | 43 +++++ tasks/common/ssh_config_skip_host.yml | 1 + tasks/common/undercloud_validate_upgrade.yaml | 121 ++++++------ tasks/fast-forward-upgrade/convert_roles_data.yaml | 27 +-- tasks/fast-forward-upgrade/create-ffu-scripts.yaml | 1 + .../create-prepare-scripts.yaml | 61 +++--- .../ffu_update_stack_outputs.yaml | 6 +- tasks/fast-forward-upgrade/ffu_upgrade_ceph.yaml | 7 +- .../fast-forward-upgrade/ffu_upgrade_converge.yaml | 6 +- tasks/fast-forward-upgrade/main.yml | 146 ++++++++++----- tasks/fast-forward-upgrade/overcloud_bulk.yaml | 18 +- tasks/fast-forward-upgrade/overcloud_role.yaml | 33 ++-- tasks/fast-forward-upgrade/undercloud-upgrade.yml | 3 +- tasks/update/create-overcloud-update-scripts.yaml | 32 +++- tasks/update/create-undercloud-update-scripts.yaml | 3 +- tasks/update/main.yml | 59 ++++-- tasks/update/overcloud_update_converge.yml | 10 +- tasks/update/overcloud_update_prepare.yml | 11 +- tasks/update/overcloud_update_run.yml | 11 +- tasks/upgrade/ceph_upgrade_run.yml | 3 +- tasks/upgrade/compute_detect.yml | 25 --- tasks/upgrade/compute_upgrade.yml | 6 - tasks/upgrade/configure_uc_containers.yml | 60 ++++++ tasks/upgrade/container_images.yaml | 5 - tasks/upgrade/controller_node_upgrade.yml | 2 +- tasks/upgrade/controller_post_upgrade.yml | 1 + .../upgrade/create-overcloud-upgrade-scripts.yaml | 63 +++++-- .../upgrade/create-undercloud-upgrade-scripts.yaml | 9 +- tasks/upgrade/docker_registry_images_env.yaml | 5 - tasks/upgrade/kill_ssh.yaml | 1 + tasks/upgrade/local_docker_registry_env.yaml | 3 - tasks/upgrade/main.yml | 93 ++++++--- tasks/upgrade/node_upgrade.yml | 11 -- tasks/upgrade/non_controller_upgrade_scripts.yml | 14 -- tasks/upgrade/overcloud_upgrade_converge.yml | 10 +- tasks/upgrade/overcloud_upgrade_prepare.yml | 16 +- tasks/upgrade/overcloud_upgrade_run.yml | 8 +- tasks/upgrade/step_upgrade.yml | 45 ----- tasks/upgrade/swiftstorage_upgrade.yml | 11 -- tasks/upgrade/undercloud_ssl_camap.yaml | 71 +++++-- tasks/upgrade/use_oooq.yaml | 6 +- templates/ceph-update-run.sh.j2 | 66 +++++-- templates/ceph-upgrade-run.sh.j2 | 77 +++++--- templates/check_service_galera.sh.j2 | 2 +- templates/check_service_haproxy.sh.j2 | 2 +- templates/check_service_rabbitmq.sh.j2 | 2 +- templates/check_service_reboot.sh.j2 | 2 +- templates/check_service_redis.sh.j2 | 2 +- .../overcloud_upgrade_nodes.sh.j2 | 2 +- .../overcloud_upgrade_role.sh.j2 | 2 +- templates/fast-forward-upgrade/workarounds.sh.j2 | 143 +++++--------- templates/node_upgrade_post.sh.j2 | 2 +- templates/nova_actions_check.sh.j2 | 2 +- templates/overcloud_online_data_migration.sh.j2 | 18 ++ templates/overcloud_prepare_containers.sh.j2 | 18 ++ templates/overcloud_update_converge.sh.j2 | 3 + templates/overcloud_update_prepare.sh.j2 | 3 + templates/overcloud_update_run.sh.j2 | 12 +- templates/overcloud_upgrade_converge.sh.j2 | 53 +++--- templates/overcloud_upgrade_prepare.sh.j2 | 46 ++--- templates/overcloud_upgrade_run.sh.j2 | 21 ++- templates/undercloud_upgrade.sh.j2 | 6 +- templates/validate_docker_images_versions.sh.j2 | 2 +- templates/workarounds.sh.j2 | 140 ++++++-------- templates/workload_launch.sh.j2 | 178 +++++++++++++++--- test-requirements.txt | 6 +- tox.ini | 55 ++---- zuul.d/layout.yaml | 3 +- 97 files changed, 1450 insertions(+), 1135 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 885c2cb..ac56c37 100644 --- a/requirements.txt +++ b/requirements.txt @@ -2 +1,0 @@ pbr>=1.6 -ansible diff --git a/test-requirements.txt b/test-requirements.txt index 685f9b9..c4960de 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -0,0 +1 @@ +pre-commit==1.13.0 # MIT License @@ -3,5 +3,0 @@ bashate>=0.5.1 # Apache-2.0 - -# this is required for the docs build jobs -reno>=2.5.0 # Apache-2.0 -sphinx>=1.6.2 # BSD -openstackdocstheme>=1.17.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org