[chef] ERROR: No socketless chef-zero server


Chronological Thread 
  • From: Christine Draper < >
  • To:
  • Subject: [chef] ERROR: No socketless chef-zero server
  • Date: Sat, 2 May 2015 16:41:12 -0500

I'm getting the following using chef-client 12.3 with chef-zero 4.2.1:

ERROR: No socketless chef-zero server on given port 8889

I have a centos VM running under Vagrant, on a private network. I then run chef-zero on the same private network:

chef-zero -H 10.0.5.1

And use knife to bootstrap. The run fails when trying to create the client with the following stacktrace:

ChefZero::ServerNotFound: No socketless chef-zero server on given port 8889
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.2.1/lib/chef_zero/socketless_server_map.rb:78:in `request'
/opt/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-zero-4.2.1/lib/chef_zero/socketless_server_map.rb:33:in `request'
/opt/chef/embedded/apps/chef/lib/chef/http/socketless_chef_zero_client.rb:153:in `request'
<snip>

I tried running chef-client with both --no-listen and --listen, but got the same error in both cases.

Any ideas?

Thanks,
Christine Draper



Archive powered by MHonArc 2.6.16.

§