----- Original Message -----
From: "Michal Skrivanek" <[email protected]>
To: "Tomas Jelinek" <[email protected]>
Cc: "Karli Sjöberg" <[email protected]>, "users" <[email protected]>, "David 
Jaša" <[email protected]>, "Itamar Heim" <[email protected]>
Sent: Thursday, November 29, 2012 6:17:04 PM
Subject: Re: [Users] Unable to access remote console in User portal from 
IE/Windows7


On Nov 29, 2012, at 17:31 , Itamar Heim <[email protected]> wrote:

> On 11/29/2012 10:01 AM, Karli Sjöberg wrote:
>> 
>> 29 nov 2012 kl. 15.15 skrev Itamar Heim:
>> 
>>> On 11/29/2012 08:13 AM, David Jaša wrote:
>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 12:30 +0000:
>>>>> 29 nov 2012 kl. 11.39 skrev David Jaša:
>>>>> 
>>>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 10:19 +0000:
>>>>>>> 29 nov 2012 kl. 10.20 skrev David Jaša:
>>>>>>> 
>>>>>>>> Karli Sjöberg píše v Čt 29. 11. 2012 v 07:59 +0000:
>>>>>>>>> 28 nov 2012 kl. 15.17 skrev David Jaša:
>>>>>>>>> 
>>>>>>>>>> Karli Sjöberg píše v St 28. 11. 2012 v 14:12 +0000:
>>>>>>>>>>> 28 nov 2012 kl. 15.08 skrev David Jaša:
>>>>>>>>>>> 
>>>>>>>>>>>> Karli Sjöberg píše v St 28. 11. 2012 v 13:56 +0000:
>>>>>>>>>>>>> 28 nov 2012 kl. 14.44 skrev Itamar Heim:
>>>>>>>>>>>>> 
>>>>>>>>>>>>>> On 11/28/2012 08:27 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 28 nov 2012 kl. 13.05 skrev Itamar Heim:
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> On 11/28/2012 05:47 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> 28 nov 2012 kl. 10.15 skrev Itamar Heim:
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> On 11/28/2012 01:12 AM, Karli Sjöberg wrote:
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> 27 nov 2012 kl. 20.30 skrev Itamar Heim:
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> On 11/27/2012 11:53 AM, nasir nasir wrote:
>>>>>>>>>>>>>>>>>>>>> Hi All,
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> I have been experimenting with Ovirt 3.1 and so far most 
>>>>>>>>>>>>>>>>>>>>> of the things
>>>>>>>>>>>>>>>>>>>>> work. Many thanks indeed for this great free software! 
>>>>>>>>>>>>>>>>>>>>> Now I am facing
>>>>>>>>>>>>>>>>>>>>> an issue for accessing the remote console in User Portal 
>>>>>>>>>>>>>>>>>>>>> from windows 7
>>>>>>>>>>>>>>>>>>>>> client using IE9. I am able to login to the User Portal 
>>>>>>>>>>>>>>>>>>>>> and access the
>>>>>>>>>>>>>>>>>>>>> VM using the console button from Linux. But while I try 
>>>>>>>>>>>>>>>>>>>>> the same from a
>>>>>>>>>>>>>>>>>>>>> windows 7 machine, it is NOT working. When I click on the 
>>>>>>>>>>>>>>>>>>>>> console
>>>>>>>>>>>>>>>>>>>>> button, it doesn't pop any window or show anything. Some 
>>>>>>>>>>>>>>>>>>>>> of the docs I
>>>>>>>>>>>>>>>>>>>>> read says that for the first time, I would be greeted 
>>>>>>>>>>>>>>>>>>>>> with an ActiveX
>>>>>>>>>>>>>>>>>>>>> warning and can install the same to get the console. But 
>>>>>>>>>>>>>>>>>>>>> I didnt get
>>>>>>>>>>>>>>>>>>>>> anything of that kind. So my questions to you all are,
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> -- Is User Portal and Console supported on Windows 
>>>>>>>>>>>>>>>>>>>>> platform ?
>>>>>>>>>>>>>>>>>>>>> -- If supported, is there anything  needed to be 
>>>>>>>>>>>>>>>>>>>>> installed on the
>>>>>>>>>>>>>>>>>>>>> Windows machine from which I am trying to access the User 
>>>>>>>>>>>>>>>>>>>>> Portal ?( I
>>>>>>>>>>>>>>>>>>>>> did install spice-guest-tools-0.exe on both VM and the 
>>>>>>>>>>>>>>>>>>>>> Windows machine I
>>>>>>>>>>>>>>>>>>>>> am trying to access the User Portal)
>>>>>>>>>>>>>>>>>>>>> -- If not supported, what is the recommended way of 
>>>>>>>>>>>>>>>>>>>>> accessing VMs from
>>>>>>>>>>>>>>>>>>>>> windows clients ? I understand that the firefox spice-xpi 
>>>>>>>>>>>>>>>>>>>>> plugin is only
>>>>>>>>>>>>>>>>>>>>> for Linux.
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> Relevant info,
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> --OS : CentOS 6.3 64 bit
>>>>>>>>>>>>>>>>>>>>> -- 
>>>>>>>>>>>>>>>>>>>>> ovirt-engine-setup-plugin-allinone-3.1.0-3.28.el6.noarch.rpm
>>>>>>>>>>>>>>>>>>>>> (Actually I used the repo from 
>>>>>>>>>>>>>>>>>>>>> http://www.dreyou.org/ovirt/ , )
>>>>>>>>>>>>>>>>>>>>> -- Client from which I am trying to access: Windows 7 
>>>>>>>>>>>>>>>>>>>>> (32bit), IE 9
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> Any reply would be highly appreciated and I would be more 
>>>>>>>>>>>>>>>>>>>>> than happy to
>>>>>>>>>>>>>>>>>>>>> send any further details if needed. I searched a lot for 
>>>>>>>>>>>>>>>>>>>>> any relevant
>>>>>>>>>>>>>>>>>>>>> docs for the same but could not find anything.
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> Thanks and regards,
>>>>>>>>>>>>>>>>>>>>> Nasir
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>>> _______________________________________________
>>>>>>>>>>>>>>>>>>>>> Users mailing list
>>>>>>>>>>>>>>>>>>>>> [email protected]
>>>>>>>>>>>>>>>>>>>>> http://lists.ovirt.org/mailman/listinfo/users
>>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>>> http://wiki.ovirt.org/wiki/How_to_Connect_to_SPICE_Console_With_Portal
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> Too bad there´s still the bug in UserPortal that forgets to 
>>>>>>>>>>>>>>>>>>> pass on the address to which the console should connect, so 
>>>>>>>>>>>>>>>>>>> it won´t work any way...
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> do you have the bz number?
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> Sure: https://bugzilla.redhat.com/show_bug.cgi?id=839548
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> this was backported to ovirt engine 3.1 prior to its release?
>>>>>>>>>>>>>>>> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.1
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> Heh, you´re right, it does work, but only when using 
>>>>>>>>>>>>>>> CentOS-Fedora/FF. The problem I´m having is with Win7/IE. It 
>>>>>>>>>>>>>>> does however work to get spice console in the admin portal, 
>>>>>>>>>>>>>>> strangely enough, but we won´t allow our customers using the 
>>>>>>>>>>>>>>> admin portal just to get access to their consoles. I would like 
>>>>>>>>>>>>>>> to have it work with Windows/IE in Userportal as well.
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> the commit is "user portal: ...", so i'm kind of surprised.
>>>>>>>>>>>>>> are you sure its not another issue?
>>>>>>>>>>>>>> 
>>>>>>>>>>>>> 
>>>>>>>>>>>>> I never said it was that specific issue, David Jaša did. May be a 
>>>>>>>>>>>>> new one, I don´t know, I´m just a poor old sysadmin who can´t 
>>>>>>>>>>>>> give console to his customers:)
>>>>>>>>>>>> 
>>>>>>>>>>>> Karli, could you set SPICEX_DEBUG_LEVEL environment variable to 0 
>>>>>>>>>>>> (zero), try to connect, and look at %TEMP%\spicex.log that the 
>>>>>>>>>>>> connection values are the correct ones?
>>>>>>>>>>> 
>>>>>>>>>>> Absolutely. How do I set that debugging in the windows spice client?
>>>>>>>>>> 
>>>>>>>>>> remote-viewer logs are currently quite hard to get, activex log 
>>>>>>>>>> should have enough info to pinpoint the exact error.
>>>>>>>>> 
>>>>>>>>> OK, I´ll try that. Where is that log located exactly?
>>>>>>>> 
>>>>>>>> as I already stated, at %TEMP%\spicex.log . Please don't forget to set 
>>>>>>>> SPICEX_DEBUG_LEVEL=0 environment variable, without it, the log won't 
>>>>>>>> be much useful.
>>>>>>> 
>>>>>>> Right. So how do I set "SPICEX_DEBUG_LEVEL=0"?
>>>>>> 
>>>>>>> From top of my head get to Advanced System Settings (7) or Computer 
>>>>>>> Properties (XP), Advanced? tab and there towards the bottom is 
>>>>>>> "Environment Variables" button. Add new global variable, name is 
>>>>>>> SPICEX_DEBUG_LEVEL, value i 0.
>>>>> 
>>>>> Done. Here´s the log:
>>>>> 
>>>>> 1354192134 INFO [31716:31124] spicex_init_logger: started
>>>>> 1354192134 DEBUG [31716:31124] COSpiceX::put_DynamicMenu: DynamicMenu
>>>>> 1354192134 INFO [31716:31124] COSpiceX::put_FullScreen: New FullScreen 
>>>>> request newVal=0x0
>>>>> 1354192134 DEBUG [31716:31124] COSpiceX::Connect: Running spicec 
>>>>> (C:\Users\karliadm\AppData\Local\virt-viewer\bin\remote-viewer.exe 
>>>>> --spice-controller)
>>>>> 1354192134 INFO [31716:31124] COSpiceX::Connect: spicec pid 3236
>>>>> 1354192134 DEBUG [31716:31124] COSpiceX::Connect: connecting to spice 
>>>>> client's pipe
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_init: sending init
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 1 : 
>>>>> str 130.238.96.134 (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_value: sending msg id 2 
>>>>> value 5904
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_value: sending msg id 3 
>>>>> value 5905
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending password
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 11 : 
>>>>> str Pondus2-1:%d - Press SHIFT+F12 to Release Cursor (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 14 : 
>>>>> str release-cursor=shift+f12,toggle-fullscreen=shift+f11 (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 5 : 
>>>>> str main,inputs,scursor,splayback,srecord,sdisplay (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 7 : 
>>>>> str DEFAULT (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_wstr: sending msg id 8 : 
>>>>> str C:\Users\karliadm\AppData\Local\Temp\5\truststore.pem (1)
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_msg: sending msg id 16
>>>>> 1354192135 DEBUG [31716:31124] COSpiceX::send_msg: sending msg id 17
>>>>> 1354192135 INFO [31716:31124] COSpiceX::ExecuteUsbCtrl: USB sharing is 
>>>>> not requested
>>>>> 
>>>> 
>>>> Host subject is missing (line ending with: msg id 9 : str 
>>>> O=<org>,CN=<common_name> (1), my RHEV-M setup send it betwen msg id 7 and 
>>>> 8).
>>>> 
>>>> Itamar, that really looks like oVirt/IE incarnation of 
>>>> https://bugzilla.redhat.com/show_bug.cgi?id=839548 .
>>> 
>>> karli, can you please remind me which rpm version do you have (full 
>>> version):
>>> rpm -qa | grep ovirt-engine
>> 
>> Np:
>> ovirt-engine-tools-common-3.1.0-2.fc17.noarch
>> ovirt-engine-webadmin-portal-3.1.0-2.fc17.noarch
>> ovirt-engine-backend-3.1.0-2.fc17.noarch
>> ovirt-engine-setup-3.1.0-2.fc17.noarch
>> ovirt-engine-sdk-3.1.0.4-1.fc17.noarch
>> ovirt-engine-restapi-3.1.0-2.fc17.noarch
>> ovirt-engine-notification-service-3.1.0-2.fc17.noarch
>> ovirt-engine-3.1.0-2.fc17.noarch
>> ovirt-engine-genericapi-3.1.0-2.fc17.noarch
>> ovirt-engine-cli-3.1.0.6-1.fc17.noarch
>> ovirt-engine-userportal-3.1.0-2.fc17.noarch
>> ovirt-engine-dbscripts-3.1.0-2.fc17.noarch
>> ovirt-engine-config-3.1.0-2.fc17.noarch
>> 
> 
> michal/tomas - thoughts? could it be the fix is only for XPI and not ActiveX?
> http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=shortlog;h=refs%2Fheads%2Fengine_3.1
> 
> according to dates, the fix should be in 3.1.0-2
> I've double-checked the content and indeed it is there. Tomas, do you recall 
> if you tested activex as well?
As far as I remember, I have tested it only with XPI as the problem was, that 
the value was not sent back from the
server and not an issue with the plugin itself.
If it is not working with ActiveX while working with XPI, I would maybe suspect 
the plugin itself or our communication with it 
(e.g. the client.HostSubject=... is maybe not the correct call for ActiveX).

Let me investigate on it a bit
Tomas
_______________________________________________
Users mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to