Le 2014-02-18 à 09:14, Itamar Heim <iheim(a)redhat.com> a écrit
:
> On 02/18/2014 03:36 PM, SimmInfo wrote:
> Ok,
>
> I tested it on a 3.4 beta2. Build a VM (win7 32) check "Guest agent" as SSO
option in vm config.
>
> Same result as the 3.3.3 engine. No sso but lock screen on spice session
termination.
>
> Nothing in engine.log about VmLogon nor Guest agent reportion to the engine but Admin
portal populated with vm ip, user connected, ip of the connected user (very useful info),
installed app, etc.
>
> Is there another way to know if the agent is correctly reporting to the engine?
>
> Will test today with a fedora host.
just to make sure - did you notice the important point of SSO only works if you login
from the user portal, not from the webadmin?
>
> Thanks!
>
> My test config :
>
> Engine 3.4 beta2 on CentOS 6.5
> Node CentOS 6.5 with vdsm from prerelease repo.
> Storage iscsi
>
>
>> Le 2014-02-17 à 04:24, Frantisek Kobzik <fkobzik(a)redhat.com> a écrit :
>>
>> Yes, that's a valid point (however it _should_ be set to 'Guest
Agent' by default).
>>
>> To sum it up, SSO should happen (on the engine side) if all these conditions are
true:
>> - user is connecting via userportal (not webadmin),
>> - guest agent presence is reported to engine,
>> - state of VM is strictly "Up"
>> - VM has SSO method set to "Guest agent" (Itamar's mail).
>>
>> If these conditions are fulfilled and SSO still doesn't work, there must be
something wrong with the engine (or with reporting GA presence).
>>
>> Also VmLogon command should print some information to engine's log - could
you take a look?
>>
>> Cheers,
>> Franta.
>>
>>
>> ----- Original Message -----
>> From: "Itamar Heim" <iheim(a)redhat.com>
>> To: "SimmInfo" <simon(a)simminfo.com>, users(a)ovirt.org,
"Frantisek Kobzik" <fkobzik(a)redhat.com>
>> Sent: Monday, February 17, 2014 3:35:08 AM
>> Subject: Re: [Users] SSO from user portal to Windows 7 guest
>>
>>> On 02/15/2014 07:51 AM, SimmInfo wrote:
>>> Ok, after more investigation on agent logs and some code modification it seem
that the agent is receiving commands from virtio device. As it should. I have seen
commands lock-screen, shutdown, etc... But not the "login" command. Look like
engine trouble... I will do more testing tomorrow.
>>>
>>> Simon
>>> _______________________________________________
>>> Users mailing list
>>> Users(a)ovirt.org
>>>
http://lists.ovirt.org/mailman/listinfo/users
>>
>> make sure it is enabled for the VM?
>>
>> commit abd645d5af8a5e4f7986bef00f470171a63be823
>> Author: Frantisek Kobzik <fkobzik(a)redhat.com>
>> Date: Tue Nov 26 11:16:26 2013 +0100
>>
>> frontend: Allow enabling/disabling SSO
>>
>> This small feature allows controlling SSO per VM.
>> Changes:
>> - new radio buttons in New/Edit VM/Template/VmPool dialog.
>>
>> Change-Id: I213110a1554cd67b6cd8560477b5d7551e89f24e
>> Signed-off-by: Frantisek Kobzik <fkobzik(a)redhat.com>
>> Bug-Url:
https://bugzilla.redhat.com/1035279