Skip to content

Rebuild Rocky Linux 9 image with missing packages and newer cloud-init #721

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 2 commits into from
Nov 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion etc/kayobe/overcloud-dib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ overcloud_dib_host_packages_extra:
overcloud_dib_git_elements_extra:
- repo: "https://github.com/stackhpc/stackhpc-image-elements"
local: "{{ source_checkout_path }}/stackhpc-image-elements"
version: "v1.5.0"
version: "v1.6.0"
elements_path: "elements"

# List of git repositories containing Diskimage Builder (DIB) elements. See
Expand Down
2 changes: 1 addition & 1 deletion etc/kayobe/pulp-host-image-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
# These images must be in SMS, since they are used by our AIO CI runners
stackhpc_centos_8_stream_overcloud_host_image_version: "yoga-20230525T095243"
stackhpc_rocky_8_overcloud_host_image_version: "yoga-20230629T135322"
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20231012T121552"
stackhpc_rocky_9_overcloud_host_image_version: "yoga-20231026T081556"
stackhpc_ubuntu_focal_overcloud_host_image_version: "yoga-20230609T120720"
stackhpc_ubuntu_jammy_overcloud_host_image_version: "yoga-20231012T121552"
3 changes: 2 additions & 1 deletion etc/kayobe/stackhpc-overcloud-dib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ stackhpc_overcloud_dib_name: "deployment_image"

# StackHPC overcloud DIB image elements.
stackhpc_overcloud_dib_elements:
- "{{ os_distribution }}-{% if os_distribution == 'rocky' %}container{% else %}minimal{% endif %}"
- "{{ os_distribution }}-{% if os_distribution == 'rocky' %}container-stackhpc{% else %}minimal{% endif %}"
- "cloud-init-datasources"
- "{% if os_distribution in ['centos', 'rocky'] %}disable-selinux{% endif %}"
- "enable-serial-console"
Expand All @@ -41,6 +41,7 @@ stackhpc_overcloud_dib_env_vars:
DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"
DIB_CONTAINERFILE_RUNTIME: "docker"
DIB_CONTAINERFILE_NETWORK_DRIVER: "host"
DIB_CONTAINERFILE_DOCKERFILE: "/opt/kayobe/src/stackhpc-image-elements/elements/rocky-container-stackhpc/containerfiles/9-stackhpc"
# NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
# Ark does not work if the upstream mirror pulls packages (which it does
# sometimes).
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
features:
- |
Rocky Linux 9 image has been rebuilt with missing base packages (e.g.
microcode_ctl) by installing 'Minimal Install' DNF group.
Also cloud-init from CentOS 9 Stream has been installed with NetworkManager
support.