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-devel

Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error

To: "Christopher S. Aker" <caker@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [bug?] xm sysrq == Internal Server Error
From: Mark Williamson <mark.williamson@xxxxxxxxxxxx>
Date: Mon, 28 Mar 2005 23:56:35 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Mon, 28 Mar 2005 23:56:44 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <002901c533d2$73c5d1a0$0201a8c0@hawk>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <001101c5315d$ef984320$0201a8c0@hawk> <200503281959.26563.maw48@xxxxxxxxxxxx> <002901c533d2$73c5d1a0$0201a8c0@hawk>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.7.1
> Applied patches, deleted and re-installed tools, same result:
>
> # xm sysrq domain3 s
> Error: 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.

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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel