Public bug reported:

Binary package hint: virt-manager

Hi there,

Currently i'm testing out XEN as an alternative to vmware as our
hypervisor, but it seemed that there wasn't any good GUI's around until
i stubled into virt-manager, however i'm having a bit trouble getting it
to work. Below is the last entries from my client machines virt-manager
log.

[Mon, 07 Jul 2008 13:45:18 virt-manager 11398] DEBUG (connection:318) 
Scheduling background open thread for xen+ssh://192.168.11.7/
[Mon, 07 Jul 2008 13:45:18 virt-manager 11398] DEBUG (connection:325) 
Background thread is running
[Mon, 07 Jul 2008 13:45:19 virt-manager 11398] ERROR (connection:350) Unable to 
open connection to hypervisor URI 'xen+ssh://192.168.11.7/':
<class 'libvirt.libvirtError'> virConnectOpenReadOnly() failed socket closed 
unexpectedly
Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/connection.py", line 332, in 
_open_thread
    self.vmm = libvirt.openReadOnly(self.uri)
  File "/usr/lib/python2.5/site-packages/libvirt.py", line 144, in openReadOnly
    if ret is None:raise libvirtError('virConnectOpenReadOnly() failed')
libvirtError: virConnectOpenReadOnly() failed socket closed unexpectedly

[Mon, 07 Jul 2008 13:45:19 virt-manager 11398] DEBUG (connection:354) 
Background open thread complete, scheduling notify
[Mon, 07 Jul 2008 13:45:19 virt-manager 11398] DEBUG (connection:363) Notifying 
open result

The client system is a kubuntu 8.04 (2.6.24-19-generic) with the following 
packages installed.
[EMAIL PROTECTED]:~$ dpkg -l | grep virt
ii  libvirt-bin                               0.4.0-2ubuntu8                    
 the programs for the libvirt library
ii  libvirt0                                   0.4.0-2ubuntu8                   
  library for interfacing with different virtu
ii  python-libvirt                         0.4.0-2ubuntu8                     
libvirt python bindings
ii  python-virtinst                       0.300.2-0ubuntu6                 
program and library to install virtual guest
ii  virt-manager                         0.5.3-0ubuntu10                   
desktop application for managing virtual mac
ii  virt-viewer                              0.0.2-1ubuntu1                     
Displaying the graphical console of a virtua

The XEN server is running Debian etch (kernel 2.6.18-6-xen-686) with the 
following packages installed.
ii  libvirt-bin                    0.4.0-1~bpo40+1                          the 
programs for the libvirt library
ii  libvirt0                        0.4.0-1~bpo40+1                          
library for interfacing with differeny virtu
ii  python-libvirt              0.4.0-1~bpo40+1                          
libvirt python bindings
ii  virtinst                        0.300.1-5~bpo40+1                      
Programs to create and clone virtual machine

I have verified that the virtd daemon is running.
landebnxvms007:~# /etc/init.d/libvirt-bin status
Checking status of libvirt management daemon: libvirtd running.

There is a ssh trust relationship established between the 2 hosts and it works.
Jul  7 13:44:42 landebnxvms007 sshd[17697]: Accepted publickey for root from 
192.168.11.2 port 40389 ssh2
Jul  7 13:44:42 landebnxvms007 sshd[17699]: (pam_unix) session opened for user 
root by (uid=0)

The xend service is also running well.
landebnxvms007:~# xm list
Name                                        ID   Mem VCPUs      State   Time(s)
Domain-0                                    0   109     1     r-----   2342.7
tendappxvmg001                       34  127     1      -b----     25.8
tenfedcxvmg002                        37  127     1     ------   4755.0
tengutsxvmg003                        33  127     1      -b----     27.6

/etc/xen/xend-config.sxp 
(xend-http-server yes)
(xend-unix-server yes) # This is the interresting one right, when we working 
with virt-manager ?
(xend-tcp-xmlrpc-server yes)
(xend-tcp-xmlrpc-server-address '0.0.0.0')
(xend-unix-xmlrpc-server yes)
(xend-relocation-server yes)
(xend-unix-path /var/lib/xend/xend-socket)

Now i'm stuck, and haven't got anymore ideas to what I should check for
:-).

** Affects: virt-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
virt-manager: socket closed unexpectedly
https://bugs.launchpad.net/bugs/246246
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to