Created attachment 1791947 [details] serial console output of a failed boot on F33 Description of problem: Hello guys, running "virt-customize --update" on Fedora > 32 results in unbootable image due to kernel initrd containing a non-existing uuid. Version-Release number of selected component (if applicable): * Fedora 32 Cloud Image - works well * Fedora 33 Cloud Image - fails * Fedora 34 Cloud Image - fails How reproducible: * Always Steps to Reproduce: 1. Fetch the image 2. virt-customize -v -x -a Fedora.qcow2 --root-password password:redhat --update --selinux-relabel 3. boot the image Actual results: Fails into maintenance mode, /dev/disk/by-uuid/ contains a different uuid than expected. Expected results: Should boot well Additional info: I was asked to search for the uuid when in rescue mode: virt-rescue --ro -a Fedora.qcow2 # searching for the expected UUID ><rescue> findfs UUID=7486a5a4-47b9-478c-ab0c-44438c0b19ea /dev/sdb # searching for the UUID the disk has on normal boot ><rescue> findfs 0e28d03c-9307-4c5c-b31e-7b0574239ccf 0e28d03c-9307-4c5c-b31e-7b0574239ccf
Created attachment 1791948 [details] Reproducer used to check various Fedoras I used this script to find which Fedora version this occurred the first (first with --update, then added custom packages to try to reproduce that with F32 and F33 pkgs but no luck). Note that RHEL8 images work well.
> virt-rescue --ro -a Fedora.qcow2 > # searching for the expected UUID > ><rescue> findfs UUID=7486a5a4-47b9-478c-ab0c-44438c0b19ea > /dev/sdb In the virt-rescue appliance (which is the same environment used by virt-customize), /dev/sdb is the appliance root. /dev/sda which is the Fedora.qcow2 will have a different UUID. If dracut is picking this UUID when run inside a chroot then it's picking the wrong one. It should notice when it's run inside a chroot and pick the UUID of the chrooted filesystem instead.
This message is a reminder that Fedora Linux 34 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 34 on 2022-06-07. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '34'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 34 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
I believe we fixed this one: https://bugzilla.redhat.com/show_bug.cgi?id=1945835#c24 https://github.com/rwmjones/guestfs-tools/commit/f2c0bf5387d094900de6420cb6502aa00d9c9b24
Fedora Linux 34 entered end-of-life (EOL) status on 2022-06-07. Fedora Linux 34 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. Thank you for reporting this bug and we are sorry it could not be fixed.