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

Trying to assign org quota but have no authorization #2488

Open
XintongHe opened this issue Jul 12, 2023 · 0 comments
Open

Trying to assign org quota but have no authorization #2488

XintongHe opened this issue Jul 12, 2023 · 0 comments

Comments

@XintongHe
Copy link

Please fill out the issue checklist below and provide ALL the requested information.

  • [ yes] I reviewed open and closed github issues that may be related to my problem.
  • [yes ] I tried updating to the latest version of the CF CLI to see if it fixed my problem.
  • [yes ] I attempted to run the command with CF_TRACE=1 to help debug the issue.
  • [yes ] I am reporting a bug that others will be able to reproduce.

Describe the bug and the command you saw an issue with
I want to push an app to the Siemens Insight Hub, however, it shows that the organization's memory limit has exceeded, after several checking, I found out this is due to the org quota limit, so I am trying to assign a new org quota to my organization, but failed with the following error:
%cf update-org-quota cf-quota-1572872376330 -n cf-quota-1572872376330 -m 10G -i 2048M -l 8K -r 20 -s 20 --allow-paid-service-plans

Updating org quota cf-quota-1572872376330 as demonstrator.ais@ed.tum.de...
You are not authorized to perform the requested action.

What happened
demonstrator.ais@ed.tum.de is already an ORG Manager, Space Manager, and Space Developer. I have tried to create an admin user and assign it to the scope cloud_controller. However, even if the process is successful, the admin has not been added to the scope cloud_controller. I wonder if this is the reason. Here is the code:
%uaac member add cloud_controller.admin admin
success
% uaac context
[0]*[http://localhost:8080/uaa]

[0]*[admin]
client_id: admin
access_token: [i hided]
token_type: bearer
expires_in: 43199
scope: clients.read clients.secret clients.write uaa.admin clients.admin scim.write scim.read
jti: bf9c3af89dbd4d3387804c09d4982191

Expected behavior
I want to assign a new org quota to my organization but have no authorization.
Provide more context

  • platform and shell details: MAC OS 13.4.1 (22F82)
  • version of the CLI you are running: cf version 8.7.1+9c81242.2023-06-15

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants