Bug 1638390

Summary: Not user-friendly message is appears during creating cloud router if quota exceeded for resources
Product: Red Hat CloudForms Management Engine Reporter: Danylo Kholodov <dkholodo>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: low Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: low    
Version: 5.9.5CC: dmetzger, hkataria, jdupuy, lavenel, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GA   
Target Release: 5.11.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-12 13:34:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Attachments:
Description Flags
network_router
none
production.log
none
evm.log none

Description Danylo Kholodov 2018-10-11 12:53:27 UTC
Created attachment 1492918 [details]
network_router

Description of problem:
Not user-friendly message is appears during creating cloud router if quota exceeded for resources

Version-Release number of selected component (if applicable):
CFME 5.9.5 + OSP 14

How reproducible:
Always

Pre-conditions:
Cloud provider is added to the CFME.
10 Network routers should be already created.

Steps to Reproduce:
1. Login To the CFME
2. Navigate to Networks -> Network routers
3. Configuration -> Add new router
4. Fill all required fields
5. Click Add

Actual results:
"Unable to create Network Router "new_router": {"NeutronError": {"message": "Quota exceeded for resources: ['router'].", "type": "OverQuota", "detail": ""}}"

Expected results:
Some more readable message. For example:
"Unable to create Network Router "new_router". Quota exceeded for resources: maximum number of Network Routers is 10."

Comment 2 Danylo Kholodov 2018-10-11 12:54:37 UTC
Created attachment 1492919 [details]
production.log

Comment 3 Danylo Kholodov 2018-10-11 12:55:05 UTC
Created attachment 1492920 [details]
evm.log

Comment 7 Ido Ovadia 2019-08-20 13:17:42 UTC
Verified
========
5.11.0.19

Comment 9 errata-xmlrpc 2019-12-12 13:34:23 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-2019:4199