[ovirt-users] Unable to use the SPICE HTML5 tool
nicolas at devels.es
nicolas at devels.es
Thu Jun 11 07:30:23 UTC 2015
El 2015-06-11 08:04, nicolas at devels.es escribió:
> El 2015-06-11 06:59, Joop escribió:
>> On 10-6-2015 19:04, Nicolás wrote:
>>
>>> Hi,
>>>
>>> I'm using oVirt 3.5.2 on a CentOS box. As far as the engine goes
>>> everything is working fine, except that I can't start the SPICE
>>> HTML5 tool for any of the installed machines I have.
>>>
>>> I've installed the oVirt guest agent on the VM side,
>>> websocket-proxy is running and port 6100 is listening on the engine
>>> box:
>>>
>>>> # systemctl status ovirt-websocket-proxy
>>>> ovirt-websocket-proxy.service - oVirt Engine websockets proxy
>>>> Loaded: loaded
>>>> (/usr/lib/systemd/system/ovirt-websocket-proxy.service; enabled)
>>>> Active: active (running)
>>>>
>>>> # netstat -atpn | grep 6100
>>>> tcp 0 0
>>>> 0.0.0.0:6100
>>>> 0.0.0.0:* LISTEN 7227/python
>>> Also, I imported the CA cert (https://fqdn/ca.crt [1]) on the
>>> browser. However, once I run the SPICE HTML5 client from the
>>> userportal, all I get is an empty grey square with the two "Send
>>> ctrl+alt+delete" and "Toggle messages output" buttons at the bottom.
>>> Nothing in the logs about this issue. I tried to run it both with
>>> Chromium and Firefox on a linux box.
>>>
>>> Is there anything that I am missing? I've run out of ideas...
>> Did you enable port 6100 on the client side?. Try telnetting to the
>> websocket-proxy from the workstation you're using Chromium/FF on.
>>
>> Joop
>
> By client side do you mean where the ovirt-engine is running? If so,
> yes, it's listening on that port. I can also telnet to that port:
>
> $ telnet ovirtenginebox 6100
> Trying 10.X.X.X...
> Connected to ovirtenginebox.
> Escape character is '^]'.
>
> Thanks
>
I just found out that actually there are some lines in the
ovirt-engine's log whenever I try to run the HTML5 client:
2015-06-11 08:26:08,402 INFO
[org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-10)
[5a92c038] Running command: SetVmTicketCommand internal: false. Entities
affected : ID: 5efbe47d-8f27-46a1-a663-20882b9f4b6a Type: VMAction
group CONNECT_TO_VM with role type USER
2015-06-11 08:26:08,442 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(ajp--127.0.0.1-8702-10) [5a92c038] START,
SetVmTicketVDSCommand(HostName = hostmachine, HostId =
3ec39b7a-f0a9-4df6-8c14-db2e73a493e2,
vmId=5efbe47d-8f27-46a1-a663-20882b9f4b6a, ticket=nEaTH3mqR30x,
validTime=120,m userName=user,
userId=f3365dd8-963b-4a56-b81f-b9444dfd62e2), log id: 2e6ef305
2015-06-11 08:26:08,459 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
(ajp--127.0.0.1-8702-10) [5a92c038] FINISH, SetVmTicketVDSCommand, log
id: 2e6ef305
2015-06-11 08:26:08,475 INFO
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-10) [5a92c038] Correlation ID: 5a92c038, Call
Stack: null, Custom Event ID: -1, Message: user user at domain initiated
console session for VM Pool-ADMSIS-1
2015-06-11 08:26:08,502 WARN
[org.ovirt.engine.core.dal.job.ExecutionMessageDirector]
(ajp--127.0.0.1-8702-10) [4458db3] The message key VmLogon is missing
from bundles/ExecutionMessages
2015-06-11 08:26:08,534 INFO [org.ovirt.engine.core.bll.VmLogonCommand]
(ajp--127.0.0.1-8702-10) [4458db3] Running command: VmLogonCommand
internal: false. Entities affected : ID:
5efbe47d-8f27-46a1-a663-20882b9f4b6a Type: VMAction group CONNECT_TO_VM
with role type USER
2015-06-11 08:26:08,574 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
(ajp--127.0.0.1-8702-10) [4458db3] START, VmLogonVDSCommand(HostName =
hostmachine, HostId = 3ec39b7a-f0a9-4df6-8c14-db2e73a493e2,
vmId=5efbe47d-8f27-46a1-a663-20882b9f4b6a, domain=domain-authz,
password=******, userName=user at domain), log id: 14f0c410
2015-06-11 08:26:08,579 INFO
[org.ovirt.engine.core.vdsbroker.vdsbroker.VmLogonVDSCommand]
(ajp--127.0.0.1-8702-10) [4458db3] FINISH, VmLogonVDSCommand, log id:
14f0c410
None of them seem to be error messages, though.
>>
>>
>>
>> Links:
>> ------
>> [1] https://fqdn/ca.crt
>>
>> _______________________________________________
>> Users mailing list
>> Users at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/users
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
More information about the Users
mailing list