CI: Only migrate RMQ queues during SLURP

Change-Id: Ib12ac0e8dac8804085ea30bac7b4b0e659309cb0
This commit is contained in:
Matt Crees 2024-03-13 14:21:58 +00:00
parent d17f7dc1b8
commit 3ad5a5d9dc
2 changed files with 8 additions and 1 deletions

View File

@ -515,7 +515,13 @@ function overcloud_upgrade {
echo "Upgrading a kayobe development environment. This consists of a "
echo "single node OpenStack control plane."
migrate_rabbitmq_queues
# NOTE(mattcrees): As om_enable_rabbitmq_quorum_queues now defaults to true
# from Bobcat, we need to perform a migration to durable queues during
# SLURP upgrades from Antelope to Caracal.
# TODO(mattcrees): Remove in Dalmatian.
if [[ $IS_SLURP == "True" ]]; then
migrate_rabbitmq_queues
fi
echo "Upgrading Kayobe"
upgrade_kayobe_venv

View File

@ -112,3 +112,4 @@
environment:
KAYOBE_CONFIG_SOURCE_PATH: "{{ kayobe_config_src_dir }}"
KAYOBE_SOURCE_PATH: "{{ kayobe_src_dir }}"
IS_SLURP: "{{ is_slurp }}"