[root@air-dev ~]#
/usr/libexec/ovirt-vmconsole-proxy-helper/ovirt-vmconsole-list.py
--version "1" keys
{"keys": [{"entityid":
"d5e69fa0-96a0-4aae-952d-18fe36940248", "entity":
"sblanchet@levant.abes.fr(a)abes.fr-authz", "key": "ssh-rsa
AAAAB3NzaC1yc2EAAAABIwAAAQEAyfrDI84RWtSvFOUvpb9DkbnIuEfZEQAt4ZCXDHNXcmRwa9iXfPbj69gkOJyj7Jhj9RinJn9at4NgJtrO/rRRgT+SzYUWpdO2KWHgRM5v1rpYcw820ZDdAZk+yxCjQsy6kd49q/q6B+Uzg8Kpth+CAV1ubRrBYqFiuT/qQe9y+0N1TkNdASWL38oZH9K0rzbDb4WlU2Er2BCXzoLF2NBk7iyaS3+Y65DqWPPHHdh89nilC6k5N7SCUkSOayrjh7NnErkBAKZ6PPaarZqZhZPrCbHZnu0oqA0XQXKLcYpwuhNwcK8e4ZWsDwMmArnNcmS6JFxnPIrGYxxmv01K6VXVvw=="}],
"version": 1, "content": "key_list"}
but the same command on the main engine returns empty
[root@air ~]#
/usr/libexec/ovirt-vmconsole-proxy-helper/ovirt-vmconsole-list.py
--version "1" keys
Empty list (no keys) should look similar to: {"keys": [], "version":
1, "content": "key_list"}
In your case it seems that VMConsoleProxyServlet is not responding
i.e. on my dev env I get a similar result (empty output,error code 1)
when server is down.
However you can check if DB contains the right data (key is encoded as
JSON string - enclosed in double quotes):
SELECT users.username, user_profiles.property_content::text
FROM user_profiles
JOIN users ON users.user_id = user_profiles.user_id
WHERE user_profiles.property_type= 'SSH_PUBLIC_KEY';
best regards,
Radek