Bug 2092966
Summary: | [OCP 4.11] [azure] /etc/udev/rules.d/66-azure-storage.rules missing from initramfs | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | MayXu <maxu> |
Component: | RHCOS | Assignee: | Timothée Ravier <travier> |
Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.11 | CC: | bgilbert, dornelas, hhei, jialiu, jligon, mrussell, nstielau |
Target Milestone: | --- | Keywords: | Regression |
Target Release: | 4.11.0 | ||
Hardware: | Unspecified | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-08-10 11:15:49 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2093126 | ||
Bug Blocks: |
Description
MayXu
2022-06-02 16:06:48 UTC
Thanks for the report. This was broken in 4.11 by https://github.com/coreos/fedora-coreos-config/pull/1686 landing in RHCOS in https://github.com/openshift/os/pull/792. https://github.com/openshift/os/pull/785 has a fix, but it looks like the fix might land via https://github.com/openshift/os/pull/803 instead. This bug has been reported fixed in a new RHCOS build and is ready for QE verification. To mark the bug verified, set the Verified field to Tested. This bug will automatically move to MODIFIED once the fix has landed in a new bootimage. Test with rhcos-411.86.202206101554-0-qemu.x86_64.qcow2, azure rule files are included in initramfs $ lsinitrd /boot/ostree/rhcos-ea11226db1a77b02f841513020dfe6e4c76e72d5c2bad8bb72f6eee376f413be/initramfs-4.18.0-372.9.1.el8.x86_64.img | grep azure rhcos-azure-udev -rw-r--r-- 1 root root 1829 Jan 1 1970 usr/lib/udev/rules.d/66-azure-storage.rules -rw-r--r-- 1 root root 343 Jan 1 1970 usr/lib/udev/rules.d/99-azure-product-uuid.rules $ rpm -qa | grep WALinux WALinuxAgent-udev-2.3.0.2-2.el8.noarch The fix for this bug has landed in a bootimage bump, as tracked in bug 2093126 (now in status MODIFIED). Moving this bug to MODIFIED. Verified on 4.11.0-0.nightly-2022-07-05-083948 on Azure. $ oc get clusterversion NAME VERSION AVAILABLE PROGRESSING SINCE STATUS version 4.11.0-0.nightly-2022-07-05-083948 True False 24m Cluster version is 4.11.0-0.nightly-2022-07-05-083948 $ oc get nodes NAME STATUS ROLES AGE VERSION ci-ln-4kx6pgb-1d09d-wng42-master-0 Ready master 50m v1.24.0+2dd8bb1 ci-ln-4kx6pgb-1d09d-wng42-master-1 Ready master 53m v1.24.0+2dd8bb1 ci-ln-4kx6pgb-1d09d-wng42-master-2 Ready master 50m v1.24.0+2dd8bb1 ci-ln-4kx6pgb-1d09d-wng42-worker-centralus1-cvscz Ready worker 40m v1.24.0+2dd8bb1 ci-ln-4kx6pgb-1d09d-wng42-worker-centralus2-dsnc8 Ready worker 40m v1.24.0+2dd8bb1 ci-ln-4kx6pgb-1d09d-wng42-worker-centralus3-g5js6 Ready worker 40m v1.24.0+2dd8bb1 $ oc debug node/ci-ln-4kx6pgb-1d09d-wng42-master-0 Starting pod/ci-ln-4kx6pgb-1d09d-wng42-master-0-debug ... To use host binaries, run `chroot /host` Pod IP: 10.0.0.8 If you don't see a command prompt, try pressing enter. sh-4.4# chroot /host sh-4.4# ls /boot/ostree/ rhcos-2150d7de5c468ff33074df29dddc08b2faffa6ebc05eb84962431eb79f161c91 rhcos-b7024efc9c7149ccaa86c540ce45b355ea325b9c25b605291b8f11bfd39cf81d sh-4.4# ls -l /boot/ostree/ total 2 drwxr-xr-x. 2 root root 1024 Jul 5 18:46 rhcos-2150d7de5c468ff33074df29dddc08b2faffa6ebc05eb84962431eb79f161c91 drwxr-xr-x. 2 root root 1024 Jun 30 15:10 rhcos-b7024efc9c7149ccaa86c540ce45b355ea325b9c25b605291b8f11bfd39cf81d sh-4.4# lsinitrd /boot/ostree/rhcos-2150d7de5c468ff33074df29dddc08b2faffa6ebc05eb84962431eb79f161c91/initramfs-4.18.0-372.13.1.el8_6.x86_64.img | grep azure rhcos-azure-udev -rw-r--r-- 1 root root 1829 Jan 1 1970 usr/lib/udev/rules.d/66-azure-storage.rules -rw-r--r-- 1 root root 343 Jan 1 1970 usr/lib/udev/rules.d/99-azure-product-uuid.rules sh-4.4# lsinitrd /boot/ostree/rhcos-b7024efc9c7149ccaa86c540ce45b355ea325b9c25b605291b8f11bfd39cf81d/initramfs-4.18.0-372.13.1.el8_6.x86_64.img | grep azure rhcos-azure-udev -rw-r--r-- 1 root root 1829 Jan 1 1970 usr/lib/udev/rules.d/66-azure-storage.rules -rw-r--r-- 1 root root 343 Jan 1 1970 usr/lib/udev/rules.d/99-azure-product-uuid.rules sh-4.4# rpm-ostree status State: idle Deployments: * pivot://quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:04b54950ce296d73746f22b66ff6c5484c37be78cb34aaf352338359112fa241 CustomOrigin: Managed by machine-config-operator Version: 411.86.202207011902-0 (2022-07-01T19:05:18Z) 0505ffc1c711903785f27570819e973f086f594a8daa3ec9dfe2a059586ac42f Version: 411.86.202206301504-0 (2022-06-30T15:08:01Z) sh-4.4# rpm -qa | grep WALinux WALinuxAgent-udev-2.3.0.2-2.el8.noarch check the cases with registry.ci.openshift.org/ocp/release:4.11.0-0.nightly-2022-07-05-083948 PASS Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Important: OpenShift Container Platform 4.11.0 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2022:5069 |