Bug 1667517 - [RFE] add VM Portal setting for set screen mode
Summary: [RFE] add VM Portal setting for set screen mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-web-ui
Version: 2.1.0
Hardware: x86_64
OS: Linux
unspecified
low
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Sharon Gratch
QA Contact: Ivana Saranova
URL:
Whiteboard:
Depends On: 1171924
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-18 16:55 UTC by Olimp Bockowski
Modified: 2023-09-15 01:28 UTC (History)
4 users (show)

Fixed In Version: ovirt-web-ui-1.8.0-1
Doc Type: Enhancement
Doc Text:
With this release, new console options, including set screen mode have been added to the VM Portal UI. The following console options can now be set in the VM Portal (under Account Settings > Console options): - default console type to use (Spice, VNC, noVNC, RDP for Windows), - full screen mode (on/off) per console type, - smartcard enabled/disabled - Ctrl+Alt+Del mapping - SSH key These console options settings are now persistent on the engine server, so deleting cookies and website data won't reset those settings. Limitations for these settings: 1. Console settings via VM Portal are global for all VMs and cannot be set per VM (as opposed to the Administration Portal, where console options are set per VM). 2. There is no sync between Administration Portal console options and VM Portal console options - The console options configuration done by Create/Edit VM/Pool dialog (supported console types and smartcard enabled) are synced, but the 'console options' run time settings done for running VMs via Console -> Console options are not synced with Administration Portal. 3. Console settings are part of Account settings and therefore are set per user. Each user logged in to the VM Portal can have their own console settings, defaults are taken from the vdc_options config parameters.
Clone Of:
Environment:
Last Closed: 2022-05-26 16:22:26 UTC
oVirt Team: UX
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github oVirt ovirt-web-ui pull 1446 0 None Merged Console options 2021-11-25 19:30:26 UTC
Github oVirt ovirt-web-ui pull 1509 0 None Merged Support full screen mode for noVnc console in User settings 2021-11-25 19:30:26 UTC
Red Hat Issue Tracker RHV-36953 0 None None None 2021-11-25 19:27:48 UTC
Red Hat Product Errata RHSA-2022:4711 0 None None None 2022-05-26 16:22:59 UTC

Description Olimp Bockowski 2019-01-18 16:55:10 UTC
It should be possible to set screen mode in Admin portal to be reflected in VM Portal

It could be an option of the VM-, templates- and Pool-configuration in the category "console", for example 

full screen in VM portal
with the optionen
- Browser-Client-setup (default)
- full screen 
- windows

This would be a relief for some users and for us administrators, users who would be difficult to deal with the system then rarely contact RHV admibnistrator.

Additional notes:

We can setup the Full screen mode as following from the Manager
--------------------------
engine-config -s FullScreenWebadminDefault=true
systemctl restart ovirt-engine
--------------------------


It is possible to set set the full screen mode in the admin portal under console options, this setting works for this VM only in the admin portal and not in the VM portal.
It is possible to set set the full screen mode in the VM Portal, this setting works for this VM only in the VM portal.
The full screen mode of a VM is unfortunately stored in the browser data. If I use a different browser and delete the website data or open the console from another client, the console reappears in the window. 

This is reproducible:
1.) freshly installed Firefox
2.) Console opens in the window
3.) VM properties / Console / full screen mode "ON"
4.) Console opens in full screen mode
5.) Cookies and website data deleted
6.) Firefox closed and reopened and logged in to the VM Portal
7.) Console opens in the window! :-(

It is needed to specify that the console of a given VM always opens in full screen mode, no matter on which client it's opened.

Comment 1 Michal Skrivanek 2019-01-19 06:13:55 UTC
Why is it a practical problem? Do you clear website data between each login?

Comment 2 Olimp Bockowski 2019-01-24 07:44:30 UTC
The main reason: "The Thin Clients are read only systems, booted via network, the Browser data are deleted after a reboot"

Comment 4 Michal Skrivanek 2019-01-24 07:55:05 UTC
problem is we don't really have server side user data (except for the ssh key for serial console). We do have access to vdc_options from VM Portal so reusing FullScreenWebadminDefault or a new global param would be fairly easy to do. Would that be helpful?

Comment 6 Olimp Bockowski 2019-01-28 07:50:09 UTC
(In reply to Michal Skrivanek from comment #4)
> problem is we don't really have server side user data (except for the ssh
> key for serial console). We do have access to vdc_options from VM Portal so
> reusing FullScreenWebadminDefault or a new global param would be fairly easy
> to do. Would that be helpful?

The customer says it is ok and it is how he understands dependencies:

'I think that FullScreen mode depends on a particular VM, the same as for example in "vm_static" table, where the number of monitors is defined in "num_of_monitors". This means that no user data is required. Association with the users then is carried out by assigning "UserRole" to them. That would override a global parameter.'

Comment 14 Ivana Saranova 2022-04-21 12:46:35 UTC
Steps
1) login to VM Portal
2) have default account settings for the user
3) open console of a running VM (should be in window mode)
4) close console, go to account settings and switch VNC/Spice console to full screen mode
5) save changes and open the console of a running VM again (should be in full screen mode)
6) clear cookies and website data, restart browser, login to the VM portal as the same user again
7) open the console of a running VM again (should be in full screen mode)

8) try the same thing for other console settings (full screen modes, ctrl alt del, default console, smartcard, connect automatically)

Results:
Account setting changes are server persistent and do not change on browser change, cookies/website data removal, etc.

Verified in:
ovirt-engine-4.5.0.2-0.7.el8ev.noarch
ovirt-web-ui-1.8.1-2.el8ev.noarch

Comment 19 errata-xmlrpc 2022-05-26 16:22:26 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.0] security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:4711

Comment 20 Red Hat Bugzilla 2023-09-15 01:28:05 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days


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