[Bug 527875] [NEW] libvirt0 unable to operate due to missing essential files

IAN DELANEY johneed at hotmail.com
Thu Feb 25 16:47:51 GMT 2010


Public bug reported:

Binary package hint: libvirt0

libvirt is the lynch pin to running virtual environments.  In karmic, it curiously fails to create the essential files
/var/run/libvirt/unix_sock_ro  or something close to that,  and    /var/run/libvirt/unix_sock_rw.  

 I've run libvirt in other distros and cannot figure what's going on here.  By rights nothing should work.  In a xen environment, it allows connection to xen and to test://default.   It can't connect to qemu or kvm due to their absence.  It causes failure in every other way that depends on their existance. namely connecting to vnc consoles.   
When creating a vm from virt-manager. a difficult task in itself, it can't offer a console from which to perform an installation or to run the vm.  Trying to use the standard virt-viewer or vncviewer just come to grief from looking for the files

idella at karmic:~$ sudo virt-viewer -c xen Squeeze
libvir: Xen Daemon error : internal error failed to connect to xend
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
libvir: warning : Failed to find the network: Is the daemon running ?
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
libvir: warning : Failed to find the interface: Is the daemon running ?
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
libvir: Remote error : unable to connect to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
libvir: warning : Failed to find a node driver: Is the libvirtd daemon running ?


The curious thing about libvirt in xen in karmic is the choice in /etc/xen/xend-cofig.sxp.
In every other distro it's recommended to use the choice (xend-unix-server yes)

In karmic this choice is simply not there, so I'm running on

(xend-http-server yes)
(xend-port            8000)

The same error was is in place in lenny.  Once creating a vm it fails in
both debian distros to properly connect to a vnc console and display the
vm.  Totally useless.  It lets virt-manager down and the lets theuser
down who is trying to manage vms.

These packages need to be properly integrated to work together.
Currently they are disintegrated.

Running in a regular kernel, these are created, and only then can you
use qemu and kvm.  ??? !!

There is an influence of xen somehow upon libvirt to change this
operating mode.

libvirt0-0.7.0-1ubuntu13.1

idella at karmic:~$ lsb_release -rd
Description:	Ubuntu 9.10
Release:	9.10

ProblemType: Bug
Architecture: i386
Date: Fri Feb 26 00:16:19 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
Package: libvirt0 0.7.0-1ubuntu13.1
ProcEnviron:
 LANG=en_AU.UTF-8
 SHELL=/bin/bash
SourcePackage: libvirt
Uname: Linux 2.6.31-xen-r10 i686

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386

-- 
libvirt0 unable to operate due to missing essential files
https://bugs.launchpad.net/bugs/527875
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to libvirt in ubuntu.



More information about the Ubuntu-server-bugs mailing list