Bug 1447100 - Access Web Console Cockpit not compatible with Windows VMs
Summary: Access Web Console Cockpit not compatible with Windows VMs
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.8.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: GA
: 5.9.0
Assignee: Brian McLaughlin
QA Contact: Niyaz Akhtar Ansari
URL:
Whiteboard: ui:access:windows
Depends On:
Blocks: 1460807 1462146
TreeView+ depends on / blocked
 
Reported: 2017-05-01 17:51 UTC by Jeff Teehan
Modified: 2018-03-06 14:35 UTC (History)
11 users (show)

Fixed In Version: 5.9.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1460807 (view as bug list)
Environment:
Last Closed: 2018-03-06 14:35:26 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jeff Teehan 2017-05-01 17:51:18 UTC
Description of problem:
5.8 has the Access\Web Console button enabled for windows vms but I don't think cockpit works on windows. Should we add a bug to disable it for Windows VM or is that something that is forthcoming.

Assign per instructions:
Brian McLaughlin @bmclaughlin 10:40
@jteehan, it looks like you're right regarding Cockpit and Windows. Feel free to open that bug and assign it to me.

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

How reproducible:
Select a running Windows VM with an IP address.  Click Access\Web Console

Steps to Reproduce:
1.  Select a running Windows VM with an IP address
2.  Click Access\Web Console
3.

Actual results:
Browser opens to about:blank and just spins until timeout.

Expected results:


Additional info:
Probably just want to disable it.  Opposite of what we do with Collect Running process logic

Comment 2 Jeff Teehan 2017-05-01 18:04:48 UTC
Added Polarion test case.

Comment 4 CFME Bot 2017-06-07 14:24:02 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/58666d40c6e57c57e393de8e77c6fe56e8cbdbfd

commit 58666d40c6e57c57e393de8e77c6fe56e8cbdbfd
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Thu May 4 14:22:34 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Jun 6 15:51:44 2017 -0400

    Disable Web Console button when platform is Windows
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1447100

 app/helpers/application_helper/button/cockpit_console.rb | 5 +++++
 1 file changed, 5 insertions(+)

Comment 5 CFME Bot 2017-06-07 14:24:08 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/3222af276705bd7d89a4e4edc3441f6271027859

commit 3222af276705bd7d89a4e4edc3441f6271027859
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue May 9 10:53:38 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Jun 6 15:51:44 2017 -0400

    Fix broken spec
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1447100

 app/helpers/application_helper/button/cockpit_console.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 6 CFME Bot 2017-06-07 14:24:14 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/b31810b495c345b153964ddba8022b812582c167

commit b31810b495c345b153964ddba8022b812582c167
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Tue Jun 6 22:35:13 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Jun 6 22:35:13 2017 -0400

    Refactoring based on feedback
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1447100

 app/helpers/application_helper/button/cockpit_console.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comment 9 Peter 2017-08-07 17:36:31 UTC
This fix causes too many machines to be treated as windows machines. see https://github.com/ManageIQ/manageiq-ui-classic/pull/1282#issuecomment-320729293

Comment 11 CFME Bot 2017-08-30 18:09:43 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/43a3ca4a7785240d16364daa9f2d5a4730b6a091

commit 43a3ca4a7785240d16364daa9f2d5a4730b6a091
Author:     Brian McLaughlin <bmclaugh>
AuthorDate: Thu Aug 24 09:59:16 2017 -0400
Commit:     Brian McLaughlin <bmclaugh>
CommitDate: Tue Aug 29 15:23:48 2017 -0400

    Fix logic error when displaying Cockpit button
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1447100

 app/helpers/application_helper/button/cockpit_console.rb | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Comment 12 Vatsal Parekh 2017-10-23 08:54:33 UTC
Able to verify this on Version 5.9.0.2.20171010190026_0413a06


Note You need to log in before you can comment on or make changes to this bug.