[virt-tools-list] virt-manager fails to fetch storage pool info and disconnects from server

Thomas Fjellstrom tfjellstrom at shaw.ca
Fri Jan 20 18:10:41 UTC 2012


On Fri Jan 20, 2012, Marko Weber wrote:
> Hello,
> seems that virt-manager can not connect to your target:
> 
> 2012-01-18 19:40:20,967 (engine:453): Could not refresh connection
> qemu+tcp://boris.home.tomasu.org/system.
> 
> Firewall? DNS ?

Nope. It connects just fine, but times out when fetching the "logical" vg0 
storage pool I added.

I've been having to manually define guest xml files based on a template, and 
manage lvm volumes to get guests up. It's not the end of the world, its just a 
little annoying.

> marko
> 
> Am 19.01.2012 03:55, schrieb Thomas Fjellstrom:
> > I just reinstalled my server, and am attempting so create a couple
> > new guests,
> > but virt-manager will no longer connect to the server since I added
> > the
> > storage pools to the libvirtd config.
> > 
> > This is all I get after it prints out the server's description xml:
> > 
> > 2012-01-18 19:40:20,950 (connection:1255): Couldn't fetch active pool
> > 'vg0'
> > 
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1252, in
> > _poll_helper
> > 
> >     check_obj(name, True)
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1231, in
> > check_obj
> > 
> >     current[key] = build_class(self, obj, key, is_active)
> >   
> >   File "/usr/share/virt-manager/virtManager/storagepool.py", line 38,
> > 
> > in
> > __init__
> > 
> >     self.refresh()
> >   
> >   File "/usr/share/virt-manager/virtManager/storagepool.py", line
> > 
> > 115, in
> > refresh
> > 
> >     self.pool.refresh(0)
> >   
> >   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 1921, in
> > 
> > refresh
> > 
> >     if ret == -1: raise libvirtError ('virStoragePoolRefresh()
> > 
> > failed',
> > pool=self)
> > libvirtError: End of file while reading data: Input/output error
> > 2012-01-18 19:40:20,956 (connection:1227): Could not fetch pool
> > 'diskimages':
> > End of file while reading data: Input/output error
> > 
> > 2012-01-18 19:40:20,958 (cli:85): Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virtManager/baseclass.py", line 33,
> > 
> > in
> > _safe_wrapper
> > 
> >     return func(*args)
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1182, in
> > _open_notify
> > 
> >     self.tick()
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1422, in tick
> > 
> >     newInterfaces, self.interfaces) = self._update_interfaces()
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1303, in
> > _update_interfaces
> > 
> >     lookup_func, build_class)
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1209, in
> > _poll_helper
> > 
> >     if not check_support():
> >   File "/usr/share/virt-manager/virtManager/connection.py", line 512,
> > 
> > in
> > is_interface_capable
> > 
> >     virtinst.support.SUPPORT_CONN_INTERFACE)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 574,
> > 
> > in
> > check_conn_support
> > 
> >     return _check_support(conn, feature, conn)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 442,
> > 
> > in
> > _check_support
> > 
> >     minimum_libvirt_version)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 358,
> > 
> > in
> > _daemon_lib_ver
> > 
> >     return conn.getLibVersion()
> >   
> >   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2873, in
> > 
> > getLibVersion
> > 
> >     if ret == -1: raise libvirtError ('virConnectGetLibVersion()
> > 
> > failed',
> > conn=self)
> > libvirtError: Cannot write data: Broken pipe
> > None
> > 
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virtManager/baseclass.py", line 33,
> > 
> > in
> > _safe_wrapper
> > 
> >     return func(*args)
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1182, in
> > _open_notify
> > 
> >     self.tick()
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1422, in tick
> > 
> >     newInterfaces, self.interfaces) = self._update_interfaces()
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1303, in
> > _update_interfaces
> > 
> >     lookup_func, build_class)
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1209, in
> > _poll_helper
> > 
> >     if not check_support():
> >   File "/usr/share/virt-manager/virtManager/connection.py", line 512,
> > 
> > in
> > is_interface_capable
> > 
> >     virtinst.support.SUPPORT_CONN_INTERFACE)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 574,
> > 
> > in
> > check_conn_support
> > 
> >     return _check_support(conn, feature, conn)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 442,
> > 
> > in
> > _check_support
> > 
> >     minimum_libvirt_version)
> >   
> >   File "/usr/lib/pymodules/python2.7/virtinst/support.py", line 358,
> > 
> > in
> > _daemon_lib_ver
> > 
> >     return conn.getLibVersion()
> >   
> >   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2873, in
> > 
> > getLibVersion
> > 
> >     if ret == -1: raise libvirtError ('virConnectGetLibVersion()
> > 
> > failed',
> > conn=self)
> > libvirt.libvirtError: Cannot write data: Broken pipe
> > 2012-01-19 02:40:20.966+0000: 4041: info : libvirt version: 0.9.8
> > 2012-01-19 02:40:20.966+0000: 4041: warning : virKeepAliveSend:128 :
> > Failed to
> > send keepalive response to client 0x7fd194000df0
> > 2012-01-18 19:40:20,967 (engine:453): Could not refresh connection
> > qemu+tcp://boris.home.tomasu.org/system.
> > 
> > Traceback (most recent call last):
> >   File "/usr/share/virt-manager/virtManager/engine.py", line 440, in
> > 
> > _tick
> > 
> >     conn.tick()
> >   
> >   File "/usr/share/virt-manager/virtManager/connection.py", line
> > 
> > 1410, in tick
> > 
> >     self.hostinfo = self.vmm.getInfo()
> >   
> >   File "/usr/lib/python2.7/dist-packages/libvirt.py", line 2867, in
> > 
> > getInfo
> > 
> >     if ret is None: raise libvirtError ('virNodeGetInfo() failed',
> > 
> > conn=self)
> > libvirtError: Cannot write data: Broken pipe
> > 2012-01-18 19:40:20,969 (engine:454): Closing connection since
> > libvirtd
> > appears to have stopped.
> > l^C2012-01-18 19:40:41,583 (virt-manager:385): Received
> > KeyboardInterrupt.
> > Exiting application.
> > 
> > What would cause this?


-- 
Thomas Fjellstrom
tfjellstrom at shaw.ca




More information about the virt-tools-list mailing list