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

Bug 918656

Summary: A 32 bit usbclerk is installed on a 64 bit Windows machine, when 32 bit MSIE is used
Product: Red Hat Enterprise Virtualization Manager Reporter: Bill Sanford <bsanford>
Component: usb-clerk-winAssignee: Uri Lublin <uril>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: high    
Version: 3.2.0CC: acathrow, cfergeau, dblechte, djasa, iheim, italkohe, jkt, marcandre.lureau, michal.skrivanek, mkrcmari, pvine, Rhev-m-bugs, tjamrisk, uril, vipatel
Target Milestone: ---Keywords: Regression, TestBlocker, ZStream
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: spice
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 973655 (view as bug list) Environment:
Last Closed: 2013-08-26 11:49:08 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Spice RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 857432, 973655    
Attachments:
Description Flags
nsis: 32bit installer: install 64bit usbclerk when running on 64bit OS none

Description Bill Sanford 2013-03-06 16:54:48 UTC
Description of problem:
From the virt-viewer menu, File -> USB device selection -> Select USB devices for redirection, selecting the USB you plug in, results in an error message:

USB redirection error: Could not redirect Imation Corp. Device: Could not open USB device: Operation not supported or unimplemented on this platform [-12]

Version-Release number of selected component (if applicable):
RHEV-M 3.2 (sf9) 

How reproducible:
100% 

Steps to Reproduce:
1. See above.
2.
3.
  
Actual results:
Error message as soon as the device is selected.

Expected results:
USB is seen in guest.

Additional info:

Comment 8 Bill Sanford 2013-03-13 16:58:20 UTC
To add to our testing results, Win7 behaves in the same way.

If you have a 64-bit machine, you must install the 64-bit virt-viewer from the 64-bit Internet Explorer.

If you have a 32-bit machine, you must install the 32-bit virt-viewer from the 32-bit Internet Explorer. 

If you have a 64-bit virt-viewer install on Windows 7, you can run the 32 or 64-bit IE to access the virt-viewer. With WinXP, we only support 32-bit and with W2K8R2, we only support 64-bit, so those are arch dependent cases.

You *can* run the 32-bit IE on Windows 7 64-bit only if you have installed the 64-bit virt-viewer.

This should be documented as such if it isn't already.

Comment 9 Bill Sanford 2013-03-13 17:51:23 UTC
Both sections of the User and Power User Portal guides have nothing on the dependency of the architecture of the virt-viewer install.

In the https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/Power_User_Portal_Guide/Red_Hat_Enterprise_Virtualization-3.1-Power_User_Portal_Guide-en-US.pdf

8.2. Using USB Devices on Virtual Machines

https://access.redhat.com/knowledge/docs/en-US/Red_Hat_Enterprise_Virtualization/3.1/pdf/User_Portal_Guide/Red_Hat_Enterprise_Virtualization-3.1-User_Portal_Guide-en-US.pdf

3.2. Using USB Devices on Virtual Machines

Comment 10 Arnon Gilboa 2013-03-21 09:07:19 UTC
Uri, Marc-Andre, It seems like an installer issue. The 32bit service should not be installed on 64bit OS anyway.

Comment 11 Uri Lublin 2013-03-21 09:55:55 UTC
(In reply to comment #10)
> Uri, Marc-Andre, It seems like an installer issue. The 32bit service should
> not be installed on 64bit OS anyway.

I agree there is no point of installing a 32 bit usbclerk on a 64 bit Windows.
We can fail that installation, but a better solution would be to install the 64 bit usbclerk instead.
Alternatively, we can take usbclerk out of virt-viewer installer and let users download and install it separately (admin privileges are required).

Comment 12 Michal Skrivanek 2013-05-02 09:52:32 UTC
*** Bug 857432 has been marked as a duplicate of this bug. ***

Comment 13 Michal Skrivanek 2013-05-02 13:57:00 UTC
Hi Uri, IIUC you are adding both 32bit and 64bit usbclerk to the package so it will work on 64bit Windows with 32bit browsers, correct?

Comment 15 David Jaša 2013-05-16 16:35:31 UTC
Raising priority and severity of this bug, as after update of IE to IE10, the 64b IE can not be easily launched and users are left without native USB redirection.

The only way to install usbclerk seems to be:
1) go to Internet Options --> Advanced, enable Security/"Enable Enhanced Protected Mode*"
2) close all IE windows
3) open a new IE window, go to User Portal, connect to some VM, approve plugin installation, select "Install for all users", hit Console again
4) after the mingw-virt-viewer gets installed, disable Enhanced Protected Mode and close again all IE windows again, start new IE window
5) go to the User Portal, click Console and "Install" the plugin once more

I fear that in environments with Enhanced Protected Mode forced to be turned on, there will be no supported way to install usbclerk at all.

Note: the mingw-virt-viewer crashing with EPM turned on is reported in bug 963835

Comment 16 Uri Lublin 2013-05-23 11:53:45 UTC
Created attachment 752161 [details]
nsis: 32bit installer: install 64bit usbclerk when running on 64bit OS

Comment 21 David Blechter 2013-08-26 11:49:08 UTC
the problem was fixed for the 3.2 z, and in 3.3 usbclerk is not part of the cab/
close the bug.