xend fails to initialise properly-opensuse 11.4 xen 4.02 2.6.37.6-0.7

Hello all,

I am running into a problem with my xen installation. So far I have:

  • installed 11.4 64bit
  • installed hypervisor and tools (I created br0)
  • boot into xen kernel
  • run a zypper update

My current configuration is:

Linux linux-c7sq 2.6.37.6-0.7-xen #1 SMP 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux
using patterns-openSUSE-xen_server-11.4-6.9.1.x86_64:

  • bridge-utils-1.4-63.1.x86_64
  • xen-doc-html-4.0.2_02-4.9.2.x86_64
  • xen-doc-html-4.0.2_02-4.9.2.x86_64
  • xen-tools-4.0.2_02-4.9.2.x86_64
  • xen-doc-pdf-4.0.2_02-4.9.2.x86_64
  • xen-4.0.2_02-4.9.2.x86_64
  • kernel-xen-2.6.37.6-0.7.1.x86_64

My menu list contains these lines:

default 1
timeout 8
gfxmenu (hd0,2)/message
##YaST - activate

###Don’t change this comment - YaST2 identifier: Original name: xen###
title Xen – openSUSE 11.4 - 2.6.37.6-0.7
root (hd0,2)
kernel /xen.gz vga=mode-0x31a
module /vmlinuz-2.6.37.6-0.7-xen root=/dev/disk/by-id/ata-ST3500630AS_6QG073GF-part5 resume=/dev/disk/by-id/ata-ST3500630AS_6QG073GF-part6 splash=silent quiet showopts vga=0x31a
module /initrd-2.6.37.6-0.7-xen

###Don’t change this comment - YaST2 identifier: Original name: linux###
title Desktop – openSUSE 11.4 - 2.6.37.6-0.7
root (hd0,2)
kernel /vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-ST3500630AS_6QG073GF-part5 resume=/dev/disk/by-id/ata-ST3500630AS_6QG073GF-part6 splash=silent quiet showopts vga=0x31a
initrd /initrd-2.6.37.6-0.7-desktop

###Don’t change this comment - YaST2 identifier: Original name: failsafe###
title Failsafe – openSUSE 11.4 - 2.6.37.6-0.7
root (hd0,2)
kernel /vmlinuz-2.6.37.6-0.7-desktop root=/dev/disk/by-id/ata-ST3500630AS_6QG073GF-part5 showopts apm=off noresume edd=off powersaved=off nohz=off highres=off processor.max_cstate=1 nomodeset x11failsafe vga=0x31a
initrd /initrd-2.6.37.6-0.7-desktop

###Don’t change this comment - YaST2 identifier: Original name: windows###
title Windows
rootnoverify (hd0,0)
chainloader +1

###Don’t change this comment - YaST2 identifier: Original name: hard_disk###
title Hard Disk
rootnoverify (hd0,0)
chainloader +1

and I’m sure I booted into the correct kernel. After all this, here’s the problem. When starting xend, I find the following in the logs:

[2011-08-09 11:19:41 11312] INFO (SrvDaemon:227) Xend stopped due to signal 15.
[2011-08-09 11:19:51 11805] INFO (SrvDaemon:332) Xend Daemon started
[2011-08-09 11:19:51 11805] INFO (SrvDaemon:336) Xend changeset: 21479.
[2011-08-09 11:19:51 11805] DEBUG (XendNode:332) pscsi record count: 6
[2011-08-09 11:19:51 11805] DEBUG (XendCPUPool:745) recreate_active_pools
[2011-08-09 11:19:51 11805] ERROR (SrvDaemon:349) Exception starting xend ((111, ‘Connection refused’))
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py”, line 341, in run
servers = SrvServer.create()
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvServer.py”, line 261, in create
root.putChild(‘xend’, SrvRoot())
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvRoot.py”, line 40, in init
self.get(name)
File “/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py”, line 84, in get
val = val.getobj()
File “/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py”, line 52, in getobj
self.obj = klassobj()
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvNode.py”, line 30, in init
self.xn = XendNode.instance()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 1196, in instance
inst = XendNode()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 163, in init
self._init_cpu_pools()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 382, in _init_cpu_pools
XendCPUPool.recreate_active_pools()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendCPUPool.py”, line 752, in recreate_active_pools
uuid = xstransact.Read(path, ‘uuid’)
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 307, in Read
return complete(path, lambda t: t.read(*args))
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 361, in complete
t = xstransact(path)
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 29, in init
self.transaction = xshandle().transaction_start()
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xsutil.py”, line 18, in xshandle
xs_handle = xen.lowlevel.xs.xs()
Error: (111, ‘Connection refused’)
[2011-08-09 11:32:32 11802] INFO (SrvDaemon:227) Xend stopped due to signal 15.

Does anyone have the same problem? There was nothing on google on this, and the xs_handle cannot be debugged as xs.so isn’t visible to me :frowning:

Thanks in advance for any pointers.

Martin

I am also getting same error on OpenSUSE 11.4, Any pointers to solve ?

-Ranjith

#uname -a
Linux linux-ws7h 2.6.37.6-0.7-xen #1 SMP 2011-07-21 02:17:24 +0200 x86_64 x86_64 x86_64 GNU/Linux

#/var/log/xen/xend.log

2011-08-09 14:36:38 21111] ERROR (SrvDaemon:349) Exception starting xend ((111, ‘Connection refused’))
Traceback (most recent call last):
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvDaemon.py”, line 341, in run
servers = SrvServer.create()
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvServer.py”, line 261, in create
root.putChild(‘xend’, SrvRoot())
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvRoot.py”, line 40, in init
self.get(name)
File “/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py”, line 84, in get
val = val.getobj()
File “/usr/lib64/python2.7/site-packages/xen/web/SrvDir.py”, line 52, in getobj
self.obj = klassobj()
File “/usr/lib64/python2.7/site-packages/xen/xend/server/SrvNode.py”, line 30, in init
self.xn = XendNode.instance()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 1196, in instance
inst = XendNode()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 163, in init
self._init_cpu_pools()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendNode.py”, line 382, in _init_cpu_pools
XendCPUPool.recreate_active_pools()
File “/usr/lib64/python2.7/site-packages/xen/xend/XendCPUPool.py”, line 752, in recreate_active_pools
uuid = xstransact.Read(path, ‘uuid’)
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 307, in Read
return complete(path, lambda t: t.read(*args))
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 361, in complete
t = xstransact(path)
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xstransact.py”, line 29, in init
self.transaction = xshandle().transaction_start()
File “/usr/lib64/python2.7/site-packages/xen/xend/xenstore/xsutil.py”, line 18, in xshandle
xs_handle = xen.lowlevel.xs.xs()
Error: (111, ‘Connection refused’)

I thought it might be worth raising this as a bug - if you found this post via google, here’s the bugzilla reference:

https://bugzilla.novell.com/show_bug.cgi?id=711710

I really hope this gets fixed! I love xen.

Martin