$ bosh upload-stemcell bosh-stemcell-1200.17-vsphere-esxi-windows2012R2-go_agent.tgz Using environment '192.168.111.67' as user 'director' (bosh.*.read, openid, bosh.*.admin, bosh.read, bosh.admin) # 0.00% 1.97 MB/s 0s Uploading stemcell file: Director responded with non-successful status code '413' response '<html> <head><title>413 Request Entity Too Large</title></head> <body bgcolor="white"> <center><h1>413 Request Entity Too Large</h1></center> <hr><center>nginx</center> </body> </html> ' Exit code 1
As explained in the Upload release fails section on the BOSH website, this failure occurs due to a nginx configuration problems with the Director and the nginx blobstore. There is a parameter in the nginx configuration to limit the maximum size of an object to be uploaded. In this case, the Stemcell file size has reached the uploading limitation.
max_upload_size property on the Director and the Blobstore jobs.max_upload_size property of the Director and the Blobstore job in the manifest file to deploy the BOSH Director, then adjust the value of this property first and re-deploy the Director.max_upload_size property for the Director and the Blobstore jobs. Following is a method to change the property and remedy the failure temporarily.# monit restart director_nginxBlobstore job (for uploading the files like the release package)
# monit restart blobstore_nginx