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] XEN-API problems

To: Jacek Konieczny <jajcus@xxxxxxxxxx>
Subject: Re: [Xen-devel] XEN-API problems
From: SwissCenter HelpDesk <helpdesk@xxxxxxxxxxxxxxx>
Date: Wed, 13 Jun 2007 13:29:14 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 14 Jun 2007 09:10:21 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070613082201.GB30919@xxxxxxxxxxxxxxx>
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>
Organization: OpenBusiness SA / SwissCenter
References: <20070613082201.GB30919@xxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.12 (Windows/20070509)
Hello,

I am currently having the same problems. I wasn't able to create and start a VM using the Xen-API
(xen 3.1 built from source).

Any help and/or real world examples would be really appreciated.

Best regards,

--
Sébastien Riccio
SwissCenter / OpenBusiness SA
sr@xxxxxxxxxxxxxxxx


Jacek Konieczny a écrit :
Hello,

For my current project I need to automate domain creation and some basic
management. I thought XEN-API may be a better way than writing xm config
and calling xm to create and manage domains.
Unfortunately the XEN-API documentation and examples I found seem a bit
outdated. By trial and error I managed to login to xend and create a VM
with a few VBDs (but I still don't quite understand how those VBD/VDI/SR
work)... however when trying to start the VM I get:

{'Status': 'Failure', 'ErrorDescription': ['INTERNAL_ERROR', "(11, 'Resource 
temporarily unavailable')"]}

In xend.log I get:

[2007-06-13 10:13:43 1905] ERROR (XendDomainInfo:1540) 
XendDomainInfo.initDomain: exception occurred
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", line 
1517, in _initDomain
  File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 112, in 
createImage
  File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 131, in 
createDomain
  File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 517, in 
buildDomain
  File "/usr/lib/python2.5/site-packages/xen/xend/image.py", line 215, in 
buildDomain
Error: (11, 'Resource temporarily unavailable')
[2007-06-13 10:13:43 1905] ERROR (XendDomainInfo:416) VM start failed

There is nothing interesting in the "xm dmesg" output, despite "loglvl=all
guest_loglvl=all" xen boot options.

How can I find out what went wrong? Is the XEN-API usable at all? Is there any 
up-to-date
XEN-API documentation and/or examples available?

Greets,
        Jacek

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





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

<Prev in Thread] Current Thread [Next in Thread>