Bug 2000075
Summary: | [embed qemu] Failed to start vm by virt-qemu-run if vm has network interface | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 9 | Reporter: | Fangge Jin <fjin> | ||||
Component: | libvirt | Assignee: | Martin Kletzander <mkletzan> | ||||
libvirt sub component: | General | QA Contact: | yafu <yafu> | ||||
Status: | CLOSED ERRATA | Docs Contact: | |||||
Severity: | unspecified | ||||||
Priority: | low | CC: | jdenemar, jsuchane, lmen, mkletzan, smitterl, virt-maint, xuzhang, yafu | ||||
Version: | 9.0 | Keywords: | Regression, Triaged | ||||
Target Milestone: | rc | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | libvirt-8.10.0-1.el9 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2023-05-09 07:26:10 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: | 8.10.0 | ||||
Embargoed: | |||||||
Attachments: |
|
Description
Fangge Jin
2021-09-01 10:30:38 UTC
Patch proposed upstream: https://listman.redhat.com/archives/libvir-list/2022-November/235751.html Fixed upstream with v8.9.0-238-g8e527dd65381: commit 8e527dd653814fa0c6266228ae46f1aed0159608 Author: Martin Kletzander <mkletzan> Date: Fri Nov 11 14:19:50 2022 +0100 virGetConnectGeneric: Only delegate existing identities Tested pass with libvirt-8.10.0-2.el9.x86_64. Verified with libvirt-8.10.0-2.el9.x86_64. Test steps: 1.Set selinux to permissive mode: #setenforce 0 2.Start a vm with network type interface by virt-qemu-run, the vm start successfully: # virt-qemu-run -d -v vm.xml virt-qemu-run: 19: initializing libvirt 47541 virt-qemu-run: 856: initializing signal handlers virt-qemu-run: 956: preparing event loop thread virt-qemu-run: 1380: opening qemu:///embed?root=%2Ftmp%2Fvirt-qemu-run-59YXW1 virt-qemu-run: 20380: fetching guest config vm.xml virt-qemu-run: 20523: starting guest vm.xml virt-qemu-run: 1354073: guest running, Ctrl-C to stop now virt-qemu-run: XML: <domain type='kvm' id='1'> <name>test</name> <uuid>50c64d95-c84a-4bed-a6d4-4426e2883a30</uuid> <metadata> <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0"> <libosinfo:os id="http://redhat.com/rhel/9.0"/> </libosinfo:libosinfo> </metadata> ... <interface type='bridge'> <mac address='52:54:00:24:74:07'/> <source bridge='virbr0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x00' function='0x0'/> </interface> ... 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 (libvirt 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-2023:2171 |