Bug 1511682

Summary: Quota error when adding a group to a Project using Horizon
Product: Red Hat OpenStack Reporter: David Peacock <dpeacock>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Beth White <beth.white>
Severity: high Docs Contact:
Priority: high    
Version: 9.0 (Mitaka)CC: athomas, beth.white, jschluet, mmethot, mrunge, srevivo
Target Milestone: betaKeywords: Triaged
Target Release: 13.0 (Queens)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-django-horizon-13.0.1-0.20180323102048.4dd4ef0.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-27 13:39:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Horizon error screenshot none

Description David Peacock 2017-11-09 20:50:03 UTC
Created attachment 1350110 [details]
Horizon error screenshot

Description of problem:

Using Horizon, customer encounters the following quota error.  However, doing the same thing through the CLI succeeds.

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

RHOSP9

How reproducible:

100%

Actual results:

Project is not adding, with erroneous quota error as attached in screenshot.

Expected results:

Project is added successfully.

Additional info:

As stated, there is no problem through CLI, so this looks like Horizon only.

Comment 1 Beth White 2017-12-11 14:40:18 UTC
Based on the logs, is the cause of this the same as https://bugzilla.redhat.com/show_bug.cgi?id=1522705 ? If so we will fix it there and close as duplicate, if not, please provide the CLI logs so that we can compare what quotas are being shown.

Comment 4 Marc Methot 2017-12-11 19:42:54 UTC
@Beth

The error msg is indeed the same (differs only in values), however it's hit when adding a group to a project not simply altering the quota as in the other bug.
Not sure I would put it all in the same pile.

As to which cli logs do you require? Something like bellow?
~~~
source admin.rc
openstack role add --debug --group $g_uuid --project $p_uuid user
~~~
* I have requested this from the cu in pre-emption.

Also note that the CLI commands does succeed.


Cheers,
-Marc

Comment 5 Radomir Dopieralski 2017-12-13 09:42:30 UTC
It would be interesting to see the quotas for the project being modified and for the user's default project — as displayed by the CLI and as displayed by Horizon.

Comment 6 Radomir Dopieralski 2017-12-19 11:14:42 UTC
After looking at the code, I can only find one place where this error message is used, and it is now fixed in Queens by https://review.openstack.org/510188

Comment 11 Beth White 2018-06-20 08:43:08 UTC
This is now fixed by the linked review and I can confirm this error is fixed.

Comment 13 errata-xmlrpc 2018-06-27 13:39:00 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://access.redhat.com/errata/RHEA-2018:2086