Bug 1550612

Summary: Enhance credential missing msg/behavior for VMRC console access
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: BuildAssignee: Satoe Imaishi <simaishi>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Kulkarni <kkulkarn>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, kkulkarn, obarenbo, pveiga
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.10.0Flags: kkulkarn: automate_bug-
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:
: 1553464 1553465 (view as bug list) Environment:
Last Closed: 2019-02-11 14:04:37 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:
Bug Depends On:    
Bug Blocks: 1553464, 1553465    

Description Satoe Imaishi 2018-03-01 15:45:36 UTC
Tracking 2 changes related to trying to access VMRC console without credentials. Those changes got missed in the latest 5.8/5.9 release (https://bugzilla.redhat.com/show_bug.cgi?id=1539431#c11):

* ui-classic - update the notice on the provider edit screen to say:
"If not set, the VMRC console access will be disabled for this provider."

* providers-vmware - If there are no console credentials then report that remote console is unsupported.

Comment 2 Satoe Imaishi 2018-03-08 22:38:45 UTC
The needed changes are now cherry-picked to upstream manageiq-ui-classic/manageiq-providers-vmware repos.

manageiq-ui-classic:

commit 0b11ca455aca9806cb772d464bba3cb6e99289db
Author: Jason Frey <jfrey>
Date:   Thu Jan 18 15:42:31 2018 -0500

    Merge branch 'fine-vmrc-warning' into '5.8.z'
    
    Add a warning for VMRC credentials when adding/editing a provider
    
    See merge request !5
    
    (cherry picked from commit 742d595a4cb18445e646feb06df30bcf04484835)


manageiq-providers-vmware:

commit 3dd8cdf9289600b1676bf5ae3bfecd287ae25670
Author: Jason Frey <jfrey>
Date:   Thu Jan 18 15:42:25 2018 -0500

    Merge branch 'bz_1507165_disallow_console_if_no_console_credentials_are_defined' into '5.8.z'
    
    Return console unsupported if no console creds
    
    See merge request !1
    (cherry picked from commit 45b1161ebb893aad64a662a517e9e4e24dbd90cc)

Comment 5 Kedar Kulkarni 2018-07-02 15:31:44 UTC
On Build 5.10.0.2.20180626170006_40dc459 I saw that VMRC Console credential warning was correct as mentioned in Comment 1. Also VMRC Console was disabled for the provider when credentials were not present.