vmware-tanzu-labs/cf-mgmt

update-org-quotas is not working as expected

aakashvalluru opened this issue · 6 comments

Describe the bug
cf-mgmt update-org-quotas is failing and not working as expected and throwing the below error
yaml_config.go:562] No org quotas found. Create directory org_quotas and add org quota defintion(s)

To Reproduce
Steps to reproduce the behavior:
try to change the instance memory limit in org definition.yaml and try to run the cf-mgmt update org-quotas command

Expected behavior
it should update the org configurations

Screenshots

Additional context
Add any other context about the problem here.

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

@aakashvalluru can you validate in the the org in question you have enabled the feature flag in orgConfig.yml to turn this on

Value should be enable-org-quota: true

@calebwashburn we have several org config.yaml files for several customers and in that i am seeing that enable-org-quota: true is not there . so you are suggesting to add this so it will not throw this error yaml_config.go:562] No org quotas found. Create directory org_quotas and add org quota defintion(s) ?

@aakashvalluru you can use the cf-mgmt-config cli to update the configs cf-mgmt-config org --org <your org> --enable-org-quota true this will opt you in to having that org's quotas managed by cf-mgmt if that isn't working as expected please provide debug output from cf-mgmt

@aakashvalluru - Let me know if there is any update on this otherwise closing as completed.

Closing issue as completed