Buildpacks with .NET core larger than 1 GB fail to upload
search cancel

Buildpacks with .NET core larger than 1 GB fail to upload

book

Article ID: 297843

calendar_today

Updated On:

Products

VMware Tanzu Application Service for VMs

Issue/Introduction

Symptoms:
There is a limitation in the blob store size, therefore buildpacks larger than 1 GB fail to be uploaded to Pivotal Cloud Foundry (PCF) with an error like the following:
cf create-buildpack dotnet-core-buildpack-v2-1-2 ~/dotnet-core_buildpack-cached-cflinuxfs2-v2.1.2.zip 37 --enable
Creating buildpack dotnet-core-buildpack-v2-1-2... OK Uploading buildpack dotnet-core-buildpack-v2-1-2... 80.5M uploaded...FAILED Server error, status code: 413, error code: 0, message:



Environment


Cause

This issue is due to a limitation in the blobstore file size for any stemcell running in PCF.

Resolution

If you have created a custom buildpack, it is recommended that you trim the size of the buildpack to less than 1 GB.

If the issue occurs specifically with dotnet-core-buildpack-v2-1-2, you can either upgrade to PCF 2.1.3 or use the PCF 2.1.1 as both of these are under 1 GB.