Bug 1269452 - SpiceX.cab not offered for installation from IE
SpiceX.cab not offered for installation from IE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
Unspecified Unspecified
high Severity high
: ovirt-3.6.2
: 3.6.0
Assigned To: jniederm
Petr Matyáš
: Regression, TestBlocker
: 1295874 (view as bug list)
Depends On: 1291642
  Show dependency treegraph
Reported: 2015-10-07 07:51 EDT by Tomas Jamrisko
Modified: 2018-03-19 09:44 EDT (History)
14 users (show)

See Also:
Fixed In Version:
Doc Type: Known Issue
Doc Text:
If the SPICE ActiveX plug-in fails, make sure you have installed the Microsoft update at https://technet.microsoft.com/library/security/MS15-065. See https://support.microsoft.com/en-us/kb/3072449 for more information.
Story Points: ---
Clone Of:
Last Closed: 2016-04-19 21:10:12 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fails screenshot (37.02 KB, image/png)
2016-01-05 11:54 EST, Andrei Stepanov
no flags Details
ie (93.14 KB, image/png)
2016-01-07 05:00 EST, jniederm
no flags Details
install prompt popup (14.46 KB, image/png)
2016-01-15 10:14 EST, Petr Matyáš
no flags Details

External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 47298 master MERGED webadmin: Fix of SpiceX.cab not offered in IE Never
oVirt gerrit 47299 ovirt-engine-3.6 MERGED webadmin: Fix of SpiceX.cab not offered in IE Never

  None (edit)
Description Tomas Jamrisko 2015-10-07 07:51:34 EDT
Description of problem:

SpiceX.cab is not offered for installation when attempting to connect through "Browser Plugin" to a VM

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

How reproducible:
100 %

Steps to Reproduce:
1. Get a fresh install of win 7
2. Attempt to connect to a VM using "Browser plugin" using IE (either 8 or 11, neither works)

Actual results:
Nothing happens

Expected results:
User should be offered to download and install SpiceX.cab.

Additional info:
3.5 worked without any additional configuration, so this appears to be a regression
Comment 1 Michal Skrivanek 2015-10-09 03:08:21 EDT
no oVirt blocker as .cab delivery is not integrated there
Comment 2 Andrei Stepanov 2015-10-09 03:27:28 EDT
Michal, could you please comment next moment:

1. Go to admin portal
2. Select VM
3. "Console options" dialog has selected "Browser plugin".
4. Press "Console" button

Nothing happens.

"Console Client Resources" page doesn't point to any additional plugins for IE.

How do we get working IE for this particular case?
Comment 3 Michal Skrivanek 2015-10-09 05:13:52 EDT
you should be able to get it to install manually via https://ENGINE/ovirt-engine/services/files/spice/SpiceX_x64.cab
Comment 4 Andrei Stepanov 2015-10-09 05:46:59 EDT

* How do I install this file ? I can download it. What next?

SpiceX_x64.cab is .cab file.

PkgMgr.exe utility does not recognize this file.

It cannot be copied somewhere to system. It should be installed be IE as a plugin.

RHEV3.5 has a feature to install this file as a plugin for IE.
RHEV3.5 asks to install this file as add-on to Internet Explorer.

RHEV3.6 does not provide this.

The bug is still TestBlocker.
Comment 5 Michal Skrivanek 2015-10-09 06:28:06 EDT
something like "pkgmgr /ip /m:SpiceX_x64.cab" doesn't work? what is it complaining about?

yes, sure, it's supposed to be installed within IE, but this should work as well.
You can also just get the .msi files from the same location(virt-viewer-x64.msi, usbdk-x64.msi, usbclerk-x64.msi) and install those
Comment 6 Andrei Stepanov 2015-10-09 06:55:43 EDT
pkgmgr.exe refuses to install this .cab file

I have installed all this .msi files.
They are listed at "Console Client Resources".

Nevertheless, ActiveX \ Browser plugin doesn't work.

.msi files do not provide this plugin.

This bug remains as a TestBlocker
Comment 9 Petr Matyáš 2015-12-17 06:35:08 EST
Browser plugin installation prompt shows up, but if I click on the Install button on the bottom, page only refreshes. However sometimes different installation prompt shows up (not in browser but system prompt), but that also never actually runs.

Tested on 3.6.1-5
Windows 7 x64 SP1
Comment 10 Eyal Edri 2015-12-17 08:58:07 EST
RHEV 3.6.0 BETA2 is out, any open bugs are moved to the BETA3 milestone.
Comment 11 jniederm 2016-01-05 11:09:01 EST
There is a new problem in 3.6.2 builds (git tag rhev-3.6.2-1):

spiceX.cab file is not offered to users, because link /usr/share/ovirt-engine/files/spice -> /usr/share/spice is missing in `rhevm-backend` package, because line 

     ln -s /usr/share/spice "%{buildroot}%{engine_data}/files/spice"

was removed from `ovirt-engine.spec.in`.
Comment 12 Andrei Stepanov 2016-01-05 11:54 EST
Created attachment 1111912 [details]
Fails screenshot

I have created symlink. 
ln -s /usr/share/spice /usr/share/ovirt-engine/files/spice
But, SpiceX.cab installation fails.
See screenshot.

rpm -qf /usr/share/spice/SpiceX.cab 
Comment 14 jniederm 2016-01-07 05:00 EST
Created attachment 1112404 [details]
Comment 15 jniederm 2016-01-07 05:05:34 EST
Hi Andrei,

the screenshot (attachment 1111912 [details]) shows that SpiceX.cab file is available to the browser so  the installation should be similar to 3.6.1. It works for me with version and following steps to allow activeX installation in IE:

1. Sign into webadmin in IE
2. Click 'Gear' icon button > Internet Options
3. Go to 'Security' tab > 'Trusted sites'
4. Add webadmin site to trusted sites using 'Sites' button
5. Reset security level of 'Trusted sites' zone to 'Low' using 'Custom level...' button

Tested on:
Win 7 SP1 32b
IE 10
Comment 16 Andrei Stepanov 2016-01-07 05:30:43 EST
jniederm thanks. It helps, and it works! The above steps should be added to RHEV documentation.

Problem with symlink still exists. It should be fixed.
Comment 18 Andrei Stepanov 2016-01-11 08:58:25 EST
Installation of ActiveX controls may fail in Internet Explorer in Windows 7/8/8.1



To find the download links for this update:

Debug info: installation fails with (temporary internet files error log starting ?CodeDownloadErrorLog):

*** Code Download Log entry (11 Jan 2016 @ 14:15:54) ***
Code Download Error: (hr = 800c0400) Unknown Error!!
Operation failed. Detailed Information:
     CodeBase: https://rhevm36.spice.brq.redhat.com/ovirt-engine/services/files/spice/SpiceX.cab
     CLSID: {ACD6D89C-938D-49B4-8E81-DDBD13F4B48A}

LOG: Reporting Code Download Completion: (hr:800c0400 (FAILED), CLASSID: acd6d89c..., szCODE:(https://rhevm36.spice.brq.redhat.com/ovirt-engine/services/files/spice/SpiceX.cab), MainType:(null), MainExt:(null))
--- Detailed Error Log Follows ---
LOG: Download OnStopBinding called (hrStatus = 0 / hrResponseHdr = 0).
LOG: URL Download Complete: hrStatus:0, hrOSB:800c0400, hrResponseHdr:0, URL:(https://rhevm36.spice.brq.redhat.com/ovirt-engine/services/files/spice/SpiceX.cab)
LOG: Reporting Code Download Completion: (hr:800c0400 (FAILED), CLASSID: acd6d89c..., szCODE:(https://rhevm36.spice.brq.redhat.com/ovirt-engine/services/files/spice/SpiceX.cab), MainType:(null), MainExt:(null))

Comment 19 Petr Matyáš 2016-01-15 10:14 EST
Created attachment 1115179 [details]
install prompt popup

There is still no way to install the plugin, clicking the popup displayed on this screenshot/attachment just refreshes the page. Domain is in trusted sites and security level is low.

RHEV 3.6.2-9
Windows 7 x64
IE 11
Comment 20 Andrei Stepanov 2016-01-15 10:33:37 EST
Petr, please confirm:

1. that hot-fixes from Microsoft are installed on your Windows. See comment #18. It is essential to have updated Windows. 

2. also, please confirm that you _can_ install cab file from RHEV 3.5.

p.s. I can confirm that I can install cab file from RHEVM 3.6.  (After creating symlink)
Comment 21 Petr Matyáš 2016-01-18 08:23:13 EST
Sorry for my error, with system fully updated this works correctly.
Comment 22 Tomas Jelinek 2016-02-01 07:43:02 EST
*** Bug 1295874 has been marked as a duplicate of this bug. ***

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