On 12/15/2014 05:57 PM, Pavel Zelensky wrote:
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--127.0.0.1-8702-3) [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
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
(ajp--127.0.0.1-8702-3) [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
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
(ajp--127.0.0.1-8702-3) [7cfe61d3] FINISH, VmLogonVDSCommand, log id:
5d458d88
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?
Looks like an authentication problem. Can you try the same with
admin@internal?
--
Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta
3ºD, 28016 Madrid, Spain
Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L.