REST api layer doesn't handle TooManyInstances while doing resize
Bug #1538448 reported by
Eli Qiao
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Low
|
Unassigned |
Bug Description
compute_api may raise TooManyInstances if over quota, but no handler in REST Api layer.
Changed in nova: | |
assignee: | nobody → Eli Qiao (taget-9) |
importance: | Undecided → Low |
status: | New → Confirmed |
tags: | added: api |
Changed in nova: | |
assignee: | Eli Qiao (taget-9) → nobody |
To post a comment you must log in.
class TooManyInstance s(QuotaError) :
and it's handled by resize api: QuotaError as error:
explanation= error.format_ message( ))
except exception.
raise exc.HTTPForbidden(
https:/ /github. com/openstack/ nova/blob/ master/ nova/api/ openstack/ compute/ servers. py#L904