-
Notifications
You must be signed in to change notification settings - Fork 93
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
blockdev: use 'blkid' for reading device's UUID #917
base: main
Are you sure you want to change the base?
Conversation
firstboot of RHCOS on IBM zKVM from time to time fails during "File System Check". This happens, because systemd unit has an old filesystem's UUID from pristine qcow2 image, not the regenerated one: ``` coreos-boot-edit: + lsblk -o NAME,LABEL,UUID --paths --pairs /dev/disk/by-label/boot coreos-boot-edit: NAME="/dev/mapper/crypt_bootfs" LABEL="boot" UUID="96d15588-3596-4b3c-adca-a2ff7279ea63" coreos-boot-edit: + blkid /dev/disk/by-label/boot coreos-boot-edit: /dev/disk/by-label/boot: LABEL="boot" UUID="eee55c4f-c2df-47e9-a284-992e9e122a97" BLOCK_SIZE="1024" TYPE="ext4" coreos-boot-edit: + rdcore bind-boot /sysroot /mnt/boot_partition ..... coreos-boot-mount-generator: ++ cat /run/coreos/bootfs_uuid coreos-boot-mount-generator: + bootdev=/dev/disk/by-uuid/96d15588-3596-4b3c-adca-a2ff7279ea63 ``` Signed-off-by: Nikita Dubrovskii <[email protected]>
Hmm, so the bootfs UUID reported by |
i guess that issue is somewhere between old kernel of RHEL and udev on zKVM. FCOS works just fine. Maybe i'm wrong. |
Hmm. I think this may be that (Comparing e.g. This to mean signals that the real problem is likely that we need to synchronously wait for a |
Do we still need this now that we're using an Ignition config for the reprovisioning in coreos/fedora-coreos-config#1819? |
i'd prefer to have this. i wasn't able to test ignition+luks on RHCOS, because it again switched to an old kernel (or haven't picked up a fixed one): https://bugzilla.redhat.com/show_bug.cgi?id=2075085 . switching to |
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.
FWIW, while I think ensuring we can know the kernel state is correct here would be better, I'm personally fine with this too.
Right, my concern with this is that this feels like it's working around what could possibly be a deeper issue. We're fixing it for |
firstboot of RHCOS on IBM zKVM from time to time fails during "File System Check".
This happens, because systemd unit has an old filesystem's UUID from pristine qcow2 image,
not the regenerated one: