Skip to content
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
10 changes: 4 additions & 6 deletions ci/prow-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ fi
ocpver=$(rpm-ostree compose tree --print-only src/config/manifest.yaml | jq -r '.["mutate-os-release"]')
ocpver_mut=$(rpm-ostree compose tree --print-only src/config/manifest.yaml | jq -r '.["mutate-os-release"]' | sed 's|\.|-|')
prev_build_url=${REDIRECTOR_URL}/rhcos-${ocpver}/
# we want to use RHEL 8.5 for testing until we can start using 8.6
# see https://github.com/openshift/release/pull/26193
curl -L http://base-"${ocpver_mut}"-rhel85.ocp.svc.cluster.local > src/config/ocp.repo
# fetch the 8.6 appstream repo to enable building of extensions
# see: https://github.com/openshift/os/issues/795
curl -Ls http://base-"${ocpver_mut}"-rhel86.ocp.svc.cluster.local | grep -A 3 rhel-8-appstream | sed '1,3 s/rhel-8-appstream/rhel-86-appstream/g' >> src/config/ocp.repo

# Fetch RHEL 8.6 repos
curl -L http://base-"${ocpver_mut}"-rhel86.ocp.svc.cluster.local > src/config/ocp.repo

cosa buildfetch --url=${prev_build_url}
cosa fetch
cosa build
Expand Down
2 changes: 1 addition & 1 deletion extensions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ extensions:
enable:
- virt:rhel
repos:
- rhel-86-appstream
- rhel-8-appstream
packages:
- kata-containers
9 changes: 0 additions & 9 deletions kola-denylist.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,3 @@
tracker: https://github.com/coreos/coreos-assembler/issues/2725
arches:
- ppc64le
# Disable until we rebase back to RHEL 8.6
- pattern: ext.config.shared.var-mount.scsi-id
tracker: https://github.com/openshift/os/issues/710
arches:
- s390x
# Disable until we revert NM back to RHEL 8.6
- pattern: ext.config.shared.networking.default-network-behavior-change
tracker: https://bugzilla.redhat.com/show_bug.cgi?id=2077605
snooze: 2022-05-05
46 changes: 20 additions & 26 deletions manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,12 @@ rojig:
include:
- fedora-coreos-config/manifests/ignition-and-ostree.yaml
- fedora-coreos-config/manifests/file-transfer.yaml
# - fedora-coreos-config/manifests/networking-tools.yaml
- fedora-coreos-config/manifests/networking-tools.yaml
- fedora-coreos-config/manifests/system-configuration.yaml
- fedora-coreos-config/manifests/user-experience.yaml
- fedora-coreos-config/manifests/shared-workarounds.yaml
# RHCOS owned packages
- rhcos-packages.yaml
- networking-tools.yaml

ostree-layers:
- overlay/01fcos
Expand All @@ -24,7 +23,7 @@ ostree-layers:
- overlay/15rhcos-tuned-bits
- overlay/20platform-chrony
- overlay/21dhcp-chrony
- overlay/25rhcos-azure-udev-rules
- overlay/25rhcos-azure-udev

arch-include:
x86_64:
Expand All @@ -47,7 +46,7 @@ repos:
rpmdb: bdb

# We include hours/minutes to avoid version number reuse
automatic-version-prefix: "411.85.<date:%Y%m%d%H%M>"
automatic-version-prefix: "411.86.<date:%Y%m%d%H%M>"
# This ensures we're semver-compatible which OpenShift wants
automatic-version-suffix: "-"
# Keep this is sync with the version in postprocess
Expand Down Expand Up @@ -156,17 +155,20 @@ postprocess:
OSTREE_VERSION="${OSTREE_VERSION}"
EOF
)
rm -f /etc/os-release
ln -s ../usr/lib/os-release /etc/os-release

# Tweak /etc/system-release, /etc/system-release-cpe & /etc/redhat-release
(
. /etc/os-release
cat > /etc/system-release-cpe <<EOF
cat > /usr/lib/system-release-cpe <<EOF
${CPE_NAME}
EOF
cat > /usr/lib/redhat-release <<EOF
cat > /usr/lib/system-release <<EOF
${NAME} release ${VERSION_ID}
EOF
rm -f /etc/system-release /etc/redhat-release
rm -f /etc/system-release-cpe /etc/system-release /etc/redhat-release
ln -s /usr/lib/system-release-cpe /etc/system-release-cpe
ln -s /usr/lib/system-release /etc/system-release
ln -s /usr/lib/system-release /etc/redhat-release
)
Expand Down Expand Up @@ -353,32 +355,24 @@ repo-packages:
- nss-altfiles
- repo: rhel-8-server-ose
packages:
# eventually, we want the one from the container-tools module, but we're
# not there yet
- toolbox
# These are the only container stack packages we don't get from modularity
# nor from base RHEL for various reasons. See:
# https://github.com/openshift/os/pull/681#issuecomment-1022443830
#
# newer than what is included in RHEL 8.4.Z EUS, but addresses some BZs
# that customers were encountering
# Starting with 4.11, we are working with the Containers team to build
# certain container-tools RPMs in the RHAOS branches for RHCOS + RHEL
# worker nodes.
- conmon
- container-selinux
# newer than what is included in RHEL 8.4.Z EUS, because the k8s folks
# wanted to start testing with 1.x versions of crun
- containernetworking-plugins
- containers-common
- criu
- crun
# slightly newer than what is included in RHEL 8.4.Z EUS, because we had
# previously shipped a newer version in OCP/RHCOS 4.9 and had to preserve
# the upgrade path
- fuse-overlayfs
- podman
- runc
# Need an updated skopeo for https://github.com/containers/skopeo/pull/1476
# for coreos layering work
- containers-common
- skopeo
- slirp4netns
- toolbox

modules:
enable:
# podman stack; see https://github.com/openshift/os/pull/681#issuecomment-1022443830
- container-tools:rhel8
# qemu-guest-agent
- virt:rhel

Expand Down
16 changes: 0 additions & 16 deletions networking-tools.yaml

This file was deleted.

2 changes: 0 additions & 2 deletions overlay.d/25rhcos-azure-udev-rules/statoverride

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh

# We want to provide Azure udev rules as part of the initrd, so that Ignition
# is able to detect disks and act on them.
#
# The WALinuxAgent-udev has been changed to install udev rules into
# the initramfs [1], but that change isn't in el8 yet. This can be
# dropped when moving to el9.
#
# [1] https://src.fedoraproject.org/rpms/WALinuxAgent/c/521b67bc8575f53a30b4b2c4e63292e67483a4e1?branch=rawhide

install() {
inst_multiple \
/usr/lib/udev/rules.d/66-azure-storage.rules \
/usr/lib/udev/rules.d/99-azure-product-uuid.rules
}
15 changes: 7 additions & 8 deletions overlay.d/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ and handling in 20-chrony and chrony-helper using the defaults
lands in downstream packages. See upstream thread:
https://listengine.tuxfamily.org/chrony.tuxfamily.org/chrony-dev/2020/05/msg00022.html

25rhcos-azure-udev-rules
------------------------

Ships udev rules for Azure. This works in tandem with the
`25coreos-azure-udev` dracut module in 05core which ships
them in the initramfs. In the future, we should be able to
drop this overlay and instead ship `WALinuxAgent-udev` as we
do in FCOS (https://bugzilla.redhat.com/show_bug.cgi?id=1913074).
25rhcos-azure-udev
-------------

We want to provide Azure udev rules as part of the initrd, so that Ignition
is able to detect disks and act on them. The WALinuxAgent-udev has been
changed to install udev rules into the initramfs, but that change isn't
in el8 yet. This can be dropped when moving to el9.