Bug 1561180

Summary: upstream : Unable to add openshift provider with metrics ON as metrics validation never enables.
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: high Docs Contact:
Priority: high    
Version: 5.9.0CC: cpelland, hkataria, lavenel, mpovolny, obarenbo, simaishi, sshveta
Target Milestone: GA   
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-07 23:01:30 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
Validation disabled none

Description Shveta 2018-03-27 20:27:24 UTC
Created attachment 1413892 [details]
Validation disabled

Description of problem: When trying to add a container provider on upstream build , The 'Validate' button never enables , hence not able to add provider with metrics ON.

Version-Release number of selected component (if applicable):
master.20180323234811_4d6b447

How reproducible:


Steps to Reproduce:
1. Add a openshift provider --> Compute - Containers- Providers -- add a new provider .
2. Fill the default tab and enable metrics and alerts .
3. In the metrics tab , fill data , Validate button never enables , so Save provider button at the bottom remains disabled .
See attached screenshot.
Actual results:


Expected results:


Additional info:
Appliance : https://10.8.197.162

Comment 4 Harpreet Kataria 2018-03-28 21:02:02 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/3698

Comment 5 CFME Bot 2018-03-28 22:27:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/9a8f70020aacf0b2395db65005a02361503e1f2a
commit 9a8f70020aacf0b2395db65005a02361503e1f2a
Author:     Harpreet Kataria <hkataria>
AuthorDate: Wed Mar 28 16:52:17 2018 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Wed Mar 28 16:52:17 2018 -0400

    Fixed id of currentTab

    "metrics" tab id was renamed to container_metircs in https://github.com/ManageIQ/manageiq-ui-classic/pull/3511, this inconsistency was causing Validate button to remain disabled on openshift provider add/edit screen on Metrics tab.

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1561180

 app/assets/javascripts/controllers/ems_common/ems_common_form_controller.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comment 6 Shveta 2018-10-12 20:46:53 UTC
Fixed in 5.10.0.19.20181009184346_1c8bf5d

Comment 7 errata-xmlrpc 2019-02-07 23:01:30 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/RHSA-2019:0212