WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] xend does not start

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] xend does not start
From: "Olivier B." <ovh.list@xxxxxxxxx>
Date: Tue, 17 Aug 2010 22:02:35 +0200
Delivery-date: Tue, 17 Aug 2010 13:04:12 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C6AC9F7.2020504@xxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4C6AC9F7.2020504@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.4) Gecko/20100718 Icedove/3.1
 re,

when I do a "xend trace_start", I obtain that (I removed the "MainThread" 
lines) :

# grep -v MainThread xend.trace
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1138, in 
instance
    inst
NameError: global name 'inst' is not defined

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 79, in __init__
    self.other_config = eval(host['other_config'])
TypeError: eval() arg 1 must be a string or code object

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 854, in 
list_to_rangepairs
    if ((cmap[y+1] - cmap[i]) > 1):
IndexError: list index out of range

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1879, in 
instance
    inst
NameError: global name 'inst' is not defined

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1141, in 
instance
    inst.save()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvNode.py", line 30, in 
__init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1141, in 
instance
    inst.save()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvRoot.py", line 40, in 
__init__
    self.get(name)
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvNode.py", line 30, in 
__init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1141, in 
instance
    inst.save()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvDaemon.py", line 341, in 
run
    servers = SrvServer.create()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvServer.py", line 251, in 
create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvRoot.py", line 40, in 
__init__
    self.get(name)
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvNode.py", line 30, in 
__init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1141, in 
instance
    inst.save()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
Error: (111, 'Connection refused')

Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvDaemon.py", line 353, in 
run
    sys.exit(1)
SystemExit: 1







Le 17/08/2010 19:42, Olivier B. a écrit :
 Hi,

I have a Xen server which doesn't work anymore (xend refuse to start), 
apparently without any modification in configuration.
Since it was an "old" Debian testing with Xen 3.4, I upgrade to the last debian 
testing packages, with Xen 4.0.

But I obtain the same problem : xend does not start.
I verified that Xen is running (with a pvops kernel from Debian, or 2.6.32.16 
and 2.6.32.19 from Jeremy's Git), and xenfs (/proc/xen) is mounted.

In logs I have this errors :
[2010-08-17 19:04:16 2339] INFO (SrvDaemon:220) Xend exited with status 1.
[2010-08-17 19:07:57 5348] INFO (SrvDaemon:332) Xend Daemon started
[2010-08-17 19:07:57 5348] INFO (SrvDaemon:336) Xend changeset: unavailable.
[2010-08-17 19:07:59 5348] ERROR (SrvDaemon:349) Exception starting xend ((111, 
'Connection refused'))
Traceback (most recent call last):
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvDaemon.py", line 341, in 
run
    servers = SrvServer.create()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvServer.py", line 251, in 
create
    root.putChild('xend', SrvRoot())
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvRoot.py", line 40, in 
__init__
    self.get(name)
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 84, in get
    val = val.getobj()
  File "/usr/lib/xen-4.0/lib/python/xen/web/SrvDir.py", line 52, in getobj
    self.obj = klassobj()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/server/SrvNode.py", line 30, in 
__init__
    self.xn = XendNode.instance()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 1141, in 
instance
    inst.save()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 578, in save
    self.save_networks()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNode.py", line 594, in 
save_networks
    for network_uuid in XendNetwork.get_all()])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendBase.py", line 101, in 
get_record
    for key in keys])
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendNetwork.py", line 196, in 
get_VIFs
    vms = XendDomain.instance().get_all_vms()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 1882, in 
instance
    inst.init()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/XendDomain.py", line 114, in init
    xstransact.Mkdir(XS_VMROOT)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 355, 
in Mkdir
    complete(path, lambda t: t.mkdir(*args))
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 361, 
in complete
    t = xstransact(path)
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xstransact.py", line 29, 
in __init__
    self.transaction = xshandle().transaction_start()
  File "/usr/lib/xen-4.0/lib/python/xen/xend/xenstore/xsutil.py", line 18, in 
xshandle
    xs_handle = xen.lowlevel.xs.xs()
Error: (111, 'Connection refused')
[2010-08-17 19:07:59 5347] INFO (SrvDaemon:220) Xend exited with status 1.

How can I debug that ?

Thanks,
Olivier






_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users



_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>