Skip to content

Commit e95a020

Browse files
authored
Fix unassigned rabbitmq container name (#1330)
1 parent c74aad8 commit e95a020

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/upgrade-prerequisites.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function rabbit_upgrade() {
2929
}
3030

3131
function rabbit_migration() {
32-
if ! kayobe overcloud host command run -l controllers -b --command "docker exec $RABBITMQ_CONTAINER_NAME rabbitmqctl list_queues type | grep quorum"; then
32+
if ! kayobe overcloud host command run -l controllers -b --command "docker exec rabbitmq rabbitmqctl list_queues type | grep quorum"; then
3333
# Set quorum flag, execute RabbitMQ queue migration script, unset quorum flag (to avoid git conflicts)
3434
sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
3535
-e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \

0 commit comments

Comments
 (0)