Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1973515
Summary: | Kernel update in virt-customize causes an incorrect disk uuid in initrd (--update results in unbootable image) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lukas Doktor <ldoktor> | ||||||
Component: | dracut | Assignee: | dracut-maint-list | ||||||
Status: | NEW --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 34 | CC: | dracut-maint-list, jonathan, rjones, zbyszek | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 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: | |||||||||
Bug Blocks: | 910269 | ||||||||
Attachments: |
|
Description
Lukas Doktor
2021-06-18 04:21:21 UTC
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.
|