Bug 1129211
Summary: | Guest system installed on virtio-scsi fails to boot as virtio-blk | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | ShupingCui <scui> | ||||
Component: | qemu-kvm-rhev | Assignee: | Fam Zheng <famz> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 7.1 | CC: | coli, hhuang, huding, juzhang, michen, shuang, sluo, virt-maint, xfu, xuhan | ||||
Target Milestone: | rc | Keywords: | Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | qemu-kvm-rhev-2.1.0-2.el7.x86_64 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2014-08-19 08:41:35 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: | |||||||
Attachments: |
|
Description
ShupingCui
2014-08-12 10:16:34 UTC
Created attachment 926005 [details]
serial log
Test with qemu-kvm-1.5.3-67.el7.x86_64, not met this issue.
initrd is not updated after guest device configuration change, that may make a different device path, or missing virtio_blk module when booting. Could you show the output of "lsmod | grep virtio" and "ls -R /dev/disk /dev/mapper" after it drops to dracut shell? Fam This is a duplicate of bug 1127151 but just the other way around. So close it too. *** This bug has been marked as a duplicate of bug 1127151 *** (In reply to ShupingCui from comment #1) > Created attachment 926005 [details] > serial log > > Test with qemu-kvm-1.5.3-67.el7.x86_64, not met this issue. This is an open question that needs some more investigation. Fam Can't reproduce after testing again with qemu-kvm-rhev-2.1.0-2.el7.x86_64. When generating initrd, during either system installation or kernel update, dracut takes care of installing *both* virtio-blk and virtio-scsi drivers into the initramfs image, as long as it finds itself inside a virtual machine. (that is detected with running `systemd-detect-virt --vm` in guest). This logic is guaranteed by the qemu module (/usr/lib/dracut/modules.d/90qemu). For both qemu-kvm and qemu-kvm-rhev, the output of systemd-detect-virt command is "kvm". I checked that in the test env, these look fine and work as expected. So interchanging the system disk type between virtio-blk and virtio-scsi for RHEL 7 guest should just work. If in some way it is broken and only one of the two drivers is present in initrd, systemd-detect-virt, dracut and anaconda are the points to check. Fam |