From mboxrd@z Thu Jan 1 00:00:00 1970 From: SwissCenter HelpDesk Subject: Re: XEN-API problems Date: Wed, 13 Jun 2007 13:29:14 +0200 Message-ID: <466FD50A.6080800@swisscenter.com> References: <20070613082201.GB30919@jajo.eggsoft.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070613082201.GB30919@jajo.eggsoft.pl> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jacek Konieczny Cc: xen-devel List-Id: xen-devel@lists.xenproject.org Hello, I am currently having the same problems. I wasn't able to create and=20 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, --=20 S=E9bastien Riccio SwissCenter / OpenBusiness SA sr@openbusiness.com Jacek Konieczny a =E9crit : > Hello, > > For my current project I need to automate domain creation and some basi= c > management. I thought XEN-API may be a better way than writing xm confi= g > and calling xm to create and manage domains.=20 > > 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/S= R > work)... however when trying to start the VM I get: > > {'Status': 'Failure', 'ErrorDescription': ['INTERNAL_ERROR', "(11, 'Res= ource temporarily unavailable')"]} > > In xend.log I get: > > [2007-06-13 10:13:43 1905] ERROR (XendDomainInfo:1540) XendDomainInfo.i= nitDomain: exception occurred > Traceback (most recent call last): > File "/usr/lib/python2.5/site-packages/xen/xend/XendDomainInfo.py", l= ine 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=3D= all > guest_loglvl=3Dall" xen boot options. > > How can I find out what went wrong? Is the XEN-API usable at all? Is th= ere any up-to-date > XEN-API documentation and/or examples available? > > Greets, > Jacek > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel > > > =20