- From: "Julian C. Dunn" <
>
- To: Peeyush Gupta <
>
- Cc: "
" <
>
- Subject: [chef] Re: Re: Re: Trouble working with chef-solo
- Date: Thu, 9 Jan 2014 12:49:55 -0500
Do you actually have the chef-server software installed on
'peeyush-virtual-machine' ?
- Julian
On Thu, Jan 9, 2014 at 6:38 AM, Peeyush Gupta
<
>
wrote:
>
HI laradji,
>
>
I tried with changing http to https, it's still giving me the same error.
>
>
>
~Peeyush Gupta
>
>
>
On Thursday, 9 January 2014 5:04 PM, laradji nacer
>
<
>
>
wrote:
>
Le 9 janv. 2014 à 11:43, Peeyush Gupta
>
<
>
>
a écrit :
>
>
Hi all,
>
>
Hi,
>
>
>
I am trying to learn about chef-solo. I have successfully run a recipe using
>
it. Now, I am moving further and learning my way with knife. I have an
>
Ubuntu 12.04 machine. I am trying to bootstrap the same node (on which chef
>
is installed). I am completely newbie in this area, and couldn't find much
>
help on internet. I want to run some cookbooks that need to add a role to a
>
node.
>
>
As it's an experimental setup, I want to assign the role to the same node. I
>
understand I need to bootstrap the node first. But when I try to run "knife
>
bootstrap node", I get the following error:
>
>
You seem to use http:// and port 443 in the same url, that don’t seem right.
>
it should be https://
>
>
>
peeyush-virtual-machine Starting Chef Client, version 11.8.2
>
peeyush-virtual-machine Creating a new client identity for
>
peeyush-virtual-machine using the validator key.
>
peeyush-virtual-machine [2014-01-09T15:01:25+05:30] ERROR: Connection
>
refused connecting to http://peeyush-virtual-machine:443/clients, retry 1/5
>
peeyush-virtual-machine [2014-01-09T15:01:30+05:30] ERROR: Connection
>
refused connecting to http://peeyush-virtual-machine:443/clients, retry 2/5
>
peeyush-virtual-machine [2014-01-09T15:01:35+05:30] ERROR: Connection
>
refused connecting to http://peeyush-virtual-machine:443/clients, retry 3/5
>
peeyush-virtual-machine [2014-01-09T15:01:40+05:30] ERROR: Connection
>
refused connecting to http://peeyush-virtual-machine:443/clients, retry 4/5
>
peeyush-virtual-machine [2014-01-09T15:01:45+05:30] ERROR: Connection
>
refused connecting to http://peeyush-virtual-machine:443/clients, retry 5/5
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
================================================================================
>
peeyush-virtual-machine Chef encountered an error attempting to create the
>
client "peeyush-virtual-machine"
>
peeyush-virtual-machine
>
================================================================================
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
peeyush-virtual-machine Network Error:
>
peeyush-virtual-machine --------------
>
peeyush-virtual-machine There was a network error connecting to the Chef
>
Server:
>
peeyush-virtual-machine Connection refused - Connection refused connecting
>
to http://peeyush-virtual-machine:443/clients, giving up
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
peeyush-virtual-machine Relevant Config Settings:
>
peeyush-virtual-machine -------------------------
>
peeyush-virtual-machine chef_server_url
>
"http://peeyush-virtual-machine:443"
>
peeyush-virtual-machine
>
peeyush-virtual-machine If your chef_server_url is correct, your network
>
could be down.
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
peeyush-virtual-machine
>
peeyush-virtual-machine [2014-01-09T15:01:50+05:30] FATAL: Stacktrace dumped
>
to /var/chef/cache/chef-stacktrace.out
>
peeyush-virtual-machine Chef Client failed. 0 resources updated
>
peeyush-virtual-machine [2014-01-09T15:01:50+05:30] ERROR: Connection
>
refused - Connection refused connecting to
>
http://peeyush-virtual-machine:443/clients, giving up
>
peeyush-virtual-machine [2014-01-09T15:01:50+05:30] FATAL:
>
Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully
>
(exit code 1)
>
>
Can anyone please help me resolve this error?
>
>
Thanks,
>
Peeyush Gupta
>
>
>
>
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.