Bug 927299 - Horizon doesn't display proper error when Quantum quota exceeded when adding subnets
Summary: Horizon doesn't display proper error when Quantum quota exceeded when adding ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 2.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: snapshot1
: 3.0
Assignee: Julie Pichon
QA Contact: Ofer Blaut
URL:
Whiteboard:
Depends On: 950565
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-25 15:30 UTC by Lon Hohberger
Modified: 2016-04-27 03:56 UTC (History)
10 users (show)

Fixed In Version: python-django-horizon-2013.1.1-1.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of: 891302
Environment:
Last Closed: 2013-05-29 15:06:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1070899 0 None None None Never
Red Hat Product Errata RHBA-2013:0878 0 normal SHIPPED_LIVE Red Hat OpenStack 3.0 ("Grizzly") Preview bug fix and enhancement update 2013-05-29 19:01:24 UTC

Description Lon Hohberger 2013-03-25 15:30:23 UTC
+++ This bug was initially created as a clone of Bug #891302 +++

Description of problem:
Horizon doesn't display proper error when Quantum quote exceeded 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.configure quantum to use quotes
( http://docs.openstack.org/folsom/openstack-network/admin/content/cfg_quotas_common.html )

2. configure amount of network to  exceeded  quote via horizon 
3. check error output 
  
Actual results:

Error by  horizon : Failed to create 

Expected results:

Error by CLI : "Quota exceeded for resources: ['network'] "

Additional info:

--- Additional comment from Ofer Blaut on 2013-03-20 06:00:51 EDT ---

Issue still occurs in python-django-horizon-2012.2.3-8.el6ost.noarch


creating 10 subnets on the same network :

Error: Failed to create subnet 30.1.7.0/24, nothing about Quota

--- Additional comment from Julie Pichon on 2013-03-20 07:05:50 EDT ---

Thanks for the additional information Ofer. The initial bug report described an issue when creating new networks, which the patch focused on fixing. I agree the error handling should be more consistent though. Fixing this also for subnets can probably be done later in async in a separate bug, or if that's not acceptable I guess we can move this one out. I don't think it's a blocker. (For the record it's fixed in Grizzly.)

--- Additional comment from Lon Hohberger on 2013-03-25 11:22:32 EDT ---

If the original issue is resolved, let's split the additional bug off.

Comment 3 Ofer Blaut 2013-05-28 08:48:02 UTC
tested 

The error is now ok



×

Error: Failed to create subnet "2.2.12.0/24" for network "None": Quota exceeded for resources: ['subnet']

Comment 5 errata-xmlrpc 2013-05-29 15:06:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2013-0878.html


Note You need to log in before you can comment on or make changes to this bug.