Bug 1313295 - [RFE] noVNC: Include VM name in the web page title instead of "noVNC" title.
Summary: [RFE] noVNC: Include VM name in the web page title instead of "noVNC" title.
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: RFEs
Version: 3.6.3
Hardware: Unspecified
OS: Unspecified
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Sharon Gratch
QA Contact: Shira Maximov
Whiteboard: virt
Depends On:
TreeView+ depends on / blocked
Reported: 2016-03-01 10:58 UTC by Nisim Simsolo
Modified: 2016-08-16 02:01 UTC (History)
9 users (show)

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.
Clone Of:
Last Closed: 2016-08-01 12:27:23 UTC
oVirt Team: Virt
rule-engine: ovirt-4.0.0+
mgoldboi: planning_ack+
rule-engine: devel_ack+
mavital: testing_ack+

Attachments (Terms of Use)
screenshot example (819.53 KB, image/png)
2016-03-01 10:59 UTC, Nisim Simsolo
no flags Details

System ID Private Priority Status Summary Last Updated
oVirt gerrit 56878 0 master MERGED Frontend: add VM name to console title of noVNC,SPICE HTML5 2016-05-02 09:35:12 UTC

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):

How reproducible:

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.

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-config -s WebSocketProxy=Engine:6100
engine-config -s ClientModeVncDefault=NoVnc
service ovirt-engine restart
engine-setup --otopi-environment="OVESETUP_CONFIG/websocketProxyConfig=bool:True"

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

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"

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