Bug 1836351
Summary: | libvirt: Fix virConnectGetDomainCapabilities() call with empty cache | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux Advanced Virtualization | Reporter: | Andrea Bolognani <abologna> | |
Component: | libvirt | Assignee: | Andrea Bolognani <abologna> | |
Status: | CLOSED ERRATA | QA Contact: | Luyao Huang <lhuang> | |
Severity: | urgent | Docs Contact: | ||
Priority: | urgent | |||
Version: | 8.2 | CC: | crobinso, fdeutsch, jdenemar, jsuchane, knoel, lijin, mtessun, toneata, virt-maint, yalzhang | |
Target Milestone: | rc | Keywords: | Regression, ZStream | |
Target Release: | 8.2 | Flags: | pm-rhel:
mirror+
|
|
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | libvirt-6.0.0-21.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1843534 (view as bug list) | Environment: | ||
Last Closed: | 2020-07-28 07:13:31 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: | ||||
Bug Blocks: | 1842869, 1843534 |
Description
Andrea Bolognani
2020-05-15 16:46:41 UTC
Reproduce this issue on libvirt-daemon-6.0.0-19.module+el8.2.1+6538+c148631f.x86_64: 1. make sure there is no guest and no cache file # ll /var/cache/libvirt/qemu/ total 0 # virsh list --all Id Name State -------------------- 2. run domcapabilities command # virsh domcapabilities error: failed to get emulator capabilities error: invalid argument: unable to find any emulator to serve 'x86_64' architecture 3. define a guest # virsh define guest.xml Domain vm1 defined from guest.xml 4. rerun domcapabilities command # virsh domcapabilities <domainCapabilities> <path>/usr/libexec/qemu-kvm</path> ... </domainCapabilities> And verify this bug with libvirt-daemon-6.0.0-22.module+el8.2.1+6815+1c792dc8.x86_64: 1. make sure there is no guest and no cache file # ll /var/cache/libvirt/qemu/capabilities/ total 0 # virsh list --all Id Name State -------------------- 2. run domcapabilities command # virsh domcapabilities <domainCapabilities> <path>/usr/libexec/qemu-kvm</path> ... </domainCapabilities> 3. check cache file: # ll /var/cache/libvirt/qemu/capabilities/ total 112 -rw-------. 1 root root 111463 Jun 3 02:52 3c76bc41d59c0c7314b1ae8e63f4f765d2cf16abaeea081b3ca1f5d8732f7bb1.xml 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, 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-2020:3172 |