cloud_controller_ng: disk_quota incorrectly blocked using v3-apply-manifest
Please fill out the issue checklist below and provide ALL the requested information.
- I reviewed open and closed github issues that may be related to my problem.
- I tried updating to the latest version of the CF CLI to see if it fixed my problem.
- I attempted to run the command with
CF_TRACE=1to help debug the issue. - I am reporting a bug that others will be able to reproduce.
Describe the bug and the command you saw an issue with NOTE: We have a custom disk_quota set to 4096 MB.
using cf push, I can push an app with this manifest specifying a disk_quota of 4096 MB:
---
applications:
- name: test-python-flask
random-route: true
buildpacks:
- python_buildpack
memory: 256M
disk_quota: 4096MB
Using cf v3-apply-manifest -f ./manifest.yml, I get the error disk_quota too much disk requested (requested 4096 MB - must be less than 2048 MB)
What happened
I get the error disk_quota too much disk requested (requested 4096 MB - must be less than 2048 MB)
Expected behavior I should be able to use the full disk quota allowed
To Reproduce Steps to reproduce the behavior; include the exact CLI commands and verbose output:
- Have an environment with a custom
maximum_app_disk_in_mb, higher than 2048MB - use cf v3-apply-manifest with a manifest requesting more than 2048MB, but less than
maximum_app_disk_in_mbdisk quota - See error
Provide more context
- Mac OS X 10.14 iTerm
cf version 6.46.0+29d6257f1.2019-07-09- 2.138.0
Note: As of January 2019, we no longer support API versions older than CF Release v284/CF Deployment v1.7.0 (CAPI Release: 1.46.0 (APIs 2.100.0 and 3.35.0).
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 16 (9 by maintainers)
Commits related to this issue
- Set `maximum_app_disk_in_mb` in `cloud_controller_worker` Previously, we had set a maximum amount of disk space an app instance could request to 4gb, using the property in the `cloud_controller_ng` j... — committed to alphagov/paas-cf by AP-Hunt 4 years ago
- Set `maximum_app_disk_in_mb` in `cloud_controller_worker` Previously, we had set a maximum amount of disk space an app instance could request to 4gb, using the property in the `cloud_controller_ng` j... — committed to alphagov/paas-cf by AP-Hunt 4 years ago
- Set `maximum_app_disk_in_mb` in `cloud_controller_worker` Previously, we had set a maximum amount of disk space an app instance could request to 4gb, using the property in the `cloud_controller_ng` j... — committed to alphagov/paas-cf by AP-Hunt 4 years ago
Hi @bengerman13 sorry for the delay. We’ll try to reproduce and get back to you soon as we can.
Team, please also test this on
apply-manifeston v7 beta CLI.