[ovirt-users] Using a free-standing Spice viewer

John Gardeniers jgardeniers at objectmastery.com
Sat Oct 11 19:49:55 EDT 2014


Thanks for the info Dan. If that's what it takes I'll need to use a 
different method. The one you describe is not only very messy but 
extremely breakable and error prone (e.g. if the VM migrates to another 
host).

regards,
John



On 11/10/14 02:02, Dan Yasny wrote:
> The steps are:
> 1. Find the VM's UUID in the API
> https://rhevm/ovirt-engine/api/vms?search=VMNAME
> 2. Find the VM's current host and spice ports:
> https://rhevm/ovirt-engine/api/vms/UUID/
> Look for the <display> section - it will hold the host IP or FQDN, and 
> the spice ports
> 3. Issue a spice ticket via https://rhevm/ovirt-engine/api/vms/UUID/ticket
> 4. Connect with a spice client (remote-viewer or spicec) with the 
> target being HOST:PORT and the ticket you issued as password
>
> All this can be scripted via the API or the engine CLI
>
> Hope this helps
>
> Dan
>
> On Thu, Oct 9, 2014 at 5:03 PM, John Gardeniers 
> <jgardeniers at objectmastery.com <mailto:jgardeniers at objectmastery.com>> 
> wrote:
>
>     Connecting to a VM console with Spice via the RHEV/Ovirt admin
>     interface works just fine. How can I connect to a VM's console
>     using a free-standing Spice viewer, such as the Chrome Spice
>     Viewer plug-in? I've so far found no information on this at all.
>
>     regards,
>     John
>
>     _______________________________________________
>     Users mailing list
>     Users at ovirt.org <mailto:Users at ovirt.org>
>     http://lists.ovirt.org/mailman/listinfo/users
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20141012/59d4e4e7/attachment.html>


More information about the Users mailing list