Quota exceeding message is not 'neutron compliant'

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

Bug Description

WIth the neutron contrail plugin, the error message when quota are exceeded is something such as:
  $ neutron net-create n4
  Bad virtual-network request: ['default-domain', 'demo', 'n4'] : quota limit (3) exceeded for resource virtual-network

With the native plugin, the message is:
  $ neutron net-create n2
  Quota exceeded for resources: ['network']

Note that resource type should also be translated from 'virtual-network' to 'network'.

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

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

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/14496
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/9a213d760bbadbfdf98d462c31296d2eaf3e1cf1
Submitter: Zuul
Branch: master

commit 9a213d760bbadbfdf98d462c31296d2eaf3e1cf1
Author: Antoine Eiche <email address hidden>
Date: Fri Oct 16 18:36:12 2015 +0200

Ensure quotas are not exceeded

Since it seems hard to translate quota exceeding messages from
Contrail, the plugin does by itself quotas checks.
Code is highly inspired by the native Neutron quota plugin.

Change-Id: I829a1400e44d844548485517c09cc69c46b0534b
Closes-Bug: #1506904

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.