[chef] Problem with remote_file downloading?


Chronological Thread 
  • From: Ash Berlin < >
  • To:
  • Subject: [chef] Problem with remote_file downloading?
  • Date: Wed, 8 Sep 2010 02:24:37 +0100

See this gist: https://gist.github.com/d60768a9a4a9044bb7f8

Snippet here:

[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 96% done 
(653048 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 97% done 
(663184 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 99% done 
(673320 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: /releases/rvm-1.0.5.tar.gz 100% done 
(678469 of 678469)
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: 
remote_file[/opt/rvm/src/rvm-1.0.5.tar.gz]: Checking for file existence of 
/opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] INFO: 
remote_file[/opt/rvm/src/rvm-1.0.5.tar.gz]: Creating 
/opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: copying remote file from origin 
/tmp/chef-rest20100908-31334-17ozxck-0 to destination 
/opt/rvm/src/rvm-1.0.5.tar.gz
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: rescued error in http connect, 
re-raising as Errno::ECONNREFUSED to hide bug in net/http
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: NoMethodError: undefined method 
`closed?' for nil:NilClass
[Wed, 08 Sep 2010 02:22:30 +0100] DEBUG: 
/usr/lib/ruby/1.8/net/http.rb:1060:in `request'

In summary, it gives me progress report, then tells me it fails and tries 
again.

Any ideas?

-ash


Archive powered by MHonArc 2.6.16.

§