Bug 1396954

Summary: HE deployment on RHV-H 4.0 using cockpit-portal remote-viewer console command missing
Product: Red Hat Enterprise Virtualization Manager Reporter: Sarvesh Pandit <sapandit>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED NOTABUG QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: fdeutsch, gklein, lsurette, sbonazzo, stirabos, ykaul, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-06 14:03:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
cockpit_remote-viewer-command missing none

Description Sarvesh Pandit 2016-11-21 09:37:06 UTC
Created attachment 1222345 [details]
cockpit_remote-viewer-command missing

Description of problem:
During Self-hosted engine deployment, HE script will provide vnc console link to access HE-VM which is missing.   

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

How reproducible:
100%

Steps to Reproduce:
1. Install HE using cockpit interface

Actual results:
Script does not prompt the VNC console access link along with temporary password.

Expected results:
Script should prompt the VNC console access link along with temporary password.

e.g.
https://access.redhat.com/documentation/en/red-hat-virtualization/4.0/paged/self-hosted-engine-guide/chapter-2-deploying-self-hosted-engine
===============
You can now connect to the VM with the following command:
	/usr/bin/remote-viewer vnc://localhost:5900
Use temporary password "3042QHpX" to connect to vnc console.
===============

Additional info:
Please find attached screen-shot

Comment 1 Simone Tiraboschi 2016-12-06 14:03:19 UTC
Yes, the dependency on remote viewer as been removed as for https://bugzilla.redhat.com/1333449
Now you can just use 'hosted-engine --console' to locally access the engine VM over a serial (text only) console.
You could also still use remote-viewer from other hosts for a graphical console as for the provided instructions:

 [ INFO  ] Creating VM
           You can now connect to the VM with the following command:
                 hosted-engine --console
           You can also graphically connect to the VM from your system with the following command:
                 hosted-engine --console vnc://c72he20161206h1.localdomain:5900
           Use temporary password "8498sPvY" to connect to vnc console.
           Please ensure that your Guest OS is properly configured to support serial console according to your distro documentation.
           Follow http://www.ovirt.org/Serial_Console_Setup#I_need_to_access_the_console_the_old_way for more info.
           If you need to reboot the VM you will need to start it manually using the command:
           hosted-engine --vm-start
           You can then set a temporary password using the command:
           hosted-engine --add-console-password
 [ INFO  ] Running engine-setup on the appliance