I’m upgrading my production Chef Server from Chef 10 to 11 and ran into a
problem importing some nodes. A node with a 1.5M json file will load, but one
with a 1.9M or larger will not. I get the error
ERROR: . failed to create_child: Failure creating ‘server1.json’: 413 “Request
Entity Too Large”
These nodes have a very large number of virtual IP addresses discovered by ohai
that is making them so large.
I tried playing with client_max_body_size in nginx, but it didn’t seem to help.
Any other thoughts on what to increase to allow for very large nodes?
I’m upgrading my production Chef Server from Chef 10 to 11 and ran into a problem importing some nodes. A node with a 1.5M json file will load, but one with a 1.9M or larger will not. I get the error
ERROR: . failed to create_child: Failure creating ‘server1.json’: 413 “Request Entity Too Large”
These nodes have a very large number of virtual IP addresses discovered by ohai that is making them so large.
I tried playing with client_max_body_size in nginx, but it didn’t seem to help.
Any other thoughts on what to increase to allow for very large nodes?