Flavor Extra Specs should check Metadata Items Quota
Bug #1212195 reported by
Rohit Karajgi
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
The flavor extra specs extension does not actually adhere to any quota restrictions during create.
The API handles the MetadataLimitEx
(see https:/
, but it looks like this exception would never get raised.
By default the Metadata Items quota for a tenant is 128. With the current code, more than 128 flavor extra spec items can be created.
Either of the two should be done:
1. Enforce the metadata limit (use _check_
2. If this limit should not be enforced, then the exception handling code should be removed.
Changed in nova: | |
assignee: | nobody → Rohit Karajgi (rohitkarajgi) |
Changed in nova: | |
assignee: | Rohit Karajgi (rohitkarajgi) → nobody |
status: | Incomplete → New |
Changed in nova: | |
assignee: | nobody → Abhijeet Malawade (abhijeet-malawade) |
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → In Progress |
tags: | added: api |
Changed in nova: | |
assignee: | Abhijeet Malawade (abhijeet-malawade) → nobody |
Changed in nova: | |
status: | In Progress → Triaged |
To post a comment you must log in.
git grep shows: api.py: raise exception. MetadataLimitEx ceeded( allowed= ...
nova/compute/
So is this still valid?