Skip to contentSkip to conversation

xend failing to start (xen-unstable-14960)

DISCUSSION Aron Griffis 3 participants 4 messages Apr 27, 2007

lore
Share & tools
lore
#0 lore raw

Trying to start xend on a Debian box running xen-unstable-14960, I'm getting the following traceback in xend.log:

[2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend Daemon started
[2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend changeset: Thu Apr 26 17:30:56 2007 +0100 14960:39383ac1aec8. [2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend version: Unknown.
[2007-04-27 08:37:39 5871] ERROR (__init__:1072) Exception starting xend (CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network) Traceback (most recent call last):
File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 345, in run
servers = SrvServer.create()
File "//usr/lib/python/xen/xend/server/SrvServer.py", line 254, in create
root.putChild('xend', SrvRoot())
File "//usr/lib/python/xen/xend/server/SrvRoot.py", line 40, in __init__
self.get(name)
File "//usr/lib/python/xen/web/SrvDir.py", line 82, in get
val = val.getobj()
File "//usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
self.obj = klassobj()
File "//usr/lib/python/xen/xend/server/SrvNode.py", line 30, in __init__
self.xn = XendNode.instance()
File "//usr/lib/python/xen/xend/XendNode.py", line 649, in instance
inst = XendNode()
File "//usr/lib/python/xen/xend/XendNode.py", line 144, in __init__
XendNetwork.recreate(network, net_uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 105, in recreate
network = XendNetwork(record, uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 141, in __init__
XendBase.__init__(self, uuid, record)
File "//usr/lib/python/xen/xend/XendBase.py", line 86, in __init__

    raise CreateUnspecifiedAttributeError(

CreateUnspecifiedAttributeError: CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network

xend-debug.log contains:

Xend started at Fri Apr 27 08:37:39 2007.
Exception starting xend: CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network

I haven't been using this box for a while, so I don't know if this is something recent or just a problem in my configuration. Does this ring a bell for anybody?

Thanks,
Aron

#1 lore raw
Quoted 53 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Aron Griffis
Sent: 27 April 2007 14:28
To: [email protected]
Subject: [Xen-devel] xend failing to start (xen-unstable-14960)

Trying to start xend on a Debian box running xen-unstable-14960, I'm getting the following traceback in xend.log:

[2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend Daemon started [2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend
changeset: Thu Apr 26 17:30:56 2007 +0100 14960:39383ac1aec8. [2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend version: Unknown. [2007-04-27 08:37:39 5871] ERROR (__init__:1072) Exception starting xend (CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network) Traceback (most recent call last):
File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line
345, in run
servers = SrvServer.create()
File "//usr/lib/python/xen/xend/server/SrvServer.py", line
254, in create
root.putChild('xend', SrvRoot())
File "//usr/lib/python/xen/xend/server/SrvRoot.py", line
40, in __init__
self.get(name)
File "//usr/lib/python/xen/web/SrvDir.py", line 82, in get
val = val.getobj()
File "//usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
self.obj = klassobj()
File "//usr/lib/python/xen/xend/server/SrvNode.py", line
30, in __init__
self.xn = XendNode.instance()
File "//usr/lib/python/xen/xend/XendNode.py", line 649, in instance
inst = XendNode()
File "//usr/lib/python/xen/xend/XendNode.py", line 144, in __init__
XendNetwork.recreate(network, net_uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 105,
in recreate
network = XendNetwork(record, uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 141,
in __init__
XendBase.__init__(self, uuid, record)
File "//usr/lib/python/xen/xend/XendBase.py", line 86, in __init__

    raise CreateUnspecifiedAttributeError(

CreateUnspecifiedAttributeError:
CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network

xend-debug.log contains:

Quoted 7 lines

Xend started at Fri Apr 27 08:37:39 2007. Exception starting xend: CREATE_UNSPECIFIED_ATTRIBUTE:
other_config, network

I haven't been using this box for a while, so I don't know if this is something recent or just a problem in my configuration. Does this ring a bell for anybody?

I'm seeing the same thing. I think Changeset 14933 (+14955?) is/are the "culprit(s)" here. At least that's wheret the actual error message comes from. However, I'm not sure if that's the original cause of the problem or just an effect of something else being wrong.

My last working changeset was around 14900 or so, so not that long ago.

I've backed out those two changesets so we'll see what happens. Buidling right now, I'll report back in a few minutes when I've tested it.

--
Mats

Quoted 11 lines

Thanks,
Aron

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
In reply to Aron Griffis

Hi

I've updated the way the xml state is persisted for XenAPI objects in Xend, which is causing it to fail with the old state.

I've put a fix in staging that eats this error, but for the mean time you might want to blow away /var/lib/xend/state and restart Xend.

Cheers

Tom

Quoted 54 lines · Aron Griffis

Trying to start xend on a Debian box running xen-unstable-14960, I'm getting the following traceback in xend.log:

[2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend Daemon started
[2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend changeset: Thu Apr 26 17:30:56 2007 +0100 14960:39383ac1aec8. [2007-04-27 08:37:39 5871] INFO (__init__:1072) Xend version: Unknown.
[2007-04-27 08:37:39 5871] ERROR (__init__:1072) Exception starting xend (CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network) Traceback (most recent call last):
File "//usr/lib/python/xen/xend/server/SrvDaemon.py", line 345,
in run
servers = SrvServer.create()
File "//usr/lib/python/xen/xend/server/SrvServer.py", line 254,
in create
root.putChild('xend', SrvRoot())
File "//usr/lib/python/xen/xend/server/SrvRoot.py", line 40, in
__init__
self.get(name)
File "//usr/lib/python/xen/web/SrvDir.py", line 82, in get
val = val.getobj()
File "//usr/lib/python/xen/web/SrvDir.py", line 52, in getobj
self.obj = klassobj()
File "//usr/lib/python/xen/xend/server/SrvNode.py", line 30, in
__init__
self.xn = XendNode.instance()
File "//usr/lib/python/xen/xend/XendNode.py", line 649, in instance
inst = XendNode()
File "//usr/lib/python/xen/xend/XendNode.py", line 144, in __init__
XendNetwork.recreate(network, net_uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 105, in
recreate
network = XendNetwork(record, uuid)
File "//usr/lib/python/xen/xend/XendNetwork.py", line 141, in
__init__
XendBase.__init__(self, uuid, record)
File "//usr/lib/python/xen/xend/XendBase.py", line 86, in __init__

    raise CreateUnspecifiedAttributeError(

CreateUnspecifiedAttributeError: CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network

xend-debug.log contains:

Xend started at Fri Apr 27 08:37:39 2007.
Exception starting xend: CREATE_UNSPECIFIED_ATTRIBUTE: other_config, network

I haven't been using this box for a while, so I don't know if this is something recent or just a problem in my configuration. Does this ring a bell for anybody?

Thanks,
Aron

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#3 lore raw

Tom Wilkie wrote: [Fri Apr 27 2007, 09:36:42AM EDT]

Quoted 3 lines

I've put a fix in staging that eats this error, but for the mean time you might want to blow away /var/lib/xend/state and restart Xend.

Thanks Tom, that did the trick.

Aron