[fedora-virt] No networking?

Cole Robinson crobinso at redhat.com
Thu Oct 18 22:21:51 UTC 2012


On 09/27/2012 04:44 PM, Tom Horsley wrote:
> On Wed, 26 Sep 2012 21:27:51 -0400
> Cole Robinson wrote:
> 
>> Hmm, maybe doing dumpxml for some interface is failing and causing
>> virt-manager to throw out the rest. virt-manager --debug info from app startup
>> should be interesting.
> 
> Yep. Looks like the errors happen with or without trying to install
> a new KVM. Here's the --debug output:
> 
> zooty> virt-manager --debug

> 2012-09-27 16:40:21,830 (connection:1158): Couldn't fetch active interface 'bifrost'
> Traceback (most recent call last):
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1155, in _poll_helper
>     check_obj(name, True)
>   File "/usr/share/virt-manager/virtManager/connection.py", line 1134, in check_obj
>     current[key] = build_class(self, obj, key, is_active)
>   File "/usr/share/virt-manager/virtManager/interface.py", line 41, in __init__
>     self.refresh_xml()
>   File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 105, in refresh_xml
>     self._xml = self._XMLDesc(self._active_xml_flags)
>   File "/usr/share/virt-manager/virtManager/interface.py", line 45, in _XMLDesc
>     return self.interface.XMLDesc(flags)
>   File "/usr/lib64/python2.7/site-packages/libvirt.py", line 1948, in XMLDesc
>     if ret is None: raise libvirtError ('virInterfaceGetXMLDesc() failed', net=self)
> libvirtError: XML error: vlan interface misses the vlan element

Hey Tom, sorry for the delayed response.

libvirt or netcf is choking on something here. If you're still seeing the
issue, try 'sudo virsh iface-dumpxml' for every name in 'sudo virsh iface-list
--all': one of them should error like that log message.

Then take the associated ifcfg file in /etc/sysconfig/network/ and attach to a
libvirt bug report and we can follow up there.

Thanks,
Cole


More information about the virt mailing list