Bug 1920337
Summary: | virt-qemu-run hang if starting qemu process failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | yafu <yafu> |
Component: | libvirt | Assignee: | Michal Privoznik <mprivozn> |
Status: | CLOSED ERRATA | QA Contact: | yafu <yafu> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 8.4 | CC: | jdenemar, jsuchane, lmen, mprivozn, virt-maint, xuzhang, yalzhang |
Target Milestone: | rc | Keywords: | Regression, Triaged, Upstream |
Target Release: | 8.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-7.3.0-1.el8 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-16 07:51:32 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: | 7.2.0 |
Embargoed: |
Description
yafu
2021-01-26 06:13:01 UTC
Patches posted upstream: https://listman.redhat.com/archives/libvir-list/2021-March/msg00010.html Merged upstream: 52a937d8a2 qemu_shim: Don't hang if failed to start domain v7.1.0-202-g52a937d8a2 Verifeid with libvirt-daemon-7.3.0-1.module+el8.5.0+11004+f4810536.x86_64. Test steps: 1.Start a qemu process with enforcing mode selinux policy(see https://bugzilla.redhat.com/show_bug.cgi?id=1772943#c7), process exited successfully after failed to start: # virt-qemu-run -d -v /root/vm1.xml virt-qemu-run: 31: initializing libvirt 104942 virt-qemu-run: 2603: initializing signal handlers virt-qemu-run: 2891: preparing event loop thread virt-qemu-run: 2989: opening qemu:///embed?root=%2Ftmp%2Fvirt-qemu-run-JRNW30 virt-qemu-run: 36677: fetching guest config /root/vm1.xml virt-qemu-run: 36820: starting guest /root/vm1.xml virt-qemu-run: cannot start VM: can't connect to virtlogd: Cannot recv data: Connection reset by peer virt-qemu-run: 618467: cleaned up, exiting 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 (virt:av 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/RHBA-2021:4684 |