File tree Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Expand file tree Collapse file tree 2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -314,6 +314,21 @@ 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 : sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false' -e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true' etc/kayobe/environments/ci-aio/kolla/globals.yml
319
+ if : inputs.upgrade
320
+
321
+ - name : Migrate RabbitMQ queues
322
+ run : |
323
+ docker run -t --rm \
324
+ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
325
+ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
326
+ ${{ steps.kayobe_image.outputs.kayobe_image }} \
327
+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/migrate-rabbitmq-queues.yml --tags rabbit-queue-migration
328
+ env :
329
+ KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
330
+ if : inputs.upgrade
331
+
317
332
# If testing upgrade, checkout the current release branch
318
333
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
319
334
- 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