[one-users] occi-storage error (opennebula 2.0)

Daniel Molina Aranda danmolin at fdi.ucm.es
Mon Nov 29 05:57:26 PST 2010


Hi Marwen,

What ruby and curb version are you working on?

I have created an account in our dummy public cloud for you, I will send you
the credentials for it. Are you getting the same error doing the request
against this server?

Regards

On 24 November 2010 16:15, marwen marwen <marwen.ensi at gmail.com> wrote:

> Hi Daniel
>
> I don't use a proxy to handle the SSL connection
> and when I use -M option I have this message
>
> ***************************************************************
> /usr/lib/ruby/1.8/net/protocol.rb:175:in `write': Broken pipe
> (Errno::EPIPE)
>         from /usr/lib/ruby/1.8/net/protocol.rb:175:in `write0'
>         from /usr/lib/ruby/1.8/net/protocol.rb:151:in `write'
>         from /usr/lib/ruby/1.8/net/protocol.rb:166:in `writing'
>         from /usr/lib/ruby/1.8/net/protocol.rb:150:in `write'
>         from /usr/lib/ruby/1.8/net/http.rb:1557:in
> `send_request_with_body_stream'
>         from /usr/lib/ruby/1.8/net/http.rb:1527:in `exec'
>         from /usr/lib/ruby/1.8/net/http.rb:1048:in `request'
>         from /srv/cloud/one/lib/ruby/cloud/occi/OCCIClient.rb:225:in
> `post_image'
>         from /srv/cloud/one/lib/ruby/cloud/CloudClient.rb:86:in `call'
>         from /srv/cloud/one/lib/ruby/cloud/CloudClient.rb:86:in
> `http_start'
>         from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
>         from /srv/cloud/one/lib/ruby/cloud/CloudClient.rb:85:in
> `http_start'
>         from /srv/cloud/one/lib/ruby/cloud/occi/OCCIClient.rb:224:in
> `post_image'
>         from /srv/cloud/one/bin/occi-storage:155
> **************************************************************
>
> Best Regards
> Marwen
>
> 2010/11/24 Daniel Molina Aranda <danmolin at fdi.ucm.es>
>
> Hi Marwen,
>>
>> Are you using a proxy to handle the SSL connection or just normal HTTP
>> connections?
>>
>> You can use the -M option in the occi-storage command, so that the
>> multipart http request will be used instead of curb, and we will know if the
>> problem comes from it.
>>
>> Regards.
>>
>> On 22 November 2010 18:19, marwen marwen <marwen.ensi at gmail.com> wrote:
>>
>>> Hi
>>>
>>> I'm using OCCI with opennebula 2.0.
>>> I configured and tested OCCI with the command line occi-network but I
>>> have a problem with occi-storage. when I try to test this command I got
>>> this error
>>> "failed sending data to the peer"
>>> here is the command I tested
>>>                     occi-storage create storage.xml
>>> and here is the file contents
>>>                    storage.xml
>>>
>>> <STORAGE>
>>>         <NAME>Ubuntu</NAME>
>>>         <DESCRIPTION>ubuntu 9.10 desktop.</DESCRIPTION>
>>>         <TYPE>OS</TYPE>
>>>         <URL>file:///srv/cloud/one/images/test_ubuntu1.img</URL>
>>> </STORAGE>
>>>
>>> Best Regards
>>> Marwen
>>>
>>
>>
>>
>> --
>> Daniel Molina, Cloud Technology Engineer/Researcher
>> DSA Research Group: web http://dsa-research.org and blog
>> http://blog.dsa-research.org
>> OpenNebula Open Source Toolkit for Cloud Computing:
>> http://www.OpenNebula.org
>>
>
>


-- 
Daniel Molina, Cloud Technology Engineer/Researcher
DSA Research Group: web http://dsa-research.org and blog
http://blog.dsa-research.org
OpenNebula Open Source Toolkit for Cloud Computing:
http://www.OpenNebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101129/8077135c/attachment-0002.htm>


More information about the Users mailing list