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? Is there any documentation that I could consult regarding registering images using the OCCI client? Also an example would be very useful.
Best regards On Tue, Apr 26, 2011 at 4:39 PM, Daniel Molina <[email protected]>wrote: > Hi, > > The server waits for a file (request.params['file']) and the xml > (request.params['occixml']). In your case is that the file is missing > in the request. > > Regards > > On 17 April 2011 21:34, Florin Antonescu <[email protected]> > wrote: > > Hello, > > I have encountered a strange situation while trying to create a storage > > image using OCCI interface from a Java client (Opennebula 2.2 on Ubuntu > > 10.10). The XML representation that I was trying to send is > > <STORAGE> > > <NAME>test-ttylinux</NAME> > > <DESCRIPTION>Minimalist Linux distribution</DESCRIPTION> > > <TYPE>OS</TYPE> > > <URL>file:///srv/cloud/one/one-templates/ttylinux.img</URL> > > </STORAGE> > > and the response received from OCCI server is: "Image path not present, > > aborting." However, if I try to create the same storage image using > > occi-image, everything works OK. Is there a constraint for the URL? What > is > > the proper way of creating OS images using OCCI interface? > > Thank you, > > Florian > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > > > > > -- > Daniel Molina, Cloud Technology Engineer/Researcher > Major Contributor > OpenNebula - The Open Source Toolkit for Cloud Computing > www.OpenNebula.org | [email protected] >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
