[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] XEN-API problems


  • To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Jacek Konieczny <jajcus@xxxxxxxxxx>
  • Date: Wed, 13 Jun 2007 10:22:01 +0200
  • Delivery-date: Wed, 13 Jun 2007 01:20:13 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.