Bug 1430405

Summary: Mandatory Hawkular endpoint when adding a new provider
Product: Red Hat CloudForms Management Engine Reporter: Pavel Zagalsky <pzagalsk>
Component: User ExperienceAssignee: Beni Paskin-Cherniavsky <cben>
Status: CLOSED ERRATA QA Contact: Einat Pacifici <epacific>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 5.8.0CC: cben, cpelland, fsimonce, jhenner, simaishi
Target Milestone: GAFlags: epacific: automate_bug+
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: container:ui
Fixed In Version: 5.8.0.7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-31 14:41:18 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Container Management Target Upstream Version:
Embargoed:
Attachments:
Description Flags
HawkularMandatory none

Description Pavel Zagalsky 2017-03-08 14:35:24 UTC
Description of problem:
When attempting to add a new container provider the system requires a functional Hawkular endpoint which shouldn't be a necessity

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


How reproducible:
Always

Steps to Reproduce:
1. Go to Compute -->Containers --> Providers
2. Configurations --> Add an Existing Provider
3. Fill in all the required parameters: Name, Type, Hostname, Token, Port, Security Protocol = SSL Without Validation
4. Press Validate to validate the inserted parameters
5. Try to press Add

Actual results:
Add button is grayed out. System is expecting additional parameters in Hawkular tab

Expected results:
The system shouldn't require Hawkular parameters to add a new Provider

Additional info:

Comment 2 Pavel Zagalsky 2017-03-08 14:39:17 UTC
Created attachment 1261310 [details]
HawkularMandatory

Comment 3 Federico Simoncelli 2017-03-08 16:12:37 UTC
Beni, IIRC you were working on a fix for this, right? Any reference? (PR, etc.).

Comment 4 Beni Paskin-Cherniavsky 2017-03-13 11:35:03 UTC
Yes, I'm working on this.  No PR yet.  Working on container-edit-fix branch:
https://github.com/ManageIQ/manageiq-ui-classic/compare/master...cben:container-edit-fix
(plus extra logging/hacks on container-edit-fix-DEBUG branch)

Focusing on this full time as Pavel informed this is a serious blocker for QE (test automation relies on provider creation UI).

Comment 5 Beni Paskin-Cherniavsky 2017-03-14 13:32:11 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/670

Comment 7 Beni Paskin-Cherniavsky 2017-03-20 09:23:48 UTC
POST, https://github.com/ManageIQ/manageiq-ui-classic/pull/670 fixed add/editing without Hawkular.

There is another problem *with* hawkular — its [Validate] button is always disabled — opening other BZ for that.

Comment 8 Beni Paskin-Cherniavsky 2017-03-20 17:19:16 UTC
The other issue with [Validate] button: bug 1434064

Comment 9 Pavel Zagalsky 2017-03-22 08:06:03 UTC
Vefified on 5.8.0.7

Comment 11 errata-xmlrpc 2017-05-31 14:41:18 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-2017:1367