kolla-ansible/ansible
Matt Crees e34fbb174c Use the upgraded image to run Nova upgrade checks
When upgrading Nova, we sometimes hit an error where an old hypervisor
that hasn’t been upgraded recently (for example due to broken hardware)
is preventing Nova API from starting properly. This can be detected
using the tool ``nova-status upgrade check`` to make sure that there are
no ``nova-compute`` that are older than N-1 releases. This is already
used in the Kolla Ansible upgrade task for Nova. However, this task uses
the current ``nova-api`` container, so computes which will be too old
after the upgrade are not caught.

This patch changes Kolla Ansible so that the upgraded ``nova-api`` image
is used to run the upgrade checks, allowing computes that will be too
old to be detected before the upgrades are performed.

Depends-On: https://review.opendev.org/c/openstack/kolla/+/878744

Closes-Bug: #1957080
Co-Authored-By: Pierre Riteau <pierre@stackhpc.com>
Change-Id: I3a899411001834a0c88e37f45a756247ee11563d
2023-03-28 09:11:46 +02:00
..
action_plugins Remove shebang to properly support venv in ansible-core 2.13+ 2022-12-13 18:21:12 +01:00
filter_plugins Add proxysql support for database 2022-07-29 15:05:21 +02:00
group_vars Merge "Switch trove-api to wsgi running under apache." 2023-02-20 16:46:42 +00:00
inventory Merge "remove elasticsearch remnants in antelope cycle" 2023-02-07 17:34:36 +00:00
library Refactor DockerWorker into ContainerWorker 2023-02-20 14:12:00 +01:00
module_utils Fix restart_container when restart_policy is no 2023-03-23 16:18:34 +00:00
roles Use the upgraded image to run Nova upgrade checks 2023-03-28 09:11:46 +02:00
bifrost.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
certificates.yml certificates: generate libvirt TLS certificates 2022-02-03 14:32:38 +00:00
destroy.yml
gather-facts.yml Add systemd container control 2023-01-19 10:38:41 +01:00
kolla-host.yml Install openstack.kolla collection 2022-02-21 14:26:48 +00:00
mariadb_backup.yml Use mariabackup for database backups 2019-11-01 18:44:10 +00:00
mariadb_recovery.yml Update "openstack_release" variable to static brach name 2019-09-16 12:42:44 +00:00
monasca_cleanup.yml Remove kafka, storm, zookeeper 2022-12-08 06:50:15 +00:00
nova-libvirt-cleanup.yml libvirt: add nova-libvirt-cleanup command 2022-03-21 11:54:54 +00:00
nova.yml nova: use any_errors_fatal for once-per-cell tasks 2022-04-22 10:37:25 +00:00
octavia-certificates.yml octavia: generate certificates automatically 2020-10-08 16:50:30 +02:00
post-deploy.yml Change clouds.yaml location 2022-09-27 11:10:12 +00:00
prune-images.yml Adds Docker image pruning command 2020-01-27 13:44:01 +03:00
site.yml Merge "Put etcd behind HTTP loadbalancer" 2023-02-14 11:31:09 +00:00