Bug 1425581

Summary: Horizon Error: Unable to update default quotas
Product: Red Hat OpenStack Reporter: Yuri Obshansky <yobshans>
Component: python-django-horizonAssignee: Radomir Dopieralski <rdopiera>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: high Docs Contact:
Priority: high    
Version: 10.0 (Newton)CC: aortega, apannu, athomas, beth.white, cchen, mrunge, nlevinki, rdopiera, samccann, srevivo, tachoi
Target Milestone: z4Keywords: Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-10.0.3-9.el7ost Doc Type: No Doc Update
Doc Text:
undefined
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-09-06 17:14:56 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 Update Quotas dialog
none
Horizon 2 messages none

Description Yuri Obshansky 2017-02-21 19:00:08 UTC
Description of problem:
"Error: Unable to update default quotas"
raised when tried update quotas in Horizon.
Dialog "Update Default Quotas" appears with empty fields "Key Pairs"
and "Length of Injected File Path". (see attached screenshot)
Even you type default quotas such as "100" and "255" you will get 2 messages:
1st - successful update and 2nd - error
(see attached screenshot)
Warning raised in horizon.log file 
"2017-02-21 18:32:42,221 1004737 WARNING horizon.exceptions Recoverable error: 'key_pairs'"
CLI works w/o errors.

Version-Release number of selected component (if applicable):
rhos-release-10-p-2017-02-15.1

How reproducible:


Steps to Reproduce:
1. Click on "Update Defaults"
2. Fill correct quotas in fields "Key Pairs" and "Length of Injected File Path".
3. Press "Update Defaults"

Actual results:
You will get 2 messages: success and error 

Expected results:
Only success message.

Additional info:

Comment 1 Yuri Obshansky 2017-02-21 19:01:14 UTC
Created attachment 1256232 [details]
Horizon Update Quotas dialog

Comment 2 Yuri Obshansky 2017-02-21 19:01:52 UTC
Created attachment 1256233 [details]
Horizon 2 messages

Comment 11 Ido Ovadia 2017-09-03 11:55:37 UTC
Verified
========
python-django-horizon-10.0.5-4.el7ost.noarch

Comment 13 errata-xmlrpc 2017-09-06 17:14:56 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/RHBA-2017:2658