Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1
virt-manager
77423e7a-connection-catch-more-errors-in-filter...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 77423e7a-connection-catch-more-errors-in-filter_nodedevs.patch of Package virt-manager
Subject: connection: catch more errors in filter_nodedevs (bug 1225771) From: Cole Robinson crobinso@redhat.com Tue Jun 9 11:41:39 2015 -0400 Date: Tue Jun 9 11:41:39 2015 -0400: Git: 77423e7a8d2061f06f9f7d0b7a791821a134c8f7 https://bugzilla.redhat.com/show_bug.cgi?id=1225771 Has an example of libvirt failing to generate nodedev XML, so handle that too. diff --git a/virtManager/connection.py b/virtManager/connection.py index d40ace2..3ca13cc 100644 --- a/virtManager/connection.py +++ b/virtManager/connection.py @@ -594,9 +594,11 @@ class vmmConnection(vmmGObject): try: xmlobj = dev.get_xmlobj() except libvirt.libvirtError, e: - if e.get_error_code() == libvirt.VIR_ERR_NO_NODE_DEVICE: - continue - raise + # Libvirt nodedev XML fetching can be busted + # https://bugzilla.redhat.com/show_bug.cgi?id=1225771 + if e.get_error_code() != libvirt.VIR_ERR_NO_NODE_DEVICE: + logging.debug("Error fetching nodedev XML", exc_info=True) + continue if devtype and xmlobj.device_type != devtype: continue
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor