Bug 1361308

Summary: [Ansible Tower] Unable to add provider - Add button not clickable
Product: Red Hat CloudForms Management Engine Reporter: John Prause <jprause>
Component: UI - OPSAssignee: Harpreet Kataria <hkataria>
Status: CLOSED ERRATA QA Contact: Pavol Kotvan <pakotvan>
Severity: urgent Docs Contact:
Priority: high    
Version: 5.6.0CC: cpelland, dajohnso, hkataria, jhardy, jkrocil, mpovolny, nansari, obarenbo
Target Milestone: GAKeywords: ZStream
Target Release: 5.6.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:tower:foreman
Fixed In Version: 5.6.1.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1361045 Environment:
Last Closed: 2016-08-18 18:00:27 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1361045    
Bug Blocks:    

Comment 2 CFME Bot 2016-07-28 20:56:11 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/7da0a0c70debaa1a8ff423fae858032b0b3f2be6

commit 7da0a0c70debaa1a8ff423fae858032b0b3f2be6
Author:     Harpreet Kataria <hkataria>
AuthorDate: Thu Jul 28 14:42:17 2016 -0400
Commit:     Harpreet Kataria <hkataria>
CommitDate: Thu Jul 28 15:13:05 2016 -0400

    Populate read only Zone text field when there is only 1 zone in region
    
    Fixed code path that deals with showing zone name as readonly text field when user has only 1 zone in their region, text field was not getting populated and was marked as required field which was causing Add button to remain disabled. Adjusted/fixed failing spec test.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1361045
    https://bugzilla.redhat.com/show_bug.cgi?id=1361308

 .../provider_foreman_form_controller.js            | 28 +++++----
 app/controllers/provider_foreman_controller.rb     |  5 ++
 .../provider_foreman_form_controller_spec.js       | 70 ++++++++++------------
 3 files changed, 52 insertions(+), 51 deletions(-)

Comment 4 Harpreet Kataria 2016-08-03 20:43:30 UTC
Pavol,

I am sending this BZ to POST as originally reported issue in this BZ has already been fixed. Support to enforce validation of credentials before adding a provider has not been added for Tower providers and middleware providers. Please open an RFE to address that in a separate BZ.

Thanks,
~Harpreet

Comment 8 errata-xmlrpc 2016-08-18 18:00:27 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/RHSA-2016-1634.html