From 1872e36e7b0eccc3c1bbe06db53341aea0d9a7e9 Mon Sep 17 00:00:00 2001 From: Alex-Welsh Date: Mon, 16 Sep 2024 09:23:39 +0100 Subject: [PATCH] Fix RL9 upgrade job The RL9 AIO upgrade job has been failing because the Antelope image is built with selinux disabled rather than permissive. At the moment, AIOs cannot be rebooted without losing connection, so the best option is to continue setting selinux_state=disabled after upgrading to Caracal --- .github/workflows/stackhpc-all-in-one.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/stackhpc-all-in-one.yml b/.github/workflows/stackhpc-all-in-one.yml index f026ba19c..a1defbebd 100644 --- a/.github/workflows/stackhpc-all-in-one.yml +++ b/.github/workflows/stackhpc-all-in-one.yml @@ -396,13 +396,15 @@ jobs: KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }} if: inputs.upgrade + # NOTE(Alex-Welsh): configure host with selinux_state=disabled, because + # Antelope images are not built as permissive - name: Host configure run: | docker run -t --rm \ -v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \ -e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \ $KAYOBE_IMAGE \ - /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh + /stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-host-configure.sh -e selinux_state=disabled env: KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }} if: inputs.upgrade