
30 Mar
2017
30 Mar
'17
11:01 a.m.
Hi, I'm trying to obtain a list of users connected to a VM, using python SDK v4. Here's what I'm doing: vm = vms_service.list(search="name=vmname")[0] vm_service = vms_service.vm_service(vm.id) sessions = vm_service.sessions_service().list() But "sessions" is None. Same result using: s = connection.follow_link(vm.sessions) "s" is None. I tried also using curl, and if I connect to: https://my.ovirt.host/ovirt-engine/api/v4/vms/<vmid>/sessions I get a beautiful 404. Also using v3 of python SDK I obtain the same behaviour. So I suspect that retrieving user sessions via API is not implemented, is it? If not, what I'm doing wrong? I'm using RHV 4.0.6.3-0.1.el7ev Thanks in advance, Giulio