[root@chefworkstation .chef]# knife user show radmin
display_name: cheffy administrator
email: admin@mightymonster.com
first_name: cheffy
last_name: administrator
middle_name:
username: radmin
[root@chefworkstation .chef]# knife bootstrap 192.168.1.191 -x cheffy -P cheffy55 --sudo -N node1
Node node1 exists, overwrite it? (Y/N) y
Client node1 exists, overwrite it? (Y/N) y
Creating new client for node1
Creating new node for node1
Connecting to 192.168.1.191
192.168.1.191 knife sudo password:
192.168.1.191
192.168.1.191 -----> Existing Chef installation detected
192.168.1.191 Starting the first Chef Client run…
192.168.1.191 Starting Chef Client, version 12.10.24
192.168.1.191 [2016-12-08T23:24:55-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1, retry 1/5
192.168.1.191 [2016-12-08T23:25:00-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1, retry 2/5
192.168.1.191 [2016-12-08T23:25:05-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1, retry 3/5
192.168.1.191 [2016-12-08T23:25:10-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1, retry 4/5
192.168.1.191 [2016-12-08T23:25:16-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1, retry 5/5
192.168.1.191
192.168.1.191 ================================================================================
192.168.1.191 Chef encountered an error attempting to load the node data for "node1"
192.168.1.191 ================================================================================
192.168.1.191
192.168.1.191 Unexpected Error:
192.168.1.191 -----------------
192.168.1.191 Errno::ECONNRESET: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1 - Connection reset by peer - SSL_connect
192.168.1.191
192.168.1.191 Platform:
192.168.1.191 ---------
192.168.1.191 x86_64-linux
192.168.1.191
192.168.1.191
192.168.1.191 Running handlers:
192.168.1.191 [2016-12-08T23:25:21-06:00] ERROR: Running exception handlers
192.168.1.191 Running handlers complete
192.168.1.191 [2016-12-08T23:25:21-06:00] ERROR: Exception handlers complete
192.168.1.191 Chef Client failed. 0 resources updated in 27 seconds
192.168.1.191 [2016-12-08T23:25:21-06:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
192.168.1.191 [2016-12-08T23:25:21-06:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
192.168.1.191 [2016-12-08T23:25:21-06:00] ERROR: Error connecting to https://chefserver.lab.com/organizations/mtmoster/nodes/node1 - Connection reset by peer - SSL_connect
192.168.1.191 [2016-12-08T23:25:21-06:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
[root@chefworkstation .chef]# cat /var/chef/cache/chef-stacktrace.out
cat: /var/chef/cache/chef-stacktrace.out: No such file or directory
I reset the key for the USER on the Chef Console but I guess that key has be replaced on the workstation as well to authenticate to chef server. Can anyone guide me where the new reset key supposed to go into…