- From: Ross Mohan <
>
- To: "
" <
>
- Subject: [chef] Chef-Shell question WAS RE: Re: RE: Re: Undefined Method drives Sous Chef Mad. Film at 11.
- Date: Thu, 20 Feb 2014 00:04:29 +0000
- Accept-language: en-US
Thanks for responding to that, Brian.
This time, interestingly enough, it fails immediately, without my ever
getting a chance to query cookbooks (local or server-based):
rosss-air:.chef rossmohan$ chef-shell -z
loading configuration: /etc/chef/client.rb
Session type: client
Loading....[2014-02-19T19:06:49-05:00] ERROR: Connection refused
connecting to
https://localhost/nodes/rosss-air.home, retry
1/5
..........[2014-02-19T19:06:54-05:00] ERROR: Connection refused
connecting to
https://localhost/nodes/rosss-air.home, retry 2/5
..........[2014-02-19T19:06:59-05:00] ERROR: Connection refused
connecting to
https://localhost/nodes/rosss-air.home, retry 3/5
..........[2014-02-19T19:07:04-05:00] ERROR: Connection refused
connecting to
https://localhost/nodes/rosss-air.home, retry 4/5
.....^C
================================================================================
Chef encountered an error attempting to load the node data for
"rosss-air.home"
================================================================================
Thanks, too, for the link. I'll look into that.
Sure is a lot to get used to.
-Ross
________________________________________
From: Bryan McLellan
<
>
Sent: Wednesday, February 19, 2014 1:51 PM
To:
Subject: [chef] Re: RE: Re: Undefined Method drives Sous Chef Mad. Film at 11.
On Wed, Feb 19, 2014 at 10:11 AM, Ross Mohan
<
>
wrote:
>
I did try debugging via single-stepping chef-shell, but it gave me hours of
>
grief on "connection refused" (regardless of firewall state)
>
>
rosss-air:.chef rossmohan$ chef-shell
>
>
chef > cookbooks.all
>
>
[2014-02-19T10:11:42-05:00] ERROR: Connection refused connecting to
>
https://localhost/cookbooks, retry 1/5
chef-shell in standalone mode doesn't load cookbooks.
http://docs.opscode.com/chef_shell.html
Loading chef-shell in client mode with "chef-shell -z" is probably
what you wanted. It can take a little getting used to.
Bryan
Archive powered by MHonArc 2.6.16.