[Libvir] Network blocking issue

Shuveb Hussain shuveb at binarykarma.com
Thu Sep 13 08:10:24 UTC 2007


Hi,

I observed this while using the python bindings and accessing a remote
host with libvirt:

>>> import libvirt
>>> c = libvirt.open('xen://veetee/')
>>> c.getInfo()
['i686', 2021, 2, 1864, 1, 1, 2, 1]
>>> c.getInfo()
['i686', 2021, 2, 1864, 1, 1, 2, 1]

# remove network cable from remote machine now
>>> c.getInfo()
# blocks forever....

What is the problem here and is there a solution to this? I am running
FC7 and here is the version info from virsh:
virsh # version
Compiled against library: libvir 0.3.2
Using library: libvir 0.3.2
Using API: Xen 3.0.1
Running hypervisor: Xen 3.1.0

I observed this for more than 10 mins, it was still hung.

Thanks in advance!
-- 
Shuveb Hussain.
Money has nothing to do with Happiness,
But, Poverty has a lot to do with Sorrow.
Company: www.binarykarma.com
Blog: www.binarykarma.org




More information about the libvir-list mailing list