Skip to content

Commit 08920c5

Browse files
markgoddardpriteau
andcommitted
CI: Workaround container image builder power cycle issue
While not pretty, this workaround avoids manual intervention after the runner is power cycled. Co-Authored-By: Pierre Riteau <[email protected]>
1 parent a7dffd4 commit 08920c5

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/stackhpc-container-image-build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ jobs:
6666
sudo ip l set dummy1 up
6767
sudo ip l set dummy1 master breth1
6868
69+
# FIXME: Without this workaround we see the following issue after the runner is power cycled:
70+
# TASK [MichaelRigart.interfaces : RedHat | ensure network service is started and enabled] ***
71+
# Unable to start service network: Job for network.service failed because the control process exited with error code.
72+
# See \"systemctl status network.service\" and \"journalctl -xe\" for details.
73+
- name: Kill dhclient (workaround)
74+
run: |
75+
(sudo killall dhclient || true) && sudo systemctl restart network
76+
6977
- name: Install Kayobe
7078
run: |
7179
mkdir -p venvs &&

0 commit comments

Comments
 (0)