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

Bug 1369175

Summary: VM Console options: hide "Enable USB Auto-Share" entry when USB is disabled.
Product: [oVirt] ovirt-engine Reporter: Andrei Stepanov <astepano>
Component: Frontend.UserPortalAssignee: jniederm
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0.2.7CC: bugs, gklein, lsvaty, tjelinek, trichard
Target Milestone: ovirt-4.1.1Flags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
tjelinek: devel_ack+
lsvaty: testing_ack+
Target Release: 4.1.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
The "Enable USB Auto-Share" option in the "Console options" dialog is now only available if "USB Support" is enabled on the virtual machine.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:33:17 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:

Description Andrei Stepanov 2016-08-22 15:14:33 UTC
At VM "Edit" dialog it is possible to turn off USB support.
When USB support is OFF, there is no use to show "Enable USB Auto-Share" option.

ovirt-engine-4.0.2.7-0.1.el7ev.noarch

1. Select a VM
2. Press "Edit"
3. Go to tab: Edit Virtual Machine -> Console
4. Select USB Protocol == Disabled
5. Press OK
6. Shutdown the VM to pick up changes.
7. Start the VM.
8. Go to "Edit Console Options"


Expected results: Entry "Enable USB Auto-Share" should not be shown.

It should be the same: for Admin portal, as well as for Extended/Simplified User portal.

Comment 1 Lucie Leistnerova 2017-02-21 08:35:46 UTC
Enable USB Auto-Share is enabled/disabled according to USB Protocol value in both admin and user portal

verified in ovirt-engine-userportal-4.1.1.2-0.1.el7.noarch