[one-users] Problem with OCCI client while creating storage image
Florin Antonescu
florinantonescu at gmail.com
Tue Apr 26 13:08:53 PDT 2011
I am developing my own client in Java. Do you know if such a (reference)
client already exists?
On Tue, Apr 26, 2011 at 6:57 PM, Daniel Molina <dmolina at opennebula.org>wrote:
> What client are you using? Are you developing your own client?
>
> You can check the OCCIClient code (post_image method) to get an idea.
>
> On 26 April 2011 18:44, Florin Antonescu <florinantonescu at gmail.com>
> wrote:
> > 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 <dmolina at opennebula.org>
> > 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 <florinantonescu at gmail.com>
> >> 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
> >> > Users at lists.opennebula.org
> >> > 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 | dmolina at opennebula.org
> >
> >
>
>
>
> --
> Daniel Molina, Cloud Technology Engineer/Researcher
> Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | dmolina at opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110426/162fac4b/attachment-0003.htm>
More information about the Users
mailing list