@@ -335,46 +335,6 @@ jobs:
335
335
env :
336
336
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
337
337
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
-
378
338
# If testing upgrade, checkout the current release branch
379
339
# Stash changes to tracked files, and set clean=false to avoid removing untracked files.
380
340
# Revert changes to RabbitMQ Queue types to avoid a merge conflict
@@ -407,15 +367,13 @@ jobs:
407
367
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
408
368
if : inputs.upgrade
409
369
410
- # NOTE(Alex-Welsh): configure host with selinux_state=disabled, because
411
- # Antelope images are not built as permissive
412
370
- name : Host configure
413
371
run : |
414
372
docker run -t --rm \
415
373
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
416
374
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
417
375
$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
419
377
env :
420
378
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
421
379
if : inputs.upgrade
@@ -431,20 +389,6 @@ jobs:
431
389
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY : ${{ steps.ssh_key.outputs.ssh_key }}
432
390
if : inputs.upgrade
433
391
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
-
448
392
- name : Tempest tests
449
393
id : tempest
450
394
run : |
0 commit comments