Christopher S. Aker
2005-Mar-25 17:13 UTC
[Xen-devel] [bug?] xm sysrq == Internal Server Error
Using stable (2.05) tools and kernel, dom0 is CentOS 4. # xm sysrq mydomain s Error: Internal Server Error (sorry for the word-wrapping) ==> /var/log/xend-debug.log <={''key'': 115} Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 229, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1015, in rawDataReceived self.allContentReceived() File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1006, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, in process self.render(resrc) File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, in render body = resrc.render(self) File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line 201, in render return m(request) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 197, in render_POST return self.perform(req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 103, in perform return self._perform(op, op_method, req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 109, in _perform return self._perform_err(err, op, req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 107, in _perform val = op_method(op, req) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 52, in op_shutdown val = fn(req.args, {''dom'': self.dom.id}) File "/usr/lib/python/xen/xend/Args.py", line 140, in __call__ return self.call_with_form_args(self.fn, fargs, xargs=xargs) File "/usr/lib/python/xen/xend/Args.py", line 116, in call_with_form_args return fn(*params, **keys) File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in domain_shutdown val = xend.domain_shutdown(dominfo.id, reason, key) File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 724, in domain_shutdown ctrl.shutdown(reason, key) File "/usr/lib/python/xen/xend/server/domain.py", line 52, in shutdown self.writeRequest(packMsg(msgtype, extra)) File "/usr/lib/python/xen/xend/server/messages.py", line 274, in packMsg msg = xu.message(major, minor, msgid, args) exceptions.TypeError: payload contains bad items -Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
> Using stable (2.05) tools and kernel, dom0 is CentOS 4. > > # xm sysrq mydomain s > Error: Internal Server ErrorDoes this happen every time, or only after xend has got in a bad state? Ian ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Christopher S. Aker
2005-Mar-25 19:59 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> > Using stable (2.05) tools and kernel, dom0 is CentOS 4. > > > > # xm sysrq mydomain s > > Error: Internal Server Error > > Does this happen every time, or only after xend has got in a bad state?Every time -- everything else is working great. -Chris ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
I have this as well, it is consistent in that it fails on 2.6.10 and 2.6.11 unstable builds. woody ========================== Christopher S. Aker wrote:>>>Using stable (2.05) tools and kernel, dom0 is CentOS 4. >>> >>># xm sysrq mydomain s >>>Error: Internal Server Error >>> >>> >>Does this happen every time, or only after xend has got in a bad state? >> >> > >Every time -- everything else is working great. > >-Chris > > >------------------------------------------------------- >SF email is sponsored by - The IT Product Guide >Read honest & candid reviews on hundreds of IT Products from real users. >Discover which products truly live up to the hype. Start reading now. >http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/xen-devel > > >-- Sincerely, Woody Marvel LTC Open Source Projects Beaverton, OR tel: 503-578-3833/775-3833 email: marvel@us.ibm.com ======================================================================"The branch is not only ever near the stem, but ever receiving life and fruitfulness from it." -- C.H.Spurgeon =======================================================================
Mark Williamson
2005-Mar-28 16:02 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> Using stable (2.05) tools and kernel, dom0 is CentOS 4. > > # xm sysrq mydomain s > Error: Internal Server ErrorIs this fixed for you yet? Searching my mail archives, I don''t see evidence for / against it having been dealt with. If not, let me know - at first glance, it doesn''t look like a difficult fix. Cheers, Mark> (sorry for the word-wrapping) > ==> /var/log/xend-debug.log <=> {''key'': 115} > Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line > 229, in dataReceived > return self.rawDataReceived(data) > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 1015, in rawDataReceived > self.allContentReceived() > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 1006, in allContentReceived > req.requestReceived(command, path, version) > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 557, in requestReceived > self.process() > --- <exception caught here> --- > File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, > in process self.render(resrc) > File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, > in render body = resrc.render(self) > File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line > 201, in render > return m(request) > File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 197, in > render_POST return self.perform(req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 103, in perform > return self._perform(op, op_method, req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 109, in _perform > return self._perform_err(err, op, req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 107, in _perform > val = op_method(op, req) > File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 52, in > op_shutdown val = fn(req.args, {''dom'': self.dom.id}) > File "/usr/lib/python/xen/xend/Args.py", line 140, in __call__ > return self.call_with_form_args(self.fn, fargs, xargs=xargs) > File "/usr/lib/python/xen/xend/Args.py", line 116, in call_with_form_args > return fn(*params, **keys) > File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in > domain_shutdown val = xend.domain_shutdown(dominfo.id, reason, key) > File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 724, in > domain_shutdown ctrl.shutdown(reason, key) > File "/usr/lib/python/xen/xend/server/domain.py", line 52, in shutdown > self.writeRequest(packMsg(msgtype, extra)) > File "/usr/lib/python/xen/xend/server/messages.py", line 274, in packMsg > msg = xu.message(major, minor, msgid, args) > exceptions.TypeError: payload contains bad items > > -Chris > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xen-devel------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Xen-devel mailing list Xen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xen-devel
Christopher S. Aker
2005-Mar-28 18:05 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> > Using stable (2.05) tools and kernel, dom0 is CentOS 4. > > > > # xm sysrq mydomain s > > Error: Internal Server Error > > Is this fixed for you yet? Searching my mail archives, I don''t see evidence > for / against it having been dealt with. > > If not, let me know - at first glance, it doesn''t look like a difficult fix.No, not yet. I''d be happy to test any patches. -Chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2005-Mar-28 18:59 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
Thanks for sending to the correct list, unlike me ;-)> > Is this fixed for you yet? Searching my mail archives, I don''t see > > evidence for / against it having been dealt with.<snip>> No, not yet. I''d be happy to test any patches.Great! Please apply the attached patches (against 2.0-testing, should work with other 2.0 releases) and rebuild / reinstall the tools. The existing kernel / Xen should work OK with these. Compile tested only, so YMMV ;-) Cheers, Mark _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christopher S. Aker
2005-Mar-28 20:12 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> Please apply the attached patches (against 2.0-testing, should work with other > 2.0 releases) and rebuild / reinstall the tools. The existing kernel / Xen > should work OK with these. > > Compile tested only, so YMMV ;-)Applied patches, deleted and re-installed tools, same result: # xm sysrq domain3 s Error: Internal Server Error Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line 229, in dataReceived return self.rawDataReceived(data) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1015, in rawDataReceived self.allContentReceived() File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 1006, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line 557, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, in process self.render(resrc) File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, in render body = resrc.render(self) File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line 201, in render return m(request) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 197, in render_POST return self.perform(req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 103, in perform return self._perform(op, op_method, req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 109, in _perform return self._perform_err(err, op, req) File "/usr/lib/python/xen/xend/server/SrvBase.py", line 107, in _perform val = op_method(op, req) File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 52, in op_shutdown val = fn(req.args, {''dom'': self.dom.id}) File "/usr/lib/python/xen/xend/Args.py", line 140, in __call__ return self.call_with_form_args(self.fn, fargs, xargs=xargs) File "/usr/lib/python/xen/xend/Args.py", line 116, in call_with_form_args return fn(*params, **keys) File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in domain_shutdown val = xend.domain_shutdown(dominfo.id, reason, key) File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 724, in domain_shutdown ctrl.shutdown(reason, key) File "/usr/lib/python/xen/xend/server/domain.py", line 52, in shutdown self.writeRequest(packMsg(msgtype, extra)) File "/usr/lib/python/xen/xend/server/messages.py", line 274, in packMsg msg = xu.message(major, minor, msgid, args) exceptions.TypeError: payload contains bad items -Chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark Williamson
2005-Mar-28 23:56 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> Applied patches, deleted and re-installed tools, same result: > > # xm sysrq domain3 s > Error: Internal Server ErrorI think the Python build system must have done something weird on your system - I just tested the patches and they fix the problem for me, whereas without them I see the same error you are getting. Can you double check your tools install? You may find it helps to blow away the current Xen Python libraries! I have occasionally had issues with the Python''s build / install system before. Cheers, Mark> Traceback (most recent call last): > File "/usr/lib/python2.3/site-packages/twisted/protocols/basic.py", line > 229, in dataReceived > return self.rawDataReceived(data) > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 1015, in rawDataReceived > self.allContentReceived() > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 1006, in allContentReceived > req.requestReceived(command, path, version) > File "/usr/lib/python2.3/site-packages/twisted/protocols/http.py", line > 557, in requestReceived > self.process() > --- <exception caught here> --- > File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 165, > in process self.render(resrc) > File "/usr/lib/python2.3/site-packages/twisted/web/server.py", line 172, > in render body = resrc.render(self) > File "/usr/lib/python2.3/site-packages/twisted/web/resource.py", line > 201, in render > return m(request) > File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 197, in > render_POST return self.perform(req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 103, in perform > return self._perform(op, op_method, req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 109, in _perform > return self._perform_err(err, op, req) > File "/usr/lib/python/xen/xend/server/SrvBase.py", line 107, in _perform > val = op_method(op, req) > File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 52, in > op_shutdown val = fn(req.args, {''dom'': self.dom.id}) > File "/usr/lib/python/xen/xend/Args.py", line 140, in __call__ > return self.call_with_form_args(self.fn, fargs, xargs=xargs) > File "/usr/lib/python/xen/xend/Args.py", line 116, in call_with_form_args > return fn(*params, **keys) > File "/usr/lib/python/xen/xend/XendDomain.py", line 477, in > domain_shutdown val = xend.domain_shutdown(dominfo.id, reason, key) > File "/usr/lib/python/xen/xend/server/SrvDaemon.py", line 724, in > domain_shutdown ctrl.shutdown(reason, key) > File "/usr/lib/python/xen/xend/server/domain.py", line 52, in shutdown > self.writeRequest(packMsg(msgtype, extra)) > File "/usr/lib/python/xen/xend/server/messages.py", line 274, in packMsg > msg = xu.message(major, minor, msgid, args) > exceptions.TypeError: payload contains bad items > > -Chris_______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Christopher S. Aker
2005-Mar-29 00:27 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
> I think the Python build system must have done something weird on your system > - I just tested the patches and they fix the problem for me, whereas without > them I see the same error you are getting. > > Can you double check your tools install? You may find it helps to blow away > the current Xen Python libraries! I have occasionally had issues with the > Python''s build / install system before.Yeah -- I did blow away /usr/lib/python/xen, but forgot to restart xend :/ # xm sysrq domain3 s xennode root # dmesg SysRq : Emergency Sync Emergency Sync complete Thanks! It works now -- nice job :) -Chris _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark A. Williamson
2005-Mar-29 00:41 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
On Tuesday 29 March 2005 00:27, Christopher S. Aker wrote:> > I think the Python build system must have done something weird on your > > system - I just tested the patches and they fix the problem for me, > > whereas without them I see the same error you are getting. > > > > Can you double check your tools install? You may find it helps to blow > > away the current Xen Python libraries! I have occasionally had issues > > with the Python''s build / install system before. > > Yeah -- I did blow away /usr/lib/python/xen, but forgot to restart xend :/ > > # xm sysrq domain3 s > > xennode root # dmesg > SysRq : Emergency Sync > Emergency Sync complete > > Thanks! It works now -- nice job :)Wicked! Thanks for testing it out. I''ll get a version of this fix pushed into the testing repository presently. Cheers, Mark _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark, Thanks, if these patches are in 2.0 and 2.0-testing, will they be in xen-unstable? wm =========== Christopher S. Aker wrote:>>I think the Python build system must have done something weird on your system >>- I just tested the patches and they fix the problem for me, whereas without >>them I see the same error you are getting. >> >>Can you double check your tools install? You may find it helps to blow away >>the current Xen Python libraries! I have occasionally had issues with the >>Python''s build / install system before. >> >> > >Yeah -- I did blow away /usr/lib/python/xen, but forgot to restart xend :/ > > # xm sysrq domain3 s > > xennode root # dmesg > SysRq : Emergency Sync > Emergency Sync complete > >Thanks! It works now -- nice job :) > >-Chris > >_______________________________________________ >Xen-devel mailing list >Xen-devel@lists.xensource.com >http://lists.xensource.com/xen-devel > > >-- Sincerely, Woody Marvel LTC Open Source Projects Beaverton, OR tel: 503-578-3833/775-3833 email: marvel@us.ibm.com ======================================================================"The branch is not only ever near the stem, but ever receiving life and fruitfulness from it." -- C.H.Spurgeon ====================================================================== _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Mark A. Williamson
2005-Mar-29 01:07 UTC
Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
Yes, fixes that go into -testing get pulled into -unstable too. I''ve never had to deal with this but I think bitkeeper takes away some of the pain involved in doing this. Cheers Mark On Tuesday 29 March 2005 01:03, woody wrote:> Mark, > > Thanks, if these patches are in 2.0 and 2.0-testing, will they be in > xen-unstable? > > wm > ===========> > Christopher S. Aker wrote: > >>I think the Python build system must have done something weird on your > >> system - I just tested the patches and they fix the problem for me, > >> whereas without them I see the same error you are getting. > >> > >>Can you double check your tools install? You may find it helps to blow > >> away the current Xen Python libraries! I have occasionally had issues > >> with the Python''s build / install system before. > > > >Yeah -- I did blow away /usr/lib/python/xen, but forgot to restart xend :/ > > > > # xm sysrq domain3 s > > > > xennode root # dmesg > > SysRq : Emergency Sync > > Emergency Sync complete > > > >Thanks! It works now -- nice job :) > > > >-Chris > > > >_______________________________________________ > >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