Can you please suggest me a way to send the file? Also, the file parameter should contain the path to the actual image ot the content of the image?<div>Is there any documentation that I could consult regarding registering images using the OCCI client? Also an example would be very useful.</div>

<div><br></div><div>Best regards</div><div><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 4:39 PM, Daniel Molina <span dir="ltr"><<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
The server waits for a file (request.params['file']) and the xml<br>
(request.params['occixml']). In your case is that the file is missing<br>
in the request.<br>
<br>
Regards<br>
<div><div></div><div class="h5"><br>
On 17 April 2011 21:34, Florin Antonescu <<a href="mailto:florinantonescu@gmail.com">florinantonescu@gmail.com</a>> wrote:<br>
> Hello,<br>
> I have encountered a strange situation while trying to create a storage<br>
> image using OCCI interface from a Java client (Opennebula 2.2 on Ubuntu<br>
> 10.10). The XML representation that I was trying to send is<br>
> <STORAGE><br>
> <NAME>test-ttylinux</NAME><br>
> <DESCRIPTION>Minimalist Linux distribution</DESCRIPTION><br>
> <TYPE>OS</TYPE><br>
> <URL>file:///srv/cloud/one/one-templates/ttylinux.img</URL><br>
> </STORAGE><br>
> and the response received from OCCI server is: "Image path not present,<br>
> aborting." However, if I try to create the same storage image using<br>
> occi-image, everything works OK. Is there a constraint for the URL? What is<br>
> the proper way of creating OS images using OCCI interface?<br>
> Thank you,<br>
> Florian<br>
</div></div>> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Daniel Molina, Cloud Technology Engineer/Researcher<br>
Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a><br>
</font></blockquote></div><br></div>