[chef] Re: Re: Re: Re: Re: Re: ERROR: No socketless chef-zero server


Chronological Thread 
  • From: Christine Draper < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: ERROR: No socketless chef-zero server
  • Date: Tue, 26 May 2015 09:46:41 -0500

Hi,

 I have found another case where I get this error, not involving chef-provisioning.

All I'm doing is using local mode to bootstrap a Vagrant VM:

knife bootstrap -z 127.0.0.1:2222 --sudo -xuser -Ppassword

This creates a client.rb on the target with:

chef_server_url  "chefzero://localhost:8889"

and returns error:

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

when it tries to start the run. I'm using chefdk 0.6/chef 12.3.0

Seems such a basic case that I must be doing something wrong - any ideas?

Regards,
Christine





On Tue, May 19, 2015 at 4:25 PM, Christine Draper < " target="_blank"> > wrote:
 fwiw, specifying the local url seems to work as a workaround for the chef-provisioning issue:

machine "blah" do
    chef_server( :chef_server_url => 'http://localhost:8889')
    run_list ['blah']
end

On Mon, May 18, 2015 at 8:38 PM, Ted B < " target="_blank"> > wrote:

> On 19 May 2015, at 7:32 am, Daniel DeLeo < " target="_blank"> > wrote:
>
> This is the one https://github.com/chef/chef-provisioning/pull/337

Ok - I closed the other issue on chef-provisioing-aws.

Confirmed it working with a gem build of chef-provisioning-1.2.0.dev.0.gem

[2015-05-19T11:35:03+10:00] INFO: Port forwarded: local URL chefzero://localhost:8889 is available to 172.21.1.88 as chefzero://localhost:8889 for the duration of this SSH connection.

--
Ted
GPG Key: 0x2B272DFD | E564 BCC1 F601 5D1F 01CD AC10 C37D D2B0 2B27 2DFD






Archive powered by MHonArc 2.6.16.

§