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.manc...@cmcc.it ********************************************************* Il giorno 08/apr/2014, alle ore 18:48, Daniel Molina <dmol...@opennebula.org> ha scritto: > Hi, > > > On 3 April 2014 12:17, Marco Mancini <marco.manc...@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@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.manc...@cmcc.it > ********************************************************* > > > _______________________________________________ > Users mailing list > Users@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 | dmol...@opennebula.org | @OpenNebula
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org