-
Notifications
You must be signed in to change notification settings - Fork 23
Fix zed host image build workflow #629
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,14 +34,14 @@ jobs: | |
runs-on: [self-hosted, stackhpc-kayobe-config-kolla-builder-rl9] | ||
permissions: {} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: src/kayobe-config | ||
|
||
- name: Determine OpenStack release | ||
id: openstack_release | ||
run: | | ||
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' .gitreview) | ||
BRANCH=$(awk -F'=' '/defaultbranch/ {print $2}' src/kayobe-config/.gitreview) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't this a bug fix that would apply to yoga too? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Merged, but please backport this fix if necessary. |
||
echo "openstack_release=${BRANCH}" | sed "s|stable/||" >> $GITHUB_OUTPUT | ||
|
||
# Generate a tag to apply to all built overcloud host images. | ||
|
@@ -67,7 +67,7 @@ jobs: | |
|
||
- name: Install dependencies | ||
run: | | ||
sudo dnf -y install zstd | ||
sudo dnf -y install zstd debootstrap | ||
|
||
- name: Setup networking | ||
run: | | ||
|
@@ -84,14 +84,6 @@ jobs: | |
sudo ip l set dummy1 up | ||
sudo ip l set dummy1 master breth1 | ||
|
||
# FIXME: Without this workaround we see the following issue after the runner is power cycled: | ||
# TASK [MichaelRigart.interfaces : RedHat | ensure network service is started and enabled] *** | ||
# Unable to start service network: Job for network.service failed because the control process exited with error code. | ||
# See \"systemctl status network.service\" and \"journalctl -xe\" for details. | ||
- name: Kill dhclient (workaround) | ||
run: | | ||
(sudo killall dhclient || true) && sudo systemctl restart network | ||
|
||
- name: Install Kayobe | ||
run: | | ||
mkdir -p venvs && | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
# Overcloud host image versioning tags | ||
# These images must be in SMS, since they are used by our AIO CI runners | ||
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20230929T133006" | ||
stackhpc_ubuntu_jammy_overcloud_host_image_version: "yoga-20230609T120720" | ||
stackhpc_rocky_9_overcloud_host_image_version: "zed-20231013T123933" | ||
stackhpc_ubuntu_jammy_overcloud_host_image_version: "zed-20231013T123933" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these fixes go back to yoga?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's running fine without them, probably because it uses the old CS8 runners