Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-space-quota does not fail if quota cannot be changed #3037

Open
3 of 4 tasks
I554344 opened this issue Jul 17, 2024 · 1 comment
Open
3 of 4 tasks

update-space-quota does not fail if quota cannot be changed #3037

I554344 opened this issue Jul 17, 2024 · 1 comment
Assignees

Comments

@I554344
Copy link

I554344 commented Jul 17, 2024

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=1 to 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
I'm using cf update-space-quota to increase space quota in an org which has memory limit set by administrators of the CF runtime.

What happened
cf update-space-quota does not fail when CF runtime has a hard limit enforced by administrators.

Expected behavior
cf update-space-quota should fail if quota was not changed.

Exact Steps To Reproduce
Steps to reproduce the behavior; include the exact CLI commands and verbose output:

  1. Log in to a CF space where runtime quota has hard limit of 210GB
  2. cf update-space-quota and set the new quota to 220GB
  3. See that the command finishes without any errors and without changing the quota.

Provide more context

  • Mac OS X 14.5 (23F79)
  • cf version 8.6.1+b5a352a.2023-02-27
@gururajsh
Copy link
Member

Hello @I554344 ,

It is allowed to set space quota value higher than org quota but while pushing app an, the lower of the two will be checked. For ex, If org quota memory limit is 1G and space quota memory limit is 2G and I try to push an app with 2G memory, it fails stating organization's memory limit exceeded .

@a-b a-b assigned a-b and gururajsh and unassigned a-b Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants