Back to top

Xen opensuse



OpenSUSE 10.3

The pygrub bootloader is not available on the SUSE platform. Instead, there is a located at /usr/lib/xen/boot directory. Once the installation of PV images is complete, you would have to change the bootloader manually to /usr/lib/xen/boot/ Also, the bootloader requires bootargs param containing the location of path to kernel and ramdisk within the VM image. The bootargs can be specified in the Miscellaneous tab. Here is an exmple entry :

bootargs =--entry=xvda1:/vmlinuz,/initrd.img 

Note: The domUloader is not able to mount the rPath Appliance images. This prevents it from being able to fetch the kernel and ramdisk from the appliance and start it. We would publish a set of steps once the domUloader issue is resolved.

OpenSUSE 11.0

Required RPMs

  1. python-crypto-2.0.1
  2. python-paramiko-1.7.4
  3. xen-3.2.1
  4. convirt-0.9.1-1.suse.noarch.rpm


Run the following commands as root

rpm -Uvh python-crypto-2.0.1-29.6.x86_64.rpm
rpm -Uvh python-paramiko-1.7.4-3.1.x86_64.rpm
rpm -Uvh xen-3.2.1_16881_04-8.6.x86_64.rpm
rpm -Uvh convirt-0.9.1-1.suse.noarch.rpm

You can safely ignore the "error: failed to stat /home/tom/.gvfs: Permission denied" error.

Then you can launch convirt as root:

[root@localhost]$ convirt


X Display not available to root

If you encounter the following error:

/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/ GtkWarning: could not open display
 warnings.warn(str(e), _gtk.Warning)
/usr/share/convirt/src/convirt/client/ GtkWarning: gdk_screen_get_height: assertion `GDK_IS_SCREEN (screen)' failed
 display_resolution = 0.3514598*(gtk.gdk.screen_height() /
/usr/share/convirt/src/convirt/client/ GtkWarning: gdk_screen_get_height_mm: assertion `GDK_IS_SCREEN (screen)' failed
Traceback (most recent call last):
 File "/usr/share/convirt/src/convirt/client/", line 74, in <module>
   import convirt.client.dialogs
 File "/usr/share/convirt/src/convirt/client/", line 36, in <module>
   from convirt.client.htmltextview import HtmlTextView
 File "/usr/share/convirt/src/convirt/client/", line 39, in <module>
ZeroDivisionError: float division

In order to launch convirt:

[user@localhost]$ xhost +
[user@localhost]$ sudo su
[root@localhost]$ export DISPLAY=:0.0
[root@localhost]$ convirt


Note : This should not be required for ConVirt 1.0 and above. For SLES environment, you would have to add to ConVirt.


in the DEFAULT section of convirt.conf on the managed server machine.

Cet article vous a-t-il été utile ?
Utilisateurs qui ont trouvé cela utile : 0 sur 0