[one-users] "occi-storage create" fails

salma rebai rebai.salma at gmail.com
Wed Jan 4 03:19:49 PST 2012


Hi,
Here is the log file contents

> cat var/occi-server.log
--------------------------------------
         Server configuration
--------------------------------------
{:template_location=>"/srv/opennebula//etc/occi_templates",
 :bridge=>"br0",
 :one_xmlrpc=>"http://localhost:2633/RPC2",
 :instance_types=>
  {:custom=>{:template=>"custom.erb"},
   :small=>{:template=>"small.erb"},
   :medium=>{:template=>"medium.erb"},
   :large=>{:template=>"large.erb"}},
 :server=>"localhost",
 :auth=>"basic",
 :port=>4567}
== Sinatra/1.3.1 has taken the stage on 4567 for development with backup
from Thin
/usr/local/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/request.rb:77:in
`parse': No space left on device - /tmp/thin-body20120104-29992-1v1tn4a-0
(Errno::ENOSPC)
        from /usr/local/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/connection.rb:42:in
`receive_data'
        from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
`run_machine'
        from /usr/local/lib/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in
`run'
        from /usr/local/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/backends/base.rb:61:in
`start'
        from /usr/local/lib/ruby/gems/1.8/gems/thin-1.2.11/lib/thin/server.rb:159:in
`start'
        from /usr/local/lib/ruby/gems/1.8/gems/rack-1.3.4/lib/rack/handler/thin.rb:13:in
`run'
        from /usr/local/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/sinatra/base.rb:1295:in
`run!'
        from /usr/local/lib/ruby/gems/1.8/gems/sinatra-1.3.1/lib/
sinatra/main.rb:25
        from /data1/opennebula3-20//lib/ruby/cloud/occi/occi-server.rb:191
>> Thin web server (v1.2.11 codename Bat-Shit Crazy)
>> Maximum connections set to 1024
>> Listening on 0.0.0.0:4567, CTRL+C to stop


Thanks for your help!

2012/1/4 Hector Sanjuan <hsanjuan at opennebula.org>

> Hi,
>
> can you send /var/log/one/occi-server.log?
>
> Hector
>
> En Wed, 04 Jan 2012 10:57:25 +0100, salma rebai <rebai.salma at gmail.com>
> escribió:
>
>
>  Hello,
>> Any one can help me please!! have you any suggestions to solve this
>> problem.
>>
>> Best Regards.
>>
>> 2012/1/3 salma rebai <rebai.salma at gmail.com>
>>
>>
>>> Hi all,
>>> I am using OCCI with OpenNebula 3.0. I have configured my OCCI server and
>>> tested it, with the occi-network command and it works fine. But, when i
>>> try
>>> to upload an image with the occi-storage command, I got this error :
>>> "failed sending data to the peer"
>>> My configuration is as follows :
>>> ------
>>> > cat etc/occi-server.conf
>>> # OpenNebula sever contact information
>>> :one_xmlrpc: http://localhost:2633/RPC2
>>>
>>> # Host and port where OCCI server will run
>>> :server: localhost
>>> :port: 4567
>>>
>>> # SSL proxy that serves the API (set if is being used)
>>> #:ssl_server: fqdm.of.the.server
>>>
>>> # Configuration for OpenNebula's Virtual Networks
>>> :bridge: br0
>>>
>>> # Authentication protocol for the OCCI server:
>>> #   basic, for OpenNebula's user-password scheme
>>> #   x509, for x509 certificates based authentication
>>> :auth: basic
>>>
>>> # VM types allowed and its template file (inside templates directory)
>>> :instance_types:
>>>  :custom:
>>>    :template: custom.erb
>>>  :small:
>>>    :template: small.erb
>>>  :medium:
>>>    :template: medium.erb
>>>  :large:
>>>    :template: large.erb
>>> ------------------
>>>
>>> The command I tested is :
>>>      occi-storage create storage.xml
>>> and here is the xml file contents :
>>> -----
>>> > cat storage.xml
>>>  <STORAGE>
>>>        <NAME>ubuntu_11</NAME>
>>>        <DESCRIPTION>A VM containing the Ubuntu OS</DESCRIPTION>
>>>        <TYPE>OS</TYPE>
>>>        <URL>file:///srv/opennebula/**images/ubuntu.img</URL>
>>> </STORAGE>
>>> --------
>>>
>>> After executing the occi-storage command I got the error described above
>>> and the OCCI-server is stopped....
>>>
>>> Any suggestions ??!!!
>>>
>>> Thanks in advance for your help!
>>>
>>>
>>> Best Regards.
>>> --
>>> Salma REBAI
>>> Ingénieur Informatique
>>> Mastère Réseaux et Systèmes Multimédia
>>> Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
>>> Institut Télécom SudParis
>>> rebai.salma at gmail.com
>>>
>>>
>>
>>
>>
>
> --
> Hector Sanjuan
> OpenNebula Developer
> ______________________________**_________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>



-- 
Salma REBAI
Ingénieur Informatique
Mastère Réseaux et Systèmes Multimédia
Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
Institut Télécom SudParis
rebai.salma at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120104/ca4a28cf/attachment-0003.htm>


More information about the Users mailing list