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

2012-01-04 Thread salma rebai
Hi,
Thanks for your response.
The folder of my OpenNebula installation (/srv/opennebula) is a large
shared space. SO i don't know if this really a disk space problem.
When i used the command line "oneimage create " to upload a new image, I
don't find any problems, and images are stored in the
 (/src/opennebula/var/images) folder.
But, I don't know when new images uploaded with occi-storage take place...
Is there a specific folder used by occi-storage??

Thanks for your Help!
Best Regards.

2012/1/4 Hector Sanjuan 

> Hi, it looks to me like you're short of space to upload your image:
>
>
>  /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)
>>
>
> --
> Hector Sanjuan
> OpenNebula Developer
> __**_
> Users mailing list
> Users@lists.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.sa...@gmail.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2012-01-04 Thread Hector Sanjuan

Hi, it looks to me like you're short of space to upload your image:

/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)


--
Hector Sanjuan
OpenNebula Developer
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2012-01-04 Thread salma rebai
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 

> Hi,
>
> can you send /var/log/one/occi-server.log?
>
> Hector
>
> En Wed, 04 Jan 2012 10:57:25 +0100, salma rebai 
> escribió:
>
>
>  Hello,
>> Any one can help me please!! have you any suggestions to solve this
>> problem.
>>
>> Best Regards.
>>
>> 2012/1/3 salma rebai 
>>
>>
>>> 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
>>>  
>>>ubuntu_11
>>>A VM containing the Ubuntu OS
>>>OS
>>>file:///srv/opennebula/**images/ubuntu.img
>>> 
>>> 
>>>
>>> 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.sa...@gmail.com
>>>
>>>
>>
>>
>>
>
> --
> Hector Sanjuan
> OpenNebula Developer
> __**_
> Users mailing list
> Users@lists.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.sa...@gmail.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2012-01-04 Thread Hector Sanjuan

Hi,

can you send /var/log/one/occi-server.log?

Hector

En Wed, 04 Jan 2012 10:57:25 +0100, salma rebai   
escribió:



Hello,
Any one can help me please!! have you any suggestions to solve this  
problem.


Best Regards.

2012/1/3 salma rebai 



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
 
ubuntu_11
A VM containing the Ubuntu OS
OS
file:///srv/opennebula/images/ubuntu.img



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.sa...@gmail.com








--
Hector Sanjuan
OpenNebula Developer
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


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

2012-01-04 Thread salma rebai
Hello,
Any one can help me please!! have you any suggestions to solve this problem.

Best Regards.

2012/1/3 salma rebai 

>
> 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
>  
> ubuntu_11
> A VM containing the Ubuntu OS
> OS
> file:///srv/opennebula/images/ubuntu.img
> 
> 
>
> 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.sa...@gmail.com
>



-- 
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.sa...@gmail.com
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org