Hi,

well, consoles are a bit tricky in moVirt. 

1: There is a nice chance the stock aSPICE does not work yet and you need a 
newer version with some patches. You can get it from here:
https://github.com/iiordanov/remote-desktop-clients/releases/download/v3.7.7/freeaSPICE-3.7.7-final.apk
(maybe it is in play store already but not sure... just try that one please)

2: If this is not the issue there is a nice chance that your hosts are on a 
different network than your moVirt thus aSPICE /bVNC can not connect.
You could verify this by installing some
app which is able to ping from phone and try to ping your host from it. If it 
will not ping them and you don't want to expose the hosts directly, than the 
consoles
are not going to work, because:
1: you could use SPICE PROXY - unfortunately aSPICE does not support it
2: you could use websocket proxy and connect from web clients (SPICE HTML5 or 
noVNC) - but moVirt does not integrate them since they need a connection to 
websocket proxy 
   and in order to make a connection to websocket proxy you need a ticket 
signed by the private certificate of the engine. And the functionality of 
providing this
   is not exposed to REST API (only GWT-RPC) so we can not consume it. There is 
some bug around it and also some work being done around it so I think it will 
make into 3.6.
   But 3.6 is far far away...

Hope the problem is just old aSPICE :)
Tomas
   
----- John Florian <jflor...@doubledog.org> wrote:
> I just started playing with moVirt after I first heard about it here on
> this list.  Wow, that's so much easier to use on my Galaxy S5 than the
> regular web interface.  :-)
> 
> Of course, now I want the whole bag of chips but can't seem to get the
> console working.  When I press the console button I see "Failed to open
> console client.  Check if aSPICE/bVNC is installed.".  I had already
> installed aSPICE from the Play Store but when that didn't work installed
> bVNC in addition; still no luck.
> 
> My engine.log shows this when I try:
> 
> 2015-03-26 19:52:14,750 INFO 
> [org.ovirt.engine.core.bll.SetVmTicketCommand] (ajp--127.0.0.1-8702-10)
> [7f6f1f09] Running command: SetVmTicketCommand internal: false. Entities
> affected :  ID: 6ca4e6ae-a201-432b-b22a-2c6517fbd92c Type: VMAction
> group CONNECT_TO_VM with role type USER
> 2015-03-26 19:52:14,752 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] START,
> SetVmTicketVDSCommand(HostName = hosted_engine_1, HostId =
> e90e2ca0-e3b9-46d5-8fde-09fc1c5eed20,
> vmId=6ca4e6ae-a201-432b-b22a-2c6517fbd92c, ticket=pd2lTiu7w7Ra,
> validTime=7200,m userName=admin,
> userId=fdfc627c-d875-11e0-90f0-83df133b58cc), log id: 6257f73
> 2015-03-26 19:52:14,766 INFO 
> [org.ovirt.engine.core.vdsbroker.vdsbroker.SetVmTicketVDSCommand]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] FINISH, SetVmTicketVDSCommand, log
> id: 6257f73
> 2015-03-26 19:52:14,846 INFO 
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (ajp--127.0.0.1-8702-10) [7f6f1f09] Correlation ID: 7f6f1f09, Call
> Stack: null, Custom Event ID: -1, Message: user admin@internal initiated
> console session for VM krypto_f21
> 
> What am doing wrong?
> _______________________________________________
> Users mailing list
> Users@ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users

_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to