[one-users] econe-upload timeout

Rogier Mars rogier at fortytwo.nl
Thu Oct 8 17:20:12 PDT 2009


Hi,

I tried to upload a 1GB linux image with the econe-upload command.  
After the file was uploaded to <imagedir>/tmp/ it started to do the  
multipart thing, but a couple of seconds after it created the  
RackMultipart file in <imagedir>/tmp the econe-upload command exited  
with an timeout error message (see below). I have installed and use  
the multipart-post gem, as I run in CentOS (econe-upload -M  
<imagefile>).

What can cause this error?

Thanks,

Rogier

[rogierm at cloudtest3 ~]$ econe-upload -M /usr/local/one/images/ 
centos5.img
image /usr/local/one/images/centos5.img

/usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill': execution expired  
(Timeout::Error)
	from /usr/lib/ruby/1.8/timeout.rb:56:in `timeout'
	from /usr/lib/ruby/1.8/timeout.rb:76:in `timeout'
	from /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill'
	from /usr/lib/ruby/1.8/net/protocol.rb:116:in `readuntil'
	from /usr/lib/ruby/1.8/net/protocol.rb:126:in `readline'
	from /usr/lib/ruby/1.8/net/http.rb:2020:in `read_status_line'
	from /usr/lib/ruby/1.8/net/http.rb:2009:in `read_new'
	from /usr/lib/ruby/1.8/net/http.rb:1050:in `request'
	from /usr/local/one/lib/ruby/econe/EC2QueryClient.rb:179:in  
`upload_image'
	from /usr/lib/ruby/1.8/net/http.rb:543:in `start'
	from /usr/lib/ruby/1.8/net/http.rb:440:in `start'
	from /usr/local/one/lib/ruby/econe/EC2QueryClient.rb:178:in  
`upload_image'
	from /usr/local/one/bin/econe-upload:116
[rogierm at cloudtest3 ~]$



[rogierm at cloudtest3 tmp]$ ls -altr
total 1714248
drwxrwxr-x 4 one root       4096 Oct  9 01:35 ..
-rw------- 1 one one  1073742765 Oct  9 02:13 thin-body.26301.1
drwxrwxr-x 2 one root       4096 Oct  9 02:13 .
-rw------- 1 one one   679911424 Oct  9 02:15 RackMultipart.26301.0


Original uploaded image:
-rw-r--r-- 1 one root 1049624576 Apr 23 19:00 centos.5-3.x86.img





More information about the Users mailing list