@@ -335,46 +335,6 @@ jobs:
335335 env :
336336 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
337337
338- - name : Upgrade to RabbitMQ 3.12
339- run : |
340- docker run -t --rm \
341- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
342- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
343- ${{ steps.kayobe_image.outputs.kayobe_image }} \
344- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.12"
345- env :
346- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
347- if : inputs.upgrade
348-
349- - name : Upgrade to RabbitMQ 3.13
350- run : |
351- docker run -t --rm \
352- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
353- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
354- ${{ steps.kayobe_image.outputs.kayobe_image }} \
355- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/kolla-ansible-run.sh "rabbitmq-upgrade 3.13"
356- env :
357- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
358- if : inputs.upgrade
359-
360- - name : Change rabbit queues from HA to Quorum
361- run : |
362- sed -i -e 's/om_enable_rabbitmq_high_availability: true/om_enable_rabbitmq_high_availability: false/' \
363- -e 's/om_enable_rabbitmq_quorum_queues: false/om_enable_rabbitmq_quorum_queues: true/' \
364- etc/kayobe/environments/ci-aio/kolla/globals.yml
365- if : inputs.upgrade
366-
367- - name : Migrate RabbitMQ queues
368- run : |
369- docker run -t --rm \
370- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
371- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
372- ${{ steps.kayobe_image.outputs.kayobe_image }} \
373- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/script-run.sh tools/rabbitmq-quorum-migration.sh
374- env :
375- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
376- if : inputs.upgrade
377-
378338 # If testing upgrade, checkout the current release branch
379339 # Stash changes to tracked files, and set clean=false to avoid removing untracked files.
380340 # Revert changes to RabbitMQ Queue types to avoid a merge conflict
@@ -407,15 +367,13 @@ jobs:
407367 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
408368 if : inputs.upgrade
409369
410- # NOTE(Alex-Welsh): configure host with selinux_state=disabled, because
411- # Antelope images are not built as permissive
412370 - name : Host configure
413371 run : |
414372 docker run -t --rm \
415373 -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
416374 -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
417375 $KAYOBE_IMAGE \
418- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh -e selinux_state=disabled
376+ /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh
419377 env :
420378 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
421379 if : inputs.upgrade
@@ -431,20 +389,6 @@ jobs:
431389 KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
432390 if : inputs.upgrade
433391
434- - name : Ensure we have IP on breth1 to reach the instances
435- # NOTE(wszumski): Whilst we don't need to create resources again, in some circumstances
436- # we can lose the IP address that allows us to connect to the instances. This playbook
437- # also fixes that issue.
438- run : |
439- docker run -t --rm \
440- -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
441- -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
442- ${{ steps.kayobe_image.outputs.kayobe_image }} \
443- /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/playbook-run.sh etc/kayobe/ansible/configure-aio-resources.yml
444- env :
445- KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
446- if : inputs.upgrade
447-
448392 - name : Tempest tests
449393 id : tempest
450394 run : |
0 commit comments