@@ -330,46 +330,6 @@ jobs:
330330 env :
331331 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
332332
333- - name : Upgrade to RabbitMQ 3.12
334- run : |
335- docker run -t --rm \
336- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
337- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
338- ${{ steps.kayobe_image.outputs.kayobe_image }} \
339- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.12"
340- env :
341- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
342- if : inputs.upgrade
343-
344- - name : Upgrade to RabbitMQ 3.13
345- run : |
346- docker run -t --rm \
347- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
348- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
349- ${{ steps.kayobe_image.outputs.kayobe_image }} \
350- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.13"
351- env :
352- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
353- if : inputs.upgrade
354-
355- - name : Change rabbit queues from HA to Quorum
356- run : |
357- sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
358- -e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \
359- etc/kayobe/environments/ci-aio/kolla/globals.yml
360- if : inputs.upgrade
361-
362- - name : Migrate RabbitMQ queues
363- run : |
364- docker run -t --rm \
365- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
366- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
367- ${{ steps.kayobe_image.outputs.kayobe_image }} \
368- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-quorum-migration.sh
369- env :
370- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
371- if : inputs.upgrade
372-
373333 # If testing upgrade, checkout the current release branch
374334 # Stash changes to tracked files, and set clean=false to avoid removing untracked files.
375335 # Revert changes to RabbitMQ Queue types to avoid a merge conflict
@@ -402,15 +362,13 @@ jobs:
402362 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
403363 if : inputs.upgrade
404364
405- # NOTE(Alex-Welsh): configure host with selinux_state=disabled, because
406- # Antelope images are not built as permissive
407365 - name : Host configure
408366 run : |
409367 docker run -t --rm \
410368 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
411369 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
412370 $KAYOBE_IMAGE \
413- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh -e selinux_state=disabled
371+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh
414372 env :
415373 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
416374 if : inputs.upgrade
@@ -426,20 +384,6 @@ jobs:
426384 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
427385 if : inputs.upgrade
428386
429- - name : Ensure we have IP on breth1 to reach the instances
430- # NOTE(wszumski): Whilst we don't need to create resources again, in some circumstances
431- # we can lose the IP address that allows us to connect to the instances. This playbook
432- # also fixes that issue.
433- run : |
434- docker run -t --rm \
435- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
436- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
437- ${{ steps.kayobe_image.outputs.kayobe_image }} \
438- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/configure-aio-resources.yml
439- env :
440- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
441- if : inputs.upgrade
442-
443387 - name : Tempest tests
444388 id : tempest
445389 run : |
0 commit comments