Error message of quota exceeded don't contain enough information
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Rui Chen |
Bug Description
1. base version
stack@devstack:
commit 6969f270c503532
Merge: ae4ae93 930da44
Author: Jenkins <email address hidden>
Date: Sat Jun 27 08:40:25 2015 +0000
Merge "Fix typos detected by toolkit misspellings."
2. nova-api.log
2015-06-30 10:55:26.637 DEBUG nova.compute.api [req-2bba2e1b-
re instances of this type. _check_
2015-06-30 10:55:26.638 INFO nova.api.
3. reproduce steps:
* set the tenant qouta, core=1, ram=512
* boot instance with flavor m1.tiny (1 core, 512 ram)
* boot instance again with flavor m1.tiny
Expected result:
* booting instance failed in the second time, and user should know which resource is limited, core and ram.
Actual result:
* the raised exception message only contain core limit details, but no ram details.
stack@devstack:
ERROR (Forbidden): Quota exceeded for cores,ram: Requested 1, but already used 1 of 1 cores (HTTP 403) (Request-ID: req-2bba2e1b-
As a End user, he should get the full information from the exception message, he don't know the ram limit detail, so he has no idea which flavor can be used to boot instance successfully.
Changed in nova: | |
assignee: | nobody → Rui Chen (kiwik-chenrui) |
Changed in nova: | |
milestone: | none → liberty-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | liberty-rc1 → 12.0.0 |
@Rui Chen (kiwik-chenrui):
Since you are set as assignee, I switch the status to "In Progress".