Skip to content

Commit 34dbd8c

Browse files
committed
Add workaround for LP#2160235
K-A bug LP#2160235 is causing service upgrade to fail. Working around by pulling container images in advance. See [1]. [1] https://bugs.launchpad.net/kolla-ansible/+bug/2160235
1 parent 5d9160a commit 34dbd8c

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

.github/workflows/stackhpc-all-in-one.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,20 @@ jobs:
437437
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
438438
if: inputs.upgrade
439439

440+
# NOTE(seunghun1ee): LP#2160235 causes service-check-containers role to fail on upgrade
441+
# This role runs on every role of services, so we need to workaround by pulling images
442+
# before running service upgrade
443+
- name: Pull overcloud container images
444+
run: |
445+
docker run -t --rm \
446+
-v $(pwd):/stack/kayobe-automation-env/src/kayobe-config \
447+
-e KAYOBE_ENVIRONMENT -e KAYOBE_VAULT_PASSWORD -e KAYOBE_AUTOMATION_SSH_PRIVATE_KEY \
448+
$KAYOBE_IMAGE \
449+
/stack/kayobe-automation-env/src/kayobe-config/.automation/pipeline/overcloud-container-image-pull.sh
450+
env:
451+
KAYOBE_AUTOMATION_SSH_PRIVATE_KEY: ${{ steps.ssh_key.outputs.ssh_key }}
452+
if: inputs.upgrade
453+
440454
- name: Service upgrade
441455
run: |
442456
docker run -t --rm \

0 commit comments

Comments
 (0)