Bug 1871229

Summary: Windows VM template should have a tablet device by default
Product: Container Native Virtualization (CNV) Reporter: Adam Litke <alitke>
Component: SSPAssignee: Karel Šimon <ksimon>
Status: CLOSED DUPLICATE QA Contact: Israel Pinto <ipinto>
Severity: medium Docs Contact:
Priority: high    
Version: 2.4.0CC: cnv-qe-bugs, fdeutsch, rnetser
Target Milestone: ---   
Target Release: 2.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-10 10:50:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Adam Litke 2020-08-21 16:52:09 UTC
Description of problem:
VMs created from the Windows 10 template do not have a tablet device by default.  This makes interacting with the VM via VNC (eg. to set up RDP connectivity) nearly impossible.


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


How reproducible: Always


Steps to Reproduce:
1. Create VM from Windows 10 template
2. Start VM
3. Open VNC
4. Pointer is very difficult to control with mouse

Actual results:
No input device appears in the YAML.


Expected results:
The following should be part of the YAML in the devices section.
          inputs:
            - bus: usb
              name: tablet0
              type: tablet


Additional info:

Comment 1 Ruth Netser 2020-09-03 12:51:09 UTC
@Adam, Windows 10 templates have tablet input device:

$ oc get template -n openshift win2k12r2-desktop-large-v0.11.3 -oyaml |grep -B2 tablet
            inputs:
            - bus: usb
              name: tablet
              type: tablet
$ oc get template -n openshift windows10-desktop-large-v0.11.3 -oyaml |grep -B2 tablet
            inputs:
            - bus: usb
              name: tablet
              type: tablet


Was the VM created from the UI? if so, is it possible that the selected workload was "server" and not "desktop"? 
If so, this is because of bug 1856412 (window10 + server is not a valid option but is available because the old template still exists)
I tried with win10+desktopn and tablet device appears in the yaml (and win10+server, tablet device is missing)
(BTW - tablet device will be added to serve templates as well)

Comment 2 Fabian Deutsch 2020-09-07 09:17:42 UTC
Yes, tablet devices make sense for all windows versions (desktop + server), but not high performance workoads (because USB is paying a performance price), but we also do not have the high performance template for windows.

Comment 3 Adam Litke 2020-09-09 18:43:48 UTC
@Ruth, as long as all versions of Windows (except high performance) will receive the tablet device than I am okay with you resolving this bug as a duplicate of bug 1856412.

Comment 4 Ruth Netser 2020-09-10 10:50:43 UTC
Widnows desktop templates have tablet device.
The addition of tablet device to Widnows server templates - bug 1827705.
Closing this bug as duplicate of bug 1856412.

*** This bug has been marked as a duplicate of bug 1856412 ***