NoopQuotaDriver returns usages incorrect format
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| OpenStack Compute (nova) |
Medium
|
Rick Harris | ||
| Havana |
Medium
|
Yang Yu |
Bug Description
get_project_usages and get_user_usages should return a dictionary instead of an integer.
The form should be dict(limit=-1).
Associated traceback: http://
Rick Harris (rconradharris) wrote : | #1 |
Changed in nova: | |
assignee: | nobody → Rick Harris (rconradharris) |
status: | New → In Progress |
Rick Harris (rconradharris) wrote : | #2 |
Typo, affected functions are get_user_quotas and get_project_quotas.
Fix proposed to branch: master
Review: https:/
Reviewed: https:/
Committed: http://
Submitter: Jenkins
Branch: master
commit 711a12b4029cd15
Author: Rick Harris <email address hidden>
Date: Sat Oct 26 01:07:28 2013 +0000
Fix `NoopQuotaDrive
The quota API extension expects `get_project_
return a dictionary where the value is another dictionary with a `limit` key.
The `DbQuotaDriver` adhered to this spec, but the `NoopQuotaDriver` didn't.
This fixes the `NoopQuotaDriver` to return the results in the correct format.
Fixes bug 1244842
Change-Id: Iea274dab1c3f10
Changed in nova: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: stable/havana
Review: https:/
Changed in nova: | |
milestone: | none → icehouse-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/
Committed: https:/
Submitter: Jenkins
Branch: stable/havana
commit a52043858434cab
Author: Rick Harris <email address hidden>
Date: Sat Oct 26 01:07:28 2013 +0000
Fix `NoopQuotaDrive
The quota API extension expects `get_project_
return a dictionary where the value is another dictionary with a `limit` key.
The `DbQuotaDriver` adhered to this spec, but the `NoopQuotaDriver` didn't.
This fixes the `NoopQuotaDriver` to return the results in the correct format.
Fixes bug 1244842
Change-Id: Iea274dab1c3f10
(cherry picked from commit 711a12b4029cd15
tags: | added: in-stable-havana |
Changed in nova: | |
importance: | Undecided → Medium |
tags: | removed: in-stable-havana |
Changed in nova: | |
milestone: | icehouse-1 → 2014.1 |
Fix should be backported to Havana.