Mailinglist Archive: opensuse-virtual (37 mails)

< Previous Next >
Re: [opensuse-virtual] Bug (Maybe?) with finding Xen Guest installation repository
  • From: "Jason Douglas" <jdouglas@xxxxxxxxxx>
  • Date: Fri, 30 May 2008 15:37:24 -0600
  • Message-id: <48401F34.971B.006F.0@xxxxxxxxxx>
I just ran into the problem you are seeing with no repository found, but only
on 32-bit guests. A 64-bit openSUSE guest seemed to work just fine. I'm in
the process of investigating the 32-bit issue, but for now, let me address some
of these other issues inline.

On Fri, May 30, 2008 at 12:24 PM, in message
<61e814a80805301124n10210dc1ob8fcbe3e5a622669@xxxxxxxxxxxxxx>, "Tetsu Asaka"
<tetsuichi.asaka@xxxxxxxxx> wrote:
Yes I have tried to. I tried to enter the interactive mode as I have
read, but get many errors.

vm-install
No protocol specified
/usr/lib64/python2.5/site-packages/gtk-2.0/gtk/__init__.py:72:
GtkWarning: could not open display
warnings.warn(str(e), _gtk.Warning)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
Warning: invalid (NULL) pointer instance
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE
(instance)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN
(screen)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
GtkWarning: Screen for GtkWindow not set; you must always set
a screen for a GtkWindow before using the window
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN
(screen)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_context_set_font_description: assertion `context
!= NULL' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_context_set_base_dir: assertion `context != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_context_set_language: assertion `context != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_new: assertion `context != NULL' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_attributes: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_justify: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_alignment: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_ellipsize: assertion `PANGO_IS_LAYOUT
(layout)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_single_paragraph_mode: assertion
`PANGO_IS_LAYOUT (layout)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_width: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_get_extents: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_set_wrap: assertion `PANGO_IS_LAYOUT
(layout)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
GtkWarning: gdk_screen_get_width: assertion `GDK_IS_SCREEN (screen)'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
/usr/lib64/python2.5/site-packages/vminstall/gtk/interface.py:120:
PangoWarning: pango_layout_get_line_count: assertion `layout != NULL'
failed
self.window = gtk.glade.XML(vminstall.paths.gladedir +
'vm-install.glade', self.WINDOW_NAME)
Floating exception


These errors are very strange and I have been unable to duplicate the problem.
It appears to me as though your GNOME or KDE install is incomplete, or you
installed from factory when things weren't quite right. I'm not sure what
exactly to tell you, but I definitely don't see these errors with RC1.

Anyways I have decided to try the "xm create" maethod because it is
closer to the ground floor and does not have added complexity of
python.

It appears as though you have overridden the default xen networking
configuration since xenTEST is not a default bridge name. There are several
things that could be going wrong with your custom configuration, but it is
tough to tell what those might be. Have you tried running the basic
networking config (network-bridge)? What happens there?

Yes I have tried the basic configuration and the same things happens.
But with vif1.0 or vif2.0. It depends on how many times I have done
the creation steps.

Inside this PC I have now two NIC cards plus on the Motherbord.


This custom script needs to be changed to work correctly with openSUSE. It
obviously is not the source of your error (since I have been able to duplicate
the problem as well), but you are most likely going to run into some problems
if you run your script the way it is here.

I have in Dom0 changed the "/etc/xen/xend-config.sxp" file

#(network-script network-bridge)
#(vif-script vif-multi-bridge)
(network-script network-CUSTOM-bridge)

This is fine.


And I have edited to create "/etc/xen/scripts/network-CUSTOM-bridge" which is

#!/bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 bridge=xenTEST netdev=eth0

This should be: $dir/network-bridge" "$@" netdev=eth0

"$dir/vif-bridge" add vifnum=0 bridge=xenTEST netdev=eth0

Not sure what this is for. What is the purpose?

ip link set xenTEST up
route -A inet add default gw 192.168.1.1 dev xenTEST

I don't think these are needed. The bridge should already be up and default
route added (if appropriate) to the bridge.


With my friend I can test this configuration on his Ubuntu and Centos.
His PC has the same Motherbord and NIC, which I have copied for my PC.


If my research is correct, neither Ubuntu nor Centos contain xen 3.2.x. On
older versions of xen, your script would theoretically work, but the networking
changes in xen 3.2 are incompatible with many older scripts.

Jason

--
To unsubscribe, e-mail: opensuse-virtual+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-virtual+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups