[chef] knife bootstrap http request too large issue


Chronological Thread 
  • From: Manoj Thakkar < >
  • To: " " < >
  • Subject: [chef] knife bootstrap http request too large issue
  • Date: Wed, 30 Oct 2013 23:24:34 -0700

Hi,

when i run a knife bootstrap for a new client the chef client get installed and run for first time but i get this error  FATAL: Net::HTTPServerException: 413 "Request Entity Too Large"

i know the issue is with the ohai -- i hae to disable passwd in client.rb

Is there a way to fix it in the bootstrap itself as of now what i do it i run knife bootstrap  then i got to my client machine add the line 
Ohai::Config[:disabled_plugins] = ["passwd", "rackspace", "dmi", "dmi_common"]

in client.rb and then run chef-client again which fix the issue, 

but its painful to do it on every new node.

Thanks
Manoj




Archive powered by MHonArc 2.6.16.

§