Xen - vm-install failing to launch

Hello, I’m running opensuse 11.1 x86_64. I installed my nVidia driver today and then proceeded to install Xen through YaST. The install went fine from what I could see. I went through the reboot and proceeded to the ‘Create Virtual Machines’ icon next.

Whenever I click it I get no response so I went to the CLI and realize the below error message is happening. I searched trying to find out what could be causing this but had no luck. It seems obvious I’m missing some modules that the libvirt.py is looking for. I tried reinstalling the libvirt-python pkg thinking something didn’t apply correctly but the error still persists.

linux-uyqu:~ # vm-install
Traceback (most recent call last):
File “/usr/bin/vm-install”, line 22, in <module>
import vmdisks.disks
File “/usr/lib64/python2.6/site-packages/vmdisks/init.py”, line 2, in <module>
from diskmap import *
File “/usr/lib64/python2.6/site-packages/vmdisks/diskmap.py”, line 1, in <module>
import libvirt
File “/usr/lib64/python2.6/site-packages/libvirt.py”, line 12, in <module>
import cygvirtmod as libvirtmod
ImportError: No module named cygvirtmod
linux-uyqu:~ #

I have downloaded the libvirt pkg for x86_64 from libvirt.org and installed it to have no luck either. Any assistance that can be granted is appreciated? Wondering if did goof something up in the Xen install or am I missing a dependency?

and oddly enough it seems that once i re-installed the virt-viewer pkg everything is working fine. Case closed…

Awsome man, thank you for this info. I tried installing Xen from yast and I would have thought it would have been smart enough to install the viewer…but it wasnt. I could not get the wizard to start. Installing the viewr got that to go.

I have the same problem (ImportError: No module named vmdisks.disks) when I try to create a new VM with virt-install I get:

Traceback (most recent call last):
File “/usr/bin/vm-install”, line 24, in
import vmdisks.disks
ImportError: No module named vmdisks.disks

even if I’ve reinstalled virt-viewer.
I’m running OpenSuse 11.3 / 32 bits.