cloudfoundry-attic / bosh-lite

A lite development env for BOSH
Apache License 2.0
319 stars 244 forks source link

Uploading a stemcell of size 13GB gives error #437

Open ramyasg opened 7 years ago

ramyasg commented 7 years ago

We have a stemcell which we built from a vmdk file and has a file size of 13 GB. When we tried to upload this to our director, obtained this error -

Uploading stemcell file: Director responded with non-successful status code '413' response '

413 Request Entity Too Large

413 Request Entity Too Large


nginx

'

Exit code 1

Read through the bosh documentation that the size limit is 10GB only. Is there any way to increase this limit. Any one know how to modify nginx settings to increase this size.

grafpoo commented 7 years ago

yes, it's a setting for nginx that you can modify. i've found (and adjusted) it for regular cloud-foundry/bosh

On Thu, Sep 7, 2017 at 5:58 AM, Ramya SG notifications@github.com wrote:

We have a stemcell which we built from a vmdk file and has a file size of 13 GB. When we tried to upload this to our director, obtained this error -

Uploading stemcell file: Director responded with non-successful status code '413' response '

413 Request Entity Too Large 413 Request Entity Too Large ------------------------------ nginx ' Exit code 1 Read through the bosh documentation that the size limit is 10GB only. Is there any way to increase this limit. Any one know how to modify nginx settings to increase this size. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub , or mute the thread .
ramyasg commented 7 years ago

@grafpoo It would be a great help if you can point us to any link where we can get more details about tweaking the settings for nginx.

dpb587-pivotal commented 7 years ago

Hi - typically you should be using the stemcells from bosh.io for BOSH Lite / Warden. The VMDK stemcells are not supported in bosh-lite, and I don't think you'll be able to deploy to them after uploading. I'd strongly recommend using the stemcells from bosh.io to get started.

Do you mind describing why you're needing to create stemcells? We don't recommend this because they diverge from our officially maintained images with our base security and system settings that releases expect. Any customizations to VMs should be happening through BOSH releases which helps keep the stemcells relatively slim (much, much less than 13GB).

ramyasg commented 7 years ago

Hi, Thank you for the reply. We have experimented with the default stemcell that was available with bosh.io. However our research deals with usage of Windows 2012 R2 on VSphere. Hence the need for creating custom stemcell. If someone can point out to a link or blog where in we can modify the file size limit and also on how to login to the Director, it will help us in proceeding with our exploration as currently we are stuck in this step.