[one-users] occi-storage create error with big images
Marco Mancini
marco.mancini at cmcc.it
Wed Apr 9 01:03:35 PDT 2014
Hello,
sorry, it was a problem with disk space.
I did some other tests and I noticed that there was not enough space on /var/tmp where 2 copies of the image are created during the upload.
After resizing /var/tmp, the occi-storage create works now.
Cheers,
Marco.
********************************************************
Marco Mancini, PhD
Scientific Computing & Operations Division
Euro Mediterranean Center on Climate Change (CMCC)
Via Augusto Imperatore 16 - 73100 Lecce (Italy)
http://www.cmcc.it/
email: marco.mancini at cmcc.it
*********************************************************
Il giorno 08/apr/2014, alle ore 18:48, Daniel Molina <dmolina at opennebula.org> ha scritto:
> Hi,
>
>
> On 3 April 2014 12:17, Marco Mancini <marco.mancini at cmcc.it> wrote:
> Hello,
>
> I have installed opennebula 4.4.1.
> I got a ‘Send Failure: Broken pipe’ error by using occi-storage with a 11GB image file. After the error it is also necessary to restart the occi-server.
> If i use occi-storage with a small file (ttylinux image 40MB), the image is uploaded successfully.
>
> In the following, the output of the command occi-storage with —debug option by using the file storage.xml
> <STORAGE>
> <NAME>Ubuntu Server</NAME>
> <DESCRIPTION>Ubuntu server</DESCRIPTION>
> <TYPE>OS</TYPE>
> <URL>file:///repository/ubuntu-server-12.04-1.3.img</URL>
> </STORAGE>
>
>
> oneadmin at one:~/test_occi$ occi-storage --debug create storage.xml
> * About to connect() to localhost port 4567 (#0)
> * Trying 127.0.0.1... * connected
> * Server auth using Basic with user 'oneadmin'
> > POST /storage HTTP/1.1
> Authorization: Basic b25lYWRtaW46NGJkOTAxY2RlOTVjY2QxYWJmNzBkMzM0ZWM5MTg4N2E0MzI5NDliNg==
> Host: localhost:4567
> Accept: */*
> Content-Length: 11811160571
> Expect: 100-continue
> Content-Type: multipart/form-data; boundary=----------------------------10171bec94ac
>
> * Done waiting for 100-continue
> * Send failure: Broken pipe
> * Closing connection #0
> Curl::Err::SendError
>
>
> Could you try using the -M option in the occi-storage command?
>
> Cheers
>
>
> --------------------------------
>
> Best Regards,
> Marco.
>
>
> ********************************************************
> Marco Mancini, PhD
>
> Scientific Computing & Operations Division
> Euro Mediterranean Center on Climate Change (CMCC)
> Via Augusto Imperatore 16 - 73100 Lecce (Italy)
> http://www.cmcc.it/
> email: marco.mancini at cmcc.it
> *********************************************************
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
>
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140409/a99607a4/attachment-0002.htm>
More information about the Users
mailing list