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

[Xen-users] xend http interface

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] xend http interface
From: Evan Bigall <evan.bigall@xxxxxxxxxxx>
Date: Sun, 10 Dec 2006 12:13:16 +0700
Delivery-date: Sat, 09 Dec 2006 21:14:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
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 xend 3.03, I downloaded the source and built it from scratch. Have I gone wrong somewhere?

Evan

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] xend http interface, Evan Bigall <=