I tried this link to set up a Chef Server, workstation and nodes. While bootstrapping a new node from a workstation to install a client on that node, I got the below error:
Chef Client failed. 0 resources updated in 14 seconds
[2016-04-18T08:46:31+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2016-04-18T08:46:31+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2016-04-18T08:46:31+00:00] ERROR: 413 "Request Entity Too Large"
[2016-04-18T08:46:31+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
This is my bootstrap command:
knife bootstrap server_name -x username -P password --sudo --use-sudo-password
I added Ohai::Config[:disabled_plugins] = ["passwd"] to /etc/chef/client.rb file on the node and re-ran the command from workstation but got the same error. Can someone help me with this?
Thanks in advance.
require 'pp'; pp nodeto get the node object on stdout to find which attribute is very large. (or you may have a problem server side, but hard to guess if you're using hosted or private chef server, etc.) - Tensibai