Quota error message is not correct from Neutron Liberty

Bug #1661294 reported by Antoine Eiche
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
In Progress
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

It should be
HTTP/1.1 409 Conflict
Content-Type: application/json; charset=UTF-8
Content-Length: 109
X-Openstack-Request-Id: req-16160ee8-8a26-4f36-8460-348e2355a909
Date: Fri, 20 Jan 2017 09:05:37 GMT
Access-Control-Allow-Origin: *
Strict-Transport-Security: max-age=95522063; includeSubDomains

{"NeutronError": {"message": "Quota exceeded for resources: ['network']", "type": "OverQuota", "detail": ""}}%

But it is:

HTTP/1.1 400 Bad Request
Content-Type: application/json
Content-Length: 200
X-Openstack-Request-Id: req-a813c4c5-94d8-450c-94a8-6b1ec8e777ce
Date: Fri, 20 Jan 2017 09:09:43 GMT
Access-Control-Allow-Origin: *

{"NeutronError": {"message": "Bad virtual-network request: ['default-domain', 'openstack', 'testing_1'] : quota limit (10) exceeded for resource virtual-network.", "type": "BadRequest", "detail": ""}}

Tags: neutron
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/28369
Submitter: Antoine Eiche (<email address hidden>)

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.