Bug 2046172
| Summary: | Possible hang or crash of libvirtd/virtqemud when starting a VM and device mapper is not available | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Peter Krempa <pkrempa> |
| Component: | libvirt | Assignee: | Peter Krempa <pkrempa> |
| Status: | CLOSED ERRATA | QA Contact: | Meina Li <meili> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.4 | CC: | chhu, hhan, jdenemar, lmen, virt-bugs, virt-maint, xuzhang |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-8.0.0-3.module+el8.6.0+14098+5bee65f4 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | 2046170 | Environment: | |
| Last Closed: | 2022-05-10 13:25:26 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: | 2046170 | ||
| Bug Blocks: | |||
|
Description
Peter Krempa
2022-01-26 10:39:40 UTC
Same with https://bugzilla.redhat.com/show_bug.cgi?id=2046170#c2: Pre-verified Version: libvirt-8.0.0-3.module+el8.6.0+14098+5bee65f4.x86_64 qemu-kvm-6.2.0-5.module+el8.6.0+14025+ca131e0a.x86_64 Pre-verified Steps: 1. Remove /dev/mapper/control. # rm -rf /dev/mapper/control 2. Start a guest with three disks. # virsh domblklist lmn Target Source ----------------------------------------------- vda /var/lib/libvirt/images/lmn.qcow2 vdb /var/lib/libvirt/images/test.qcow2 vdc /var/lib/libvirt/images/test1.qcow2 # virsh start lmn Domain 'lmn' started ---no hang 3. Check the libvirtd log. 2022-02-07 09:51:39.859+0000: 90320: debug : qemuProcessLaunch:7488 : QEMU vm=0x7faba43f6300 name=lmn running with pid=90456 2022-02-07 09:51:39.859+0000: 90320: debug : qemuProcessLaunch:7495 : Writing early domain status to disk 2022-02-07 09:51:39.859+0000: 90320: debug : qemuProcessLaunch:7499 : Waiting for handshake from child 2022-02-07 09:51:39.859+0000: 90320: debug : virCommandHandshakeWait:2852 : Wait for handshake on 43 2022-02-07 09:51:39.859+0000: 90320: debug : qemuProcessLaunch:7507 : Building domain mount namespace (if required) 2022-02-07 09:51:39.859+0000: 90320: debug : qemuDomainSetupAllDisks:296 : Setting up disks 2022-02-07 09:51:39.859+0000: 90320: debug : virDMOpen:141 : device mapper not available 2022-02-07 09:51:39.859+0000: 90320: debug : virDMOpen:141 : device mapper not available 2022-02-07 09:51:39.859+0000: 90320: debug : virDMOpen:141 : device mapper not available 2022-02-07 09:51:39.859+0000: 90320: debug : qemuDomainSetupAllDisks:304 : Setup all disks Verified Version: libvirt-8.0.0-3.module+el8.6.0+14098+5bee65f4.x86_64 qemu-kvm-6.2.0-6.module+el8.6.0+14165+5e5e76ac.x86_64 Verified Steps: based on comment 3 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 (Moderate: virt:rhel and virt-devel:rhel security, bug fix, and enhancement 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:1759 |