Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1313295

Summary: [RFE] noVNC: Include VM name in the web page title instead of "noVNC" title.
Product: [oVirt] ovirt-engine Reporter: Nisim Simsolo <nsimsolo>
Component: RFEsAssignee: Sharon Gratch <sgratch>
Status: CLOSED CURRENTRELEASE QA Contact: Shira Maximov <mshira>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.6.3CC: bugs, mavital, melewis, mgoldboi, mshira, nsimsolo, sbonazzo, sgratch, tjelinek
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
mgoldboi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Enhancement
Doc Text:
With this update, the virtual machine name is now included in the title of both noVNC and SPICE HTML5 windows. This means that it is now easier to know which virtual machine each console is connected to.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-01 12:27:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot example none

Description Nisim Simsolo 2016-03-01 10:58:59 UTC
Description of problem:
Currently, when using noVNC console option, the console page title is "noVNC".
It would be nice to have VM name in the title instead of noVNC, so the user will get an indication of which browser tab is related to which VM console.

Version-Release number of selected component (if applicable):
rhevm-3.6.3.4-0.1.el6

How reproducible:
consistently

Steps to Reproduce:
1. Browse webadmin and navigate to virtual machines tab -> select VM -> console options: set noVNC on some of the VMs.
2. Open VM console (novnc) for all VMs.
3.

Actual results:
Browser tabs of noVNC consoles are all titled with "noVNC"

Expected results:
Include VM name in web page title instead of "noVNC" title.

Additional info:
See Screenshot attached for example.

Comment 1 Nisim Simsolo 2016-03-01 10:59:32 UTC
Created attachment 1131873 [details]
screenshot example

Comment 2 Sharon Gratch 2016-05-02 09:30:26 UTC
This issue occurs also in case of opening a console to VM using SPICE HTML5 client - the console title of SPICE HTML5 is "Spice Javascript Client" and the VM name isn't displayed.

so this bug fix should add VM name to title for both noVNC client and SPICE HTML5 client.

Comment 3 Sandro Bonazzola 2016-05-19 07:29:31 UTC
This bug is targeted to 4.1.0 but it's in modified and referenced patch in included in 4.0.0 beta1.

Please move back to assigned if the feature is not complete or re-target to 4.0.0 beta1

Comment 4 Shira Maximov 2016-07-26 13:14:39 UTC
verified on: 
Red Hat Virtualization Manager Version: 4.0.2-0.2.rc1.el7ev

verification steps: 
1. configure noVnc 

engine:
engine-config -s WebSocketProxy=Engine:6100
engine-config -s ClientModeVncDefault=NoVnc
service ovirt-engine restart
engine-setup --otopi-environment="OVESETUP_CONFIG/websocketProxyConfig=bool:True"

Webadmin:
navigate to: https://dhcp163-68.scl.lab.tlv.redhat.com/ca.crt and download certificate

local:
install novnc client (not sure about that.. check wiki if needed: http://www.ovirt.org/develop/release-management/features/virt/novnc-console/

2. edit vm console to vnc 
3. VM -> right click -> console options -> choose noVnc 
4. open console - check that the tite change to "<vm_name>- noVnc"