File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,13 @@ function prechecks() {
1717 fi
1818}
1919
20+ function rabbit_upgrade() {
21+ # Ensure RabbitMQ is upgraded to 4.1
22+ if kayobe overcloud host command run -l controllers -b --command " docker exec rabbitmq rabbitmqctl --version | grep -F 3.13." --show-output; then
23+ kayobe kolla ansible run " rabbitmq-upgrade 4.1"
24+ fi
25+ }
26+
2027function rabbit_migration() {
2128 if kayobe overcloud host command run -l controllers -b --command " docker exec rabbitmq rabbitmqctl list_queues durable | grep false" ; then
2229 # Set feature flaga, execute RabbitMQ queue migration script, unset feature flags (to avoid git conflicts)
@@ -43,3 +50,4 @@ function rabbit_migration() {
4350
4451prechecks
4552rabbit_migration
53+ rabbit_upgrade
You can’t perform that action at this time.
0 commit comments