Bug 719902

Summary: can not open "create virtual machine" and "virtual machine manager"
Product: [openSUSE] openSUSE 12.1 Reporter: Forgotten User VwC0v2dy2L <forgotten_VwC0v2dy2L>
Component: YaST2Assignee: Charles Arnold <carnold>
Status: VERIFIED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None CC: robert-suse, willkeinspam
Version: RC 1   
Target Milestone: ---   
Hardware: x86-64   
OS: Linux   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Forgotten User VwC0v2dy2L 2011-09-22 18:46:23 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.163 Safari/535.1

I get errors on both:
1) "create virtual machine" - Error (Ok/Details) in details:
libvir: RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock': No such file or directory
libvir: RPC error : Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory
Error: Failed to connect socket to '/var/run/libvirt/libvirt-sock-ro': No such file or directory

2) "virtual machine manager" - Error starting Virtual Machine Manager: No D-BUS daemon running:
Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 467, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 402, in main
    icon_dir, data_dir)
  File "/usr/share/virt-manager/virtManager/config.py", line 99, in __init__
    gconf.CLIENT_PRELOAD_NONE)
GError: No D-BUS daemon running


Reproducible: Always

Steps to Reproduce:
1. install openSUSE 12.1m5 only with XFCE desktop
2. use 'yast: install hypervisor and tools' (selected both xen and kvm)
3. restart to xen as advised on the end of installation
4. open yast and try "create virtual machine" and "virtual machine manager"
Actual Results:  
both fail with above messages

Expected Results:  
never used this before but some kind of window would be nice

i'm still using sysVinit (not systemd), only XFCE is installed, no gnome/kde installed (although some libs are used by XFCE)
Comment 1 Robert Riemann 2011-10-24 19:40:48 UTC
I can confirm this bug.

I used opensuse 12.1 beta 64bit and did the upgrade to opensuse 12.1 RC via zypper dup.

I'm using KDE, but I think this problem is not related to any desktop environment. ;)
Comment 2 Marc Schlegel 2011-12-05 18:24:13 UTC
I can confirm this on 12.1 GA.

I am not able to create any virtual machine.
Comment 3 Marc Schlegel 2011-12-07 18:53:30 UTC
It looks like the installation-routine from yast isnt working properly.

I had to install quemu and configure libvrt

Manual steps to fix the problem:
1. install quemu
2. configure libvrt: sudo /sbin/chkconfig --add libvirtd
3. start libvrt: /etc/init.d/libvirtd start 
4. test it: virsh -c qemu:///system list

After these steps the programm for adding a virtual machine started.

I am by far no experienced user, all I did was following the steps from this tutorial:
http://www.howtoforge.com/virtualization-with-kvm-on-an-opensuse-11.4-server

It looks like yast also did not configure any bridge after the install. At least ifconfig doesnt show me any...so I probably have to follow the tutorial to the end.

Would be nice if this could be fixed for the next release.
Comment 5 Charles Arnold 2012-02-15 16:12:00 UTC
Please update to the latest releases of the virtualization and yast tools
in the channel and retry.
Comment 6 Marc Schlegel 2012-02-21 09:59:23 UTC
Since I did a fresh install I tried it again but now I am getting a error dialog "UI Syntax Error - Multiple buttons with role [Cancel]"

I couldnt find any corresponding log-entry...sorry
Comment 7 Charles Arnold 2012-02-21 16:21:15 UTC
(In reply to comment #6)
> Since I did a fresh install I tried it again but now I am getting a error
> dialog "UI Syntax Error - Multiple buttons with role [Cancel]"

I've never seen this error nor heard of anyone else seeing it.  However, 
reinstalling doesn't get you updated programs with bug fixes.  What I asked 
in comment #5 is that you update your machine with the Virtualization
RPMs from the channel which contain bug fixes.  There are a couple ways
of doing this.  One way is from the command line typing 'zypper up'.  The
YaST installation/repository tools also provide a way to do this.