Description of problem: Currently it's not possible to do via API or CLI: - select the console type (Spice vs VNC) in case of VMs with both graphics stacks - select console invocations options (VNC Native or NoVNC? Maps ctrl-alt-del to ctrl-alt-end?) At the moment is only possible to set the default value for newly created VMs via: # engine-config -s ClientModeVncDefault=NoVnc # systemctl restart ovirt-engine but once the VM is provisioned, there's no way to change it. This is a huge stopper for massive deployment Version-Release number of selected component (if applicable): RHV 4.2. An initial improvement would be a command that enforce the default mode on also already provisioned VMs, if directly exposing an API for changing those values could take longer.
Hello, Are there any updates on this Bug?.
Re-targeting to 4.3.1 since it is missing a patch, an acked blocker flag, or both
unlike many other bugs where the "Depends On" is a loose dependency, this one really does depend on that RFE bug 1171924
default behavior can be set engine-wide using CLI: engine-config -s ClientModeVncDefault=NoVnc to prefer novnc instead of remote-viewer and ClientModeConsoleDefault=vnc to prefer vnc over spice in case the VM has both available.
Steps: 1) Change default console for webadmin: ``` engine-config -s ClientModeConsoleDefault=spice ``` or ``` engine-config -s ClientModeConsoleDefault=vnc ``` 2) Check that console is the one from the command if both VNC and Spice consoles are allowed on the VM. 3) Check that console is not the one from the command if it isn't allowed on the VM 4) Check that default console is not changed in VM Portal Results: VM portal default console setting is the same as it was before the command. The default console is successfully changed to the one from the command unless that type isn't allowed, then it's the type that is allowed. Verified in: ovirt-engine-4.5.0.2-0.7.el8ev.noarch
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