REST api layer doesn't handle TooManyInstances while doing resize

Bug #1538448 reported by Eli Qiao
8
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.

Tags: api
Eli Qiao (taget-9)
Changed in nova:
assignee: nobody → Eli Qiao (taget-9)
importance: Undecided → Low
status: New → Confirmed
tags: added: api
Revision history for this message
yuntongjin (yuntongjin) wrote :

class TooManyInstances(QuotaError):

and it's handled by resize api:
        except exception.QuotaError as error:
            raise exc.HTTPForbidden(
                explanation=error.format_message())

https://github.com/openstack/nova/blob/master/nova/api/openstack/compute/servers.py#L904

Revision history for this message
Sarafraj Singh (sarafraj-singh) wrote :

Eli,
Are you working on the fix? Please change status to Inprogress if you are, otherwise change Assigned to ->nobody.

Eli Qiao (taget-9)
Changed in nova:
assignee: Eli Qiao (taget-9) → nobody
Revision history for this message
jichenjc (jichenjc) wrote :

per comment #1

Changed in nova:
status: Confirmed → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.