File tree Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Expand file tree Collapse file tree 2 files changed +18
-5
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,24 @@ jobs:
314
314
env :
315
315
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
316
316
317
+ - name : Change rabbit queues from HA to Quorum
318
+ run : |
319
+ sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false' \
320
+ -e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true' \
321
+ etc/kayobe/environments/ci-aio/kolla/globals.yml
322
+ if : inputs.upgrade
323
+
324
+ - name : Migrate RabbitMQ queues
325
+ run : |
326
+ docker run -t --rm \
327
+ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
328
+ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
329
+ ${{ steps.kayobe_image.outputs.kayobe_image }} \
330
+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/migrate-rabbitmq-queues.yml --tags rabbit-queue-migration
331
+ env :
332
+ KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
333
+ if : inputs.upgrade
334
+
317
335
# If testing upgrade, checkout the current release branch
318
336
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
319
337
- name : Stash config changes
Original file line number Diff line number Diff line change @@ -22,11 +22,6 @@ kolla_image_tags:
22
22
# Variables defining which tag to use for each container's image.
23
23
{{ lookup('pipe', 'python3 ' ~ kayobe_config_path ~ '/../../tools/kolla-images.py list-tag-vars') }}
24
24
25
- # ############################################################################
26
- # RabbitMQ
27
-
28
- om_enable_rabbitmq_high_availability : true
29
-
30
25
# ############################################################################
31
26
# Monitoring and alerting related settings
32
27
You can’t perform that action at this time.
0 commit comments