Mathieu Tarral
2021-Apr-07 08:14 UTC
Xen: libvirt.libvirtError: An error occurred, but the cause is unknown
Hi, I'm facing a strange issue with libvirt and the Xen driver. Whenever I try to define or start a domain, I always get this error: "libvirt.libvirtError: An error occurred, but the cause is unknown" (in Python virt-manager interface) Which is not very helpful. Trying to use virsh directly leads to the same error message: virsh # start win10_xen error: Failed to start domain win10_xen error: An error occurred, but the cause is unknown I checked /var/log/libvirt/libxl/libxl-driver.log, but the log file is empty. However, using the xl toolstack directly to start a new domain works fine, so the issue doesn't seem to come from Xen. My environment: - Ubuntu 20.04 LTS - xen-hypervisor-4.11-amd64 (4.11.3+24-g14b62ab3e5-1ubuntu2) - libvirt0 (6.0.0-0ubuntu8.8) I really like libvirt and virt-manager to manage my VMs. Any clue how I could dig deeper and find the root cause ? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210407/3e8a6384/attachment.htm>
Peter Krempa
2021-Apr-07 08:56 UTC
Xen: libvirt.libvirtError: An error occurred, but the cause is unknown
On Wed, Apr 07, 2021 at 08:14:10 +0000, Mathieu Tarral wrote:> Hi, > > I'm facing a strange issue with libvirt and the Xen driver. > > Whenever I try to define or start a domain, I always get this error: > "libvirt.libvirtError: An error occurred, but the cause is unknown" (in Python virt-manager interface) > > Which is not very helpful. > Trying to use virsh directly leads to the same error message: > > virsh # start win10_xen > error: Failed to start domain win10_xen > error: An error occurred, but the cause is unknownThis is reported when we fail to set an error message> > I checked /var/log/libvirt/libxl/libxl-driver.log, but the log file is empty.Please try enabling full debug logging, it may at least show what the last thing we were doing is. https://www.libvirt.org/kbase/debuglogs.html#persistent-setting