cloudfoundry / cloudfoundry/cli
Trying to assign org quota but have no authorization
@a-b is already working on this.
Since Sep 6, 2024.
- Dominant language
- Go
- Stars
- 1.9k
- Forks
- 990
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 8
Description
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=1to 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.