Skip to content

Commit

Permalink
Fix RL9 upgrade job
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Alex-Welsh committed Sep 16, 2024
1 parent e0ee3a5 commit 1872e36
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/stackhpc-all-in-one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1872e36

Please sign in to comment.