[ovirt-devel] oVirt SSO using ovirtsdk for python

Pavel Zelensky pzelensky at gmail.com
Mon Dec 15 15:27:05 UTC 2014

Hi guys,

I'm expiriencing some problems trying to invoke api.vm.logon() method which
I believe will call for desktopLogin on the VM and provide vm console with
user logged in for remote-viewer.

But it results in the following records in logfile:
2014-12-12 16:07:01,314 INFO  [org.ovirt.engine.core.bll.VmLogonCommand]
(ajp-- [7cfe61d3] Running command: VmLogonCommand
internal: false. Entities affected :  ID:
a7c151a4-2d63-4172-a840-190748a3dbc1 Type: VMAction group CONNECT_TO_VM
with role type USER
2014-12-12 16:07:01,320 INFO
(ajp-- [7cfe61d3] START, VmLogonVDSCommand(HostName =
ceph4, HostId = bbaad505-34a3-4a52-ab52-0446724cae30,
vmId=a7c151a4-2d63-4172-a840-190748a3dbc1, domain=ov.jetlab.local,
password=null, userName=test4), log id: 5d458d88
2014-12-12 16:07:01,536 INFO
(ajp-- [7cfe61d3] FINISH, VmLogonVDSCommand, log id:

I think that problem is in second line: 'password=null'. Engine doesn't get
user password thus desktopLogin fails. In remote-viewer I'm getting black
screen instead of users's desktop.

Is there any solution for this?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20141215/2297841c/attachment-0001.html>

More information about the Devel mailing list