[chef] Cannot upload cookbooks to newly instantiated OSS server


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Cannot upload cookbooks to newly instantiated OSS server
  • Date: Thu, 11 Jul 2013 17:46:46 -0300

Hi,

I’ve just installed an OSS Chef Server inside a VPC in AWS. I’m all set up and I can query the server from my workstation with knife just fine.

The problem is when I try to upload my cookbooks to the Chef server through Berkshelf. This is what I get:

Ridley::SandboxUploader crashed!
Faraday::Error::ConnectionFailed: getaddrinfo: nodename nor servname provided, or not known
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `initialize'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `open'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `block in connect'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/timeout.rb:55:in `timeout'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/timeout.rb:100:in `timeout'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `connect'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:756:in `do_start'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:745:in `start'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:1285:in `request'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/adapter/net_http.rb:75:in `perform_request'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/adapter/net_http.rb:38:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/chef_auth.rb:74:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/follow_redirects.rb:67:in `perform_with_redirection'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/middleware/follow_redirects.rb:60:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/response.rb:8:in `call'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/connection.rb:247:in `run_request'
/Users/cassiano/.gem/ruby/1.9.3/gems/faraday-0.8.7/lib/faraday/connection.rb:112:in `put'
/Users/cassiano/.gem/ruby/1.9.3/gems/ridley-1.2.4/lib/ridley/sandbox_uploader.rb:91:in `upload'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `public_send'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/calls.rb:25:in `dispatch'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/calls.rb:67:in `dispatch'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/actor.rb:326:in `block in handle_message'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/tasks.rb:42:in `block in initialize'
/Users/cassiano/.gem/ruby/1.9.3/gems/celluloid-0.14.1/lib/celluloid/tasks/task_fiber.rb:11:in `block in create'
Ridley::SandboxUploader crashed!
Faraday::Error::ConnectionFailed: getaddrinfo: nodename nor servname provided, or not known
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `initialize'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `open'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/net/http.rb:763:in `block in connect'
/Users/cassiano/.rubies/ruby-1.9.3-p429/lib/ruby/1.9.1/timeout.rb:55:in `timeout’
...

Has anyone had this issue? How can I solve it?

Cheers,
Cassiano Leal




Archive powered by MHonArc 2.6.16.

§