Bug 1469966

Summary: Web Console button does not react according Cockpit availability
Product: Red Hat CloudForms Management Engine Reporter: Jiri Stefanisin <jistefan>
Component: UI - OPSAssignee: Brian McLaughlin <bmclaugh>
Status: CLOSED DUPLICATE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: gblomqui, hkataria, jfrey, jhardy, mpovolny, nansari, obarenbo, simaishi, vparekh
Target Milestone: GAKeywords: Reopened
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-16 13:02:34 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:

Description Jiri Stefanisin 2017-07-12 07:40:39 UTC
Description of problem:
Even if VM does not have Cockpit running, it is possible to select Web Console option which leads to popup window with ERR_ADDRESS_UNREACHABLE.

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


How reproducible:
100%

Steps to Reproduce:
1.Try to access Web Console on any VM without Cockpit
2.
3.

Actual results:


Expected results:
Button should be disabled or not shown at all if Cockpit site is unreachable.

Additional info:

Comment 3 Brian McLaughlin 2017-11-07 18:57:06 UTC
https://github.com/ManageIQ/manageiq-ui-classic/pull/2285

Comment 4 Satoe Imaishi 2017-11-14 01:20:45 UTC

*** This bug has been marked as a duplicate of bug 1497684 ***

Comment 5 Vatsal Parekh 2017-11-15 09:47:40 UTC
(In reply to Satoe Imaishi from comment #4)
> 
> *** This bug has been marked as a duplicate of bug 1497684 ***

Hey,
The [BZ](https://bugzilla.redhat.com/show_bug.cgi?id=1497684) you marked duplicate of is different. This BZ is about if cockpit is running on the VM or not, and the marked duplicate BZ is about server role of cockpit.

Comment 6 Brian McLaughlin 2017-11-15 19:56:13 UTC
Vatsal, we cannot detect if Cockpit is running on a given VM.  The resolution of this BZ is being handled by checking if the Cockpit role is enabled by the administrator signaling the availability of Cockpit on VMs.  The Web Console button will be reacting to the Cockpit console's availability in this way.

Comment 7 Vatsal Parekh 2017-11-16 05:57:36 UTC
Brain, this BZ should be closed then, the Server Role BZ is different from description of this one.

Comment 8 Brian McLaughlin 2017-11-16 13:02:34 UTC
I'm closing this as a duplicate as Satoe did previously, for the sole reason that while the title/description of the BZs do not match, the intent and end result of the BZs do.

*** This bug has been marked as a duplicate of bug 1497684 ***