Bug 1198564 - Unable to create new projects if the admin project consumes more resources than the new projects quotas allow.
Summary: Unable to create new projects if the admin project consumes more resources th...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 6.0 (Juno)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: z3
: 6.0 (Juno)
Assignee: Matthias Runge
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-04 11:52 UTC by Lee Yarwood
Modified: 2023-02-22 23:02 UTC (History)
7 users (show)

Fixed In Version: python-django-horizon-2014.2.2-3.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-05 13:09:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1380701 0 None None None Never
OpenStack gerrit 161182 0 None None None Never
Red Hat Product Errata RHBA-2015:0933 0 normal SHIPPED_LIVE python-django-horizon bug fix advisory 2015-05-05 17:09:16 UTC

Description Lee Yarwood 2015-03-04 11:52:12 UTC
Description of problem:
Unable to create new projects if the admin project consumes more resources than the new projects quotas allow.

Version-Release number of selected component (if applicable):
python-django-horizon-2014.2.1-5.el7ost.noarch

How reproducible:
Always.

Steps to Reproduce:
1. Create 3 instances in the admin project.
2. Attempt to create a new project with a quota of 2 instances.

Actual results:
Fails with the following error :
'Quota value(s) cannot be less than the current usage value(s): 3 Instances used.'

Expected results:
Succeeds as the quota is for a separate project.

Additional info:

This has already been resolved upstream for Kilo :

create project validates quota usage against the current project Edit
https://bugs.launchpad.net/horizon/+bug/1380701

Pass correct project ID to get tenant_usages
https://review.openstack.org/#/c/129037/

I've proposed a stable/juno backport below
https://review.openstack.org/#/c/161182/

Comment 8 Ido Ovadia 2015-04-21 09:22:33 UTC
Verified
========
python-django-horizon-2014.2.3-2.el7ost.noarch

Comment 10 errata-xmlrpc 2015-05-05 13:09:43 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.

https://rhn.redhat.com/errata/RHBA-2015-0933.html


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