Dulloor
2010-Jun-17 23:02 UTC
[Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
I haven''t tried starting xend in a while, but on staging tip xend fails with the following in log : [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu Jun 17 08:53:12 2010 +0100 21632:764e41b09017. [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating missing unmanaged network eth0 [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) recreate_active_pools [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting xend ((2, ''No such file or directory'')) Traceback (most recent call last): File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", line 341, in run servers = SrvServer.create() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", line 258, in create root.putChild(''xend'', SrvRoot()) File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", line 40, in __init__ self.get(name) File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 84, in get val = val.getobj() File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", line 52, in getobj self.obj = klassobj() File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", line 30, in __init__ self.xn = XendNode.instance() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 1176, in instance inst = XendNode() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 163, in __init__ self._init_cpu_pools() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", line 377, in _init_cpu_pools XendCPUPool.recreate_active_pools() File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCPUPool.py", line 754, in recreate_active_pools uuid = xstransact.Read(path, ''uuid'') File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" uuid = xstransact.Read(path, ''uuid'') File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 307, in Read return complete(path, lambda t: t.read(*args)) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 361, in complete t = xstransact(path) File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", line 29, in __init__ self.transaction = xshandle().transaction_start() File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", line 18, in xshandle xs_handle = xen.lowlevel.xs.xs() Error: (2, ''No such file or directory'') [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with status 1. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Patrick Colp
2010-Jun-17 23:09 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
I ran into this too. xend has been changed (I think to work with either libxc or libxl). What you have to do now is start /etc/init.d/xencommons then start /etc/init.d/xend. Patrick On 17 June 2010 16:02, Dulloor <dulloor@gmail.com> wrote:> I haven''t tried starting xend in a while, but on staging tip xend > fails with the following in log : > > > [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started > [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu > Jun 17 08:53:12 2010 +0100 21632:764e41b09017. > [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 > [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating > missing unmanaged network eth0 > [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) recreate_active_pools > [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting > xend ((2, ''No such file or directory'')) > Traceback (most recent call last): > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", > line 341, in run > servers = SrvServer.create() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", > line 258, in create > root.putChild(''xend'', SrvRoot()) > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", > line 40, in __init__ > self.get(name) > File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > line 84, in get > val = val.getobj() > File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > line 52, in getobj > self.obj = klassobj() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", > line 30, in __init__ > self.xn = XendNode.instance() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > line 1176, in instance > inst = XendNode() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > line 163, in __init__ > self._init_cpu_pools() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > line 377, in _init_cpu_pools > XendCPUPool.recreate_active_pools() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCPUPool.py", > line 754, in recreate_active_pools > uuid = xstransact.Read(path, ''uuid'') > File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" > uuid = xstransact.Read(path, ''uuid'') > File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", > line 307, in Read > return complete(path, lambda t: t.read(*args)) > File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", > line 361, in complete > t = xstransact(path) > File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", > line 29, in __init__ > self.transaction = xshandle().transaction_start() > File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", > line 18, in xshandle > xs_handle = xen.lowlevel.xs.xs() > Error: (2, ''No such file or directory'') > [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with status 1. > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dulloor
2010-Jun-17 23:54 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
oh okie .. I thought we have to run xencommons explicitly only for xl and xend does everything like before. Thanks ! -dulloor On Thu, Jun 17, 2010 at 4:09 PM, Patrick Colp <pjcolp@cs.ubc.ca> wrote:> I ran into this too. xend has been changed (I think to work with > either libxc or libxl). What you have to do now is start > /etc/init.d/xencommons then start /etc/init.d/xend. > > > Patrick > > > On 17 June 2010 16:02, Dulloor <dulloor@gmail.com> wrote: >> I haven''t tried starting xend in a while, but on staging tip xend >> fails with the following in log : >> >> >> [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started >> [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu >> Jun 17 08:53:12 2010 +0100 21632:764e41b09017. >> [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 >> [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating >> missing unmanaged network eth0 >> [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) recreate_active_pools >> [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting >> xend ((2, ''No such file or directory'')) >> Traceback (most recent call last): >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", >> line 341, in run >> servers = SrvServer.create() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", >> line 258, in create >> root.putChild(''xend'', SrvRoot()) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", >> line 40, in __init__ >> self.get(name) >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", >> line 84, in get >> val = val.getobj() >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", >> line 52, in getobj >> self.obj = klassobj() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", >> line 30, in __init__ >> self.xn = XendNode.instance() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 1176, in instance >> inst = XendNode() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 163, in __init__ >> self._init_cpu_pools() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 377, in _init_cpu_pools >> XendCPUPool.recreate_active_pools() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCPUPool.py", >> line 754, in recreate_active_pools >> uuid = xstransact.Read(path, ''uuid'') >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" >> uuid = xstransact.Read(path, ''uuid'') >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 307, in Read >> return complete(path, lambda t: t.read(*args)) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 361, in complete >> t = xstransact(path) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 29, in __init__ >> self.transaction = xshandle().transaction_start() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", >> line 18, in xshandle >> xs_handle = xen.lowlevel.xs.xs() >> Error: (2, ''No such file or directory'') >> [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with status 1. >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Jun-18 02:06 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
IMHO, xend shouldn''t change. If we are eventually moving to xl anyway, breaking xend seems like unnecessary pain.> -----Original Message----- > From: Dulloor [mailto:dulloor@gmail.com] > Sent: Thursday, June 17, 2010 5:55 PM > To: Patrick Colp > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] xend doesn''t start with xen-staging tip (on > ubuntu 9.10 or 10.04) > > oh okie .. I thought we have to run xencommons explicitly only for xl > and xend does everything like before. > > Thanks ! > > -dulloor > > On Thu, Jun 17, 2010 at 4:09 PM, Patrick Colp <pjcolp@cs.ubc.ca> wrote: > > I ran into this too. xend has been changed (I think to work with > > either libxc or libxl). What you have to do now is start > > /etc/init.d/xencommons then start /etc/init.d/xend. > > > > > > Patrick > > > > > > On 17 June 2010 16:02, Dulloor <dulloor@gmail.com> wrote: > >> I haven''t tried starting xend in a while, but on staging tip xend > >> fails with the following in log : > >> > >> > >> [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started > >> [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu > >> Jun 17 08:53:12 2010 +0100 21632:764e41b09017. > >> [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 > >> [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating > >> missing unmanaged network eth0 > >> [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) > recreate_active_pools > >> [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting > >> xend ((2, ''No such file or directory'')) > >> Traceback (most recent call last): > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvDaemon.py", > >> line 341, in run > >> servers = SrvServer.create() > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvServer.py", > >> line 258, in create > >> root.putChild(''xend'', SrvRoot()) > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvRoot.py", > >> line 40, in __init__ > >> self.get(name) > >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > >> line 84, in get > >> val = val.getobj() > >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > >> line 52, in getobj > >> self.obj = klassobj() > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvNode.py", > >> line 30, in __init__ > >> self.xn = XendNode.instance() > >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > >> line 1176, in instance > >> inst = XendNode() > >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > >> line 163, in __init__ > >> self._init_cpu_pools() > >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > >> line 377, in _init_cpu_pools > >> XendCPUPool.recreate_active_pools() > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/XendCPUPool.py", > >> line 754, in recreate_active_pools > >> uuid = xstransact.Read(path, ''uuid'') > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py" > >> uuid = xstransact.Read(path, ''uuid'') > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > >> line 307, in Read > >> return complete(path, lambda t: t.read(*args)) > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > >> line 361, in complete > >> t = xstransact(path) > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > >> line 29, in __init__ > >> self.transaction = xshandle().transaction_start() > >> File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xsutil.py", > >> line 18, in xshandle > >> xs_handle = xen.lowlevel.xs.xs() > >> Error: (2, ''No such file or directory'') > >> [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with > status 1. > >> > >> _______________________________________________ > >> Xen-devel mailing list > >> Xen-devel@lists.xensource.com > >> http://lists.xensource.com/xen-devel > >> > >> > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-Jun-18 09:53 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
On Fri, 18 Jun 2010, Dan Magenheimer wrote:> IMHO, xend shouldn''t change. If we are eventually moving > to xl anyway, breaking xend seems like unnecessary pain. >Agreed, but what happens in the user has both installed? Trying to start xenstored twice seemed a bad choice, using a global variable to decide which toolstack you want (my first attempt) was pretty ugly, so we decided to move the common initializations in a separate file. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Min Lee
2010-Jun-18 14:10 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
I''ve ran into this, too. I had to run xenstored and xenconsoled manually. Actually in my installation, I had to restart my network or flush iptables/ebtables to make network working again. Min On 6/17/2010 7:09 PM, Patrick Colp wrote:> I ran into this too. xend has been changed (I think to work with > either libxc or libxl). What you have to do now is start > /etc/init.d/xencommons then start /etc/init.d/xend. > > > Patrick > > > On 17 June 2010 16:02, Dulloor<dulloor@gmail.com> wrote: >> I haven''t tried starting xend in a while, but on staging tip xend >> fails with the following in log : >> >> >> [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started >> [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu >> Jun 17 08:53:12 2010 +0100 21632:764e41b09017. >> [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 >> [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating >> missing unmanaged network eth0 >> [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) recreate_active_pools >> [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting >> xend ((2, ''No such file or directory'')) >> Traceback (most recent call last): >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvDaemon.py", >> line 341, in run >> servers = SrvServer.create() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvServer.py", >> line 258, in create >> root.putChild(''xend'', SrvRoot()) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvRoot.py", >> line 40, in __init__ >> self.get(name) >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", >> line 84, in get >> val = val.getobj() >> File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", >> line 52, in getobj >> self.obj = klassobj() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/server/SrvNode.py", >> line 30, in __init__ >> self.xn = XendNode.instance() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 1176, in instance >> inst = XendNode() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 163, in __init__ >> self._init_cpu_pools() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", >> line 377, in _init_cpu_pools >> XendCPUPool.recreate_active_pools() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendCPUPool.py", >> line 754, in recreate_active_pools >> uuid = xstransact.Read(path, ''uuid'') >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py" >> uuid = xstransact.Read(path, ''uuid'') >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 307, in Read >> return complete(path, lambda t: t.read(*args)) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 361, in complete >> t = xstransact(path) >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xstransact.py", >> line 29, in __init__ >> self.transaction = xshandle().transaction_start() >> File "/usr/local/lib/python2.6/dist-packages/xen/xend/xenstore/xsutil.py", >> line 18, in xshandle >> xs_handle = xen.lowlevel.xs.xs() >> Error: (2, ''No such file or directory'') >> [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with status 1. >> >> _______________________________________________ >> Xen-devel mailing list >> Xen-devel@lists.xensource.com >> http://lists.xensource.com/xen-devel >> >> > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Kathy Hadley
2010-Jun-18 15:05 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Is this something that can be done automatically (during start-up), or do we need to do this explicitly each time we boot? Thanks, Kathy Hadley> -----Original Message----- > From: xen-devel-bounces@lists.xensource.com [mailto:xen-devel- > bounces@lists.xensource.com] On Behalf Of Patrick Colp > Sent: Thursday, June 17, 2010 7:09 PM > To: Dulloor > Cc: xen-devel@lists.xensource.com > Subject: Re: [Xen-devel] xend doesn't start with xen-staging tip (on > ubuntu 9.10 or 10.04) > > I ran into this too. xend has been changed (I think to work with > either libxc or libxl). What you have to do now is start > /etc/init.d/xencommons then start /etc/init.d/xend. > > > Patrick > > > On 17 June 2010 16:02, Dulloor <dulloor@gmail.com> wrote: > > I haven't tried starting xend in a while, but on staging tip xend > > fails with the following in log : > > > > > > [2010-06-17 15:55:27 2242] INFO (SrvDaemon:332) Xend Daemon started > > [2010-06-17 15:55:28 2242] INFO (SrvDaemon:336) Xend changeset: Thu > > Jun 17 08:53:12 2010 +0100 21632:764e41b09017. > > [2010-06-17 15:55:28 2242] DEBUG (tcp:96) Listening on :8002 > > [2010-06-17 15:55:28 2242] INFO (XendNetwork:114) Not recreating > > missing unmanaged network eth0 > > [2010-06-17 15:55:29 2242] DEBUG (XendCPUPool:747) > recreate_active_pools > > [2010-06-17 15:55:29 2242] ERROR (SrvDaemon:349) Exception starting > > xend ((2, 'No such file or directory')) > > Traceback (most recent call last): > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvDaemon.py", > > line 341, in run > > servers = SrvServer.create() > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvServer.py", > > line 258, in create > > root.putChild('xend', SrvRoot()) > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvRoot.py", > > line 40, in __init__ > > self.get(name) > > File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > > line 84, in get > > val = val.getobj() > > File "/usr/local/lib/python2.6/dist-packages/xen/web/SrvDir.py", > > line 52, in getobj > > self.obj = klassobj() > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/server/SrvNode.py", > > line 30, in __init__ > > self.xn = XendNode.instance() > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > > line 1176, in instance > > inst = XendNode() > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > > line 163, in __init__ > > self._init_cpu_pools() > > File "/usr/local/lib/python2.6/dist-packages/xen/xend/XendNode.py", > > line 377, in _init_cpu_pools > > XendCPUPool.recreate_active_pools() > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/XendCPUPool.py", > > line 754, in recreate_active_pools > > uuid = xstransact.Read(path, 'uuid') > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py" > > uuid = xstransact.Read(path, 'uuid') > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > > line 307, in Read > > return complete(path, lambda t: t.read(*args)) > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > > line 361, in complete > > t = xstransact(path) > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xstransact.py", > > line 29, in __init__ > > self.transaction = xshandle().transaction_start() > > File "/usr/local/lib/python2.6/dist- > packages/xen/xend/xenstore/xsutil.py", > > line 18, in xshandle > > xs_handle = xen.lowlevel.xs.xs() > > Error: (2, 'No such file or directory') > > [2010-06-17 15:55:29 2240] INFO (SrvDaemon:220) Xend exited with > status 1. > > > > _______________________________________________ > > Xen-devel mailing list > > Xen-devel@lists.xensource.com > > http://lists.xensource.com/xen-devel > > > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Jun-18 15:53 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
> From: Stefano Stabellini [mailto:stefano.stabellini@eu.citrix.com] > Sent: Friday, June 18, 2010 3:53 AM > To: Dan Magenheimer > Cc: Dulloor; Patrick Colp; xen-devel@lists.xensource.com > Subject: RE: [Xen-devel] xend doesn''t start with xen-staging tip (on > ubuntu 9.10 or 10.04) > > On Fri, 18 Jun 2010, Dan Magenheimer wrote: > > IMHO, xend shouldn''t change. If we are eventually moving > > to xl anyway, breaking xend seems like unnecessary pain. > > > > Agreed, but what happens in the user has both installed? > Trying to start xenstored twice seemed a bad choice, using a global > variable to decide which toolstack you want (my first attempt) was > pretty > ugly, so we decided to move the common initializations in a separate > file.There are hundreds (if not thousands) of development systems that automatically launch xend today and a great deal of documentation and experience behind it. For most developers, the experience is "it just works and so I can concentrate on what I want to develop". Breaking this for a very small fraction of users with both installed doesn''t seem like a good tradeoff to me. When xl is solid enough to become the default for everyone, breaking xend becomes unavoidable, but until then it is unnecessary pain. IMHO, at an absolute minimum, breaking something that so many people have been dependent on for so long should at least result in some huge red flag being raised. I understand there''s no easy way to do this, but at least some 10-20 line message in xend.log in ALL CAPS SAYING DEFAULTS HAVE BEEN CHANGED AND YOU NEED TO DO THIS NOW TO GET PREVIOUS BEHAVIOR would be nice when xend is auto-launched at init by those hundreds of machines and/or manually launched when the user scratches their head trying to diagnose why their VM launch failed. Sadly, my python ability is insufficient for this which is why I am otherwise cheering on the development of xl. ;-) My two cents... Dan _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jun-18 16:31 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)"):> IMHO, at an absolute minimum, breaking something that so many people > have been dependent on for so long should at least result in > some huge red flag being raised. I understand there''s no easy > way to do this, but at least some 10-20 line message in xend.log > in ALL CAPS SAYING DEFAULTS HAVE BEEN CHANGED AND YOU NEED TO > DO THIS NOW TO GET PREVIOUS BEHAVIORI''m not sure we need to go quite this far but if you want an improved error message that gets written to xend.log (or to stderr) when xencommons is not run then I think the answer is for someone to ahead and submit a patch.> Sadly, my python ability is insufficient for this which is > why I am otherwise cheering on the development of xl. ;-)We are talking about xen-unstable here; users are expected to cope with a certain amount of skew, trouble and instability. In 4.1 we expect that xend will no longer be the default configuration; we expect xl to be sufficiently stable and featureful to be used as a dropin replacement for xm, for almost all current xm/xend users. Obviously we will make a good deal of noise about this in the changelog, release notes, etc. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Jun-18 17:51 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
> Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- > staging tip (on ubuntu 9.10 or 10.04)"): > > IMHO, at an absolute minimum, breaking something that so many people > > have been dependent on for so long should at least result in > > some huge red flag being raised. I understand there''s no easy > > way to do this, but at least some 10-20 line message in xend.log > > in ALL CAPS SAYING DEFAULTS HAVE BEEN CHANGED AND YOU NEED TO > > DO THIS NOW TO GET PREVIOUS BEHAVIOR > > I''m not sure we need to go quite this far but if you want an improved > error message that gets written to xend.log (or to stderr) when > xencommons is not run then I think the answer is for someone to ahead > and submit a patch.That would be good. For some, I suspect that would be an easy patch. (Not for me.)> > Sadly, my python ability is insufficient for this which is > > why I am otherwise cheering on the development of xl. ;-) > > We are talking about xen-unstable here; users are expected to cope > with a certain amount of skew, trouble and instability.Certainly, but that doesn''t mean it is OK to inflict pain needlessly on the vast majority of developers to increase convenience for a few. I can easily see myself spending hours trying to figure out what I broke or what version mismatch I accidentally caused etc etc, and the only indication that this (IMHO) very major init change happened was a brief comment from Keir that "maybe we should fix this" in a seemingly irrelevant xen-devel thread. Sorry to beat on this, but if we expect the Xen developer community to thrive and grow (which I assume is important to all of us), this is an example of how we are shooting ourselves in the foot.> In 4.1 we expect that xend will no longer be the default > configuration; we expect xl to be sufficiently stable and featureful > to be used as a dropin replacement for xm, for almost all current > xm/xend users. > > Obviously we will make a good deal of noise about this in the > changelog, release notes, etc.Drop in would be great. Noise and documentation is also great. Requiring every installer to setup and manipulate a new set of obscure init commands and/or brctls and/or other things that used to work fine in every distro for 3.4/4.0... not so great. But if it gets rid of all those horrible python stack traces, I guess it''s all worth it. ;-) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jun-21 16:22 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)"):> Requiring every installer to setup and manipulate a new set of > obscure init commands and/or brctls and/or other things that > used to work fine in every distro for 3.4/4.0... not so great.Well, the old bridge thing didn''t "work fine in every distro". It was fragile and unreliable and if it went wrong it caused complete dom0 networking failures (which can be very awkward in a colo). I don''t know what distro you''re using. Perhaps on Redhat derivatives setting up your network to go through a bridge is "obscure init commands and/or brctls" but on Debian derivatives it really is trivial. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Jun-21 16:57 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
> From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > > Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- > staging tip (on ubuntu 9.10 or 10.04)"): > > Requiring every installer to setup and manipulate a new set of > > obscure init commands and/or brctls and/or other things that > > used to work fine in every distro for 3.4/4.0... not so great.Clearly we disagree so I''m not sure further replies will be useful, but FWIW:> Well, the old bridge thing didn''t "work fine in every distro". It was > fragile and unreliable and if it went wrong it caused complete dom0 > networking failures (which can be very awkward in a colo).I''d venture to guess it "worked fine" on 90-95+% of Xen developer''s systems. Admittedly it may NOT have worked on latest releases of some bleeding edge distros, but those that are running bleeding edge distros tend to know what they are doing (see below).> I don''t know what distro you''re using. Perhaps on Redhat derivatives > setting up your network to go through a bridge is "obscure init > commands and/or brctls" but on Debian derivatives it really is > trivial.I''d venture to guess that if you ask the question(s): "Your networking to your Xen guests which always worked has suddenly stopped working when you''ve upgraded to the latest Xen bits. You asked on xen-devel what to do to fix it and got the reply: ''You need to set up your own network to go through a bridge now''. Do you know now exactly what trivial things you need to do? If not, do you know exactly where to look for documentation to tell you what you need to do?" I''d suspect the percentage of those answering yes to either of those questions would be surprisingly small. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Ian Jackson
2010-Jun-21 17:07 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)"):> "Your networking to your Xen guests which always worked has > suddenly stopped working when you''ve upgraded to the latest > Xen bits. You asked on xen-devel what to do to fix it > and got the reply: ''You need to set up your own network > to go through a bridge now''. Do you know now exactly what > trivial things you need to do? If not, do you know exactly > where to look for documentation to tell you what you need to do?"People who are running production systems on xen-unstable bits need more help than we can sensibly give them. As I say we''ll make a song and dance about this in the 4.1 release notes, announcements, etc. Another related substantial change will be the switch away from xend in the default configuration, and it makes sense to make both of these changes at the same time. Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Dan Magenheimer
2010-Jun-21 17:30 UTC
RE: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
> From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > > Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- > staging tip (on ubuntu 9.10 or 10.04)"): > > "Your networking to your Xen guests which always worked has > > suddenly stopped working when you''ve upgraded to the latest > > Xen bits. You asked on xen-devel what to do to fix it > > and got the reply: ''You need to set up your own network > > to go through a bridge now''. Do you know now exactly what > > trivial things you need to do? If not, do you know exactly > > where to look for documentation to tell you what you need to do?" > > People who are running production systems on xen-unstable bits need > more help than we can sensibly give them.True enough. But to clarify, we''re not talking about those people; we''re talking about *developers* updating xen-unstable bits on an otherwise completely stable base distro. And we''re talking about xen-users installing xen-unstable on their systems to see if it fixes a bug or adds an important feature they are waiting for. "Oops, networking is broke, I guess I''d better roll back"... which means fewer people testing and giving feedback on xen-unstable.> As I say we''ll make a song and dance about this in the 4.1 release > notes, announcements, etc. Another related substantial change will be > the switch away from xend in the default configuration, and it makes > sense to make both of these changes at the same time.Historically in Xen, "song and dance" has been more like "hum a bar offkey and quickly twirl around" :-) I hope this change at this release is a bit more. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jun-21 18:24 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
On Mon, Jun 21, 2010 at 10:30:37AM -0700, Dan Magenheimer wrote:> > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > > > > Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- > > staging tip (on ubuntu 9.10 or 10.04)"): > > > "Your networking to your Xen guests which always worked has > > > suddenly stopped working when you''ve upgraded to the latest > > > Xen bits. You asked on xen-devel what to do to fix it > > > and got the reply: ''You need to set up your own network > > > to go through a bridge now''. Do you know now exactly what > > > trivial things you need to do? If not, do you know exactly > > > where to look for documentation to tell you what you need to do?" > > > > People who are running production systems on xen-unstable bits need > > more help than we can sensibly give them. > > True enough. But to clarify, we''re not talking about those people; > we''re talking about *developers* updating xen-unstable bits on an > otherwise completely stable base distro. And we''re talking about > xen-users installing xen-unstable on their systems to see if > it fixes a bug or adds an important feature they are waiting for. > "Oops, networking is broke, I guess I''d better roll back"... > which means fewer people testing and giving feedback on xen-unstable. > > > As I say we''ll make a song and dance about this in the 4.1 release > > notes, announcements, etc. Another related substantial change will be > > the switch away from xend in the default configuration, and it makes > > sense to make both of these changes at the same time. > > Historically in Xen, "song and dance" has been more like > "hum a bar offkey and quickly twirl around" :-) I hope > this change at this release is a bit more. >The xen bridge setup magic has failed for *many* people, there are people complaining about it frequently on ##xen on irc. So imho it''s good to get it fixed, even by removing the code :) -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sander Eikelenboom
2010-Jun-21 21:08 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Since it will be done .. and there will be documentation for the end user .. Perhaps it''s a smart thing to make the documentation now and let developers test it :-p That should give top notch documentation together with at least one happy developer :-) -- Sander Monday, June 21, 2010, 7:30:37 PM, you wrote:>> From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] >> >> Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- >> staging tip (on ubuntu 9.10 or 10.04)"): >> > "Your networking to your Xen guests which always worked has >> > suddenly stopped working when you''ve upgraded to the latest >> > Xen bits. You asked on xen-devel what to do to fix it >> > and got the reply: ''You need to set up your own network >> > to go through a bridge now''. Do you know now exactly what >> > trivial things you need to do? If not, do you know exactly >> > where to look for documentation to tell you what you need to do?" >> >> People who are running production systems on xen-unstable bits need >> more help than we can sensibly give them.> True enough. But to clarify, we''re not talking about those people; > we''re talking about *developers* updating xen-unstable bits on an > otherwise completely stable base distro. And we''re talking about > xen-users installing xen-unstable on their systems to see if > it fixes a bug or adds an important feature they are waiting for. > "Oops, networking is broke, I guess I''d better roll back"... > which means fewer people testing and giving feedback on xen-unstable.>> As I say we''ll make a song and dance about this in the 4.1 release >> notes, announcements, etc. Another related substantial change will be >> the switch away from xend in the default configuration, and it makes >> sense to make both of these changes at the same time.> Historically in Xen, "song and dance" has been more like > "hum a bar offkey and quickly twirl around" :-) I hope > this change at this release is a bit more.-- Best regards, Sander mailto:linux@eikelenboom.it _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Sander Eikelenboom
2010-Jun-21 21:14 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
Hello Pasi, Yes i also found out that creating a bridge from debian networking scripts is more reliable for me. So i now have a bridge with all xen guests (xen_bridge), which is routed with iptables with my eth0 and eth1, together with some portforwarding for specific services. Is there allready a wiki for networking related "best" practices stuff ? -- Sander Monday, June 21, 2010, 8:24:43 PM, you wrote:> On Mon, Jun 21, 2010 at 10:30:37AM -0700, Dan Magenheimer wrote: >> > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] >> > >> > Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- >> > staging tip (on ubuntu 9.10 or 10.04)"): >> > > "Your networking to your Xen guests which always worked has >> > > suddenly stopped working when you''ve upgraded to the latest >> > > Xen bits. You asked on xen-devel what to do to fix it >> > > and got the reply: ''You need to set up your own network >> > > to go through a bridge now''. Do you know now exactly what >> > > trivial things you need to do? If not, do you know exactly >> > > where to look for documentation to tell you what you need to do?" >> > >> > People who are running production systems on xen-unstable bits need >> > more help than we can sensibly give them. >> >> True enough. But to clarify, we''re not talking about those people; >> we''re talking about *developers* updating xen-unstable bits on an >> otherwise completely stable base distro. And we''re talking about >> xen-users installing xen-unstable on their systems to see if >> it fixes a bug or adds an important feature they are waiting for. >> "Oops, networking is broke, I guess I''d better roll back"... >> which means fewer people testing and giving feedback on xen-unstable. >> >> > As I say we''ll make a song and dance about this in the 4.1 release >> > notes, announcements, etc. Another related substantial change will be >> > the switch away from xend in the default configuration, and it makes >> > sense to make both of these changes at the same time. >> >> Historically in Xen, "song and dance" has been more like >> "hum a bar offkey and quickly twirl around" :-) I hope >> this change at this release is a bit more. >>> The xen bridge setup magic has failed for *many* people, there are people > complaining about it frequently on ##xen on irc.> So imho it''s good to get it fixed, even by removing the code :)> -- Pasi-- Best regards, Sander mailto:linux@eikelenboom.it _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Pasi Kärkkäinen
2010-Jun-22 07:46 UTC
Re: [Xen-devel] xend doesn''t start with xen-staging tip (on ubuntu 9.10 or 10.04)
On Mon, Jun 21, 2010 at 11:14:15PM +0200, Sander Eikelenboom wrote:> Hello Pasi, > > Yes i also found out that creating a bridge from debian networking scripts is more reliable for me. > So i now have a bridge with all xen guests (xen_bridge), which is routed with iptables with my eth0 and eth1, together with some portforwarding for specific services. > > Is there allready a wiki for networking related "best" practices stuff ? >Not really.. want to start one? :) -- Pasi> -- > Sander > > > Monday, June 21, 2010, 8:24:43 PM, you wrote: > > > On Mon, Jun 21, 2010 at 10:30:37AM -0700, Dan Magenheimer wrote: > >> > From: Ian Jackson [mailto:Ian.Jackson@eu.citrix.com] > >> > > >> > Dan Magenheimer writes ("RE: [Xen-devel] xend doesn''t start with xen- > >> > staging tip (on ubuntu 9.10 or 10.04)"): > >> > > "Your networking to your Xen guests which always worked has > >> > > suddenly stopped working when you''ve upgraded to the latest > >> > > Xen bits. You asked on xen-devel what to do to fix it > >> > > and got the reply: ''You need to set up your own network > >> > > to go through a bridge now''. Do you know now exactly what > >> > > trivial things you need to do? If not, do you know exactly > >> > > where to look for documentation to tell you what you need to do?" > >> > > >> > People who are running production systems on xen-unstable bits need > >> > more help than we can sensibly give them. > >> > >> True enough. But to clarify, we''re not talking about those people; > >> we''re talking about *developers* updating xen-unstable bits on an > >> otherwise completely stable base distro. And we''re talking about > >> xen-users installing xen-unstable on their systems to see if > >> it fixes a bug or adds an important feature they are waiting for. > >> "Oops, networking is broke, I guess I''d better roll back"... > >> which means fewer people testing and giving feedback on xen-unstable. > >> > >> > As I say we''ll make a song and dance about this in the 4.1 release > >> > notes, announcements, etc. Another related substantial change will be > >> > the switch away from xend in the default configuration, and it makes > >> > sense to make both of these changes at the same time. > >> > >> Historically in Xen, "song and dance" has been more like > >> "hum a bar offkey and quickly twirl around" :-) I hope > >> this change at this release is a bit more. > >> > > > The xen bridge setup magic has failed for *many* people, there are people > > complaining about it frequently on ##xen on irc. > > > So imho it''s good to get it fixed, even by removing the code :) > > > -- Pasi > > > > > > > -- > Best regards, > Sander mailto:linux@eikelenboom.it >_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel