From mboxrd@z Thu Jan 1 00:00:00 1970 From: Evan Bigall Subject: Re: xend http interface Date: Tue, 12 Dec 2006 09:40:48 +0700 Message-ID: <457E16B0.3070706@scalent.com> References: <457B976C.2070801@scalent.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <457B976C.2070801@scalent.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Tried this on xen-users and got no responses, so I am trying here... I am trying to use the xend http interface (yes, I know about http://wiki.xensource.com/xenwiki/XenApi, but this is for a quick demo this month). When I open http://127.0.0.1:8000/xend/domain I get a page the just says: "/ xend / domain /" thats its, no list of the domains. If I telnet to 127.0.0.1 8000 and do "GET /xend HTTP/1.1" I get a 500 Internel server error. Looking at xend-debug.log I see: Traceback (most recent call last): File "//usr/lib/python/xen/web/httpserver.py", line 141, in process return self.render(resource) File "//usr/lib/python/xen/web/httpserver.py", line 188, in render self.resultErr(ex) File "//usr/lib/python/xen/web/httpserver.py", line 181, in render val = resource.render(self) File "//usr/lib/python/xen/web/resource.py", line 59, in render return meth(req) File "//usr/lib/python/xen/xend/server/SrvDomainDir.py", line 138, in render_GET self._list(req, 'detail' in req.args and req.args['detail'] == ['1']) File "//usr/lib/python/xen/xend/server/SrvDomainDir.py", line 149, in _list self.ls_domain(req, detail, False) File "//usr/lib/python/xen/xend/server/SrvDomainDir.py", line 167, in ls_domain req.write( AttributeError: XendDomainInfo instance has no attribute 'getSsidref' This is xen 3.03 with a RHEL4U3 host. I downloaded the source and built it from scratch. Have I gone wrong somewhere? Evan