Bug 676920

Summary: netcf dumpxml error causes virt-manager to flood logs
Product: [Fedora] Fedora Reporter: darrell pfeifer <darrellpf>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: berrange, crobinso, hbrock, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-08-23 18:26:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description darrell pfeifer 2011-02-11 20:50:18 UTC
Description of problem:

I normally use wireless (via wlan0) and rarely use wired (via eth0). I had a working Fedora 14 VM. When my wired B44 driver started causing panics in the latest kernel I blacklisted the driver because I didn't need it while waiting for the bug to be fixed.

I can start virt-manager, but now when I attempt to run the vm python starts looping at 100%

virt-manager should be more robust in this case.


Version-Release number of selected component (if applicable):

virt-manager-0.8.6-2.fc15


Additional info:


[Fri, 11 Feb 2011 12:18:30 virt-manager 29700] ERROR (connection:1297) Couldn't fetch inactive interface 'eth0'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1294, in _update_interfaces
    check_obj(name, False)
  File "/usr/share/virt-manager/virtManager/connection.py", line 1266, in check_obj
    current[key] = vmmInterface(self, obj, key, is_active)
  File "/usr/share/virt-manager/virtManager/interface.py", line 44, in __init__
    self.refresh_xml()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 110, in refresh_xml
    self._xml = self._XMLDesc(self._active_xml_flags)
  File "/usr/share/virt-manager/virtManager/interface.py", line 48, in _XMLDesc
    return self.interface.XMLDesc(flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1036, in XMLDesc
    if ret is None: raise libvirtError ('virInterfaceGetXMLDesc() failed', net=self)
libvirtError: internal error could not get interface XML description (netcf: NETLINK socket operation failed - 
couldn't find ifindex for interface `eth0`)
[Fri, 11 Feb 2011 12:18:31 virt-manager 29700] ERROR (connection:1297) Couldn't fetch inactive interface 'eth0'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1294, in _update_interfaces
    check_obj(name, False)
  File "/usr/share/virt-manager/virtManager/connection.py", line 1266, in check_obj
    current[key] = vmmInterface(self, obj, key, is_active)
  File "/usr/share/virt-manager/virtManager/interface.py", line 44, in __init__
    self.refresh_xml()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 110, in refresh_xml
    self._xml = self._XMLDesc(self._active_xml_flags)
  File "/usr/share/virt-manager/virtManager/interface.py", line 48, in _XMLDesc
    return self.interface.XMLDesc(flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1036, in XMLDesc
    if ret is None: raise libvirtError ('virInterfaceGetXMLDesc() failed', net=self)
libvirtError: internal error could not get interface XML description (netcf: NETLINK socket operation failed - 
couldn't find ifindex for interface `eth0`)
[Fri, 11 Feb 2011 12:18:32 virt-manager 29700] ERROR (connection:1297) Couldn't fetch inactive interface 'eth0'
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 1294, in _update_interfaces
    check_obj(name, False)
  File "/usr/share/virt-manager/virtManager/connection.py", line 1266, in check_obj
    current[key] = vmmInterface(self, obj, key, is_active)
  File "/usr/share/virt-manager/virtManager/interface.py", line 44, in __init__
    self.refresh_xml()
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 110, in refresh_xml
    self._xml = self._XMLDesc(self._active_xml_flags)
  File "/usr/share/virt-manager/virtManager/interface.py", line 48, in _XMLDesc
    return self.interface.XMLDesc(flags)
  File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1036, in XMLDesc
    if ret is None: raise libvirtError ('virInterfaceGetXMLDesc() failed', net=self)
libvirtError: internal error could not get interface XML description (netcf: NETLINK socket operation failed - 
couldn't find ifindex for interface `eth0`)

Comment 1 Cole Robinson 2011-04-28 16:23:11 UTC
This isn't actually causing an endless loop, the error just keeps popping up in virt-manager's polling loop. The root cause here is:

https://bugzilla.redhat.com/show_bug.cgi?id=698108

But we shouldn't flood logs in the interim.

Comment 2 Cole Robinson 2011-08-23 18:26:52 UTC
Rawhide shouldn't flood the logs in this case anymore.