yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #87689
[Bug 1951617] [NEW] "Quota exceeded" message is confusing for "resize"
Public bug reported:
"Quota exceeded" message is confusing for "resize"
When trying to create an instance and there is no quota available, the user gets an error message.
example:
"Quota exceeded for cores: Requested 1, but already used 100 of 100 cores (HTTP 403)"
The user can see that the project is already using 100 vCPUs out of 100
vCPUs available (vCPU quota) in the project.
However, if he tries to resize an instance we can get a similar error message:
"Quota exceeded for cores: Requested 2, but already used 42 of 100 cores (HTTP 403)"
So, this has a completely different meaning!
It means that the user (of the instance that he's trying to resize) is using 42 vCPUs in the project out of 100 cores allowed by the quota.
This is hard to understand for a end user.
When naively reading this message looks like the project still has plenty of resources for the resize.
I believe this comes from the time when Nova allowed quotas per user.
In my opinion this distinction shouldn't be done anymore. As mentioned we don't do it when creating a new instance.
+++
This was tested with the master branch (19/11/2021)
** Affects: nova
Importance: Undecided
Assignee: Belmiro Moreira (moreira-belmiro-email-lists)
Status: New
** Changed in: nova
Assignee: (unassigned) => Belmiro Moreira (moreira-belmiro-email-lists)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1951617
Title:
"Quota exceeded" message is confusing for "resize"
Status in OpenStack Compute (nova):
New
Bug description:
"Quota exceeded" message is confusing for "resize"
When trying to create an instance and there is no quota available, the user gets an error message.
example:
"Quota exceeded for cores: Requested 1, but already used 100 of 100 cores (HTTP 403)"
The user can see that the project is already using 100 vCPUs out of
100 vCPUs available (vCPU quota) in the project.
However, if he tries to resize an instance we can get a similar error message:
"Quota exceeded for cores: Requested 2, but already used 42 of 100 cores (HTTP 403)"
So, this has a completely different meaning!
It means that the user (of the instance that he's trying to resize) is using 42 vCPUs in the project out of 100 cores allowed by the quota.
This is hard to understand for a end user.
When naively reading this message looks like the project still has plenty of resources for the resize.
I believe this comes from the time when Nova allowed quotas per user.
In my opinion this distinction shouldn't be done anymore. As mentioned we don't do it when creating a new instance.
+++
This was tested with the master branch (19/11/2021)
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1951617/+subscriptions