[chef] Re: Re: chef client errors after successful execution


Chronological Thread 
  • From: Manoj Thakkar < >
  • To: " " < >
  • Subject: [chef] Re: Re: chef client errors after successful execution
  • Date: Sun, 15 Sep 2013 21:35:56 -0700

Thanks for the reply,

i noted that and changed the nginx.conf in /opt/chef-server/embedded/conf 

http {
    include       mime.types;
    default_type  application/octet-stream;

    #log_format  main  '$remote_addr - $remote_user [$time_local] "$request" '
    #                  '$status $body_bytes_sent "$http_referer" '
    #                  '"$http_user_agent" "$http_x_forwarded_for"';
    client_max_body_size 100M;


i thought that will fix the issues, is there something wrong.

Thanks
Manoj



On Sun, Sep 15, 2013 at 8:40 PM, Seth Falcon < " target="_blank"> > wrote:
Hi there,

"> writes:
> I am running chef client on couple nodes , on all nodes the recipe is
> executed fine , but i get this error in last,
>
> [2013-09-15T11:34:23-07:00] FATAL: Net::HTTPServerException: 413 "Request
> Entity Too Large"

The 413 error is returned by Chef Server (as well as Hosted Enterprise
Chef) when the JSON data sent in the request exceeds 1MM bytes.

So to take a guess, one of your nodes is quite large and the server is
rejecting the large node at the end of the run when chef-client attempts
to save the node.

+ seth




--
Seth Falcon | Development Lead | Opscode | @sfalcon





Archive powered by MHonArc 2.6.16.

§