<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
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).<br>
<br>
regards,<br>
John<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/10/14 02:02, Dan Yasny wrote:<br>
</div>
<blockquote
cite="mid:CALLXwb72wU7aQHHcZy2RacvXn8PicMmF0R==3mUyeDkDb_dn8w@mail.gmail.com"
type="cite">
<div dir="ltr">The steps are:
<div>1. Find the VM's UUID in the API</div>
<div><a moz-do-not-send="true"
href="https://rhevm/ovirt-engine/api/vms?search=VMNAME">https://rhevm/ovirt-engine/api/vms?search=VMNAME</a><br>
</div>
<div>2. Find the VM's current host and spice ports:</div>
<div><a moz-do-not-send="true"
href="https://rhevm/ovirt-engine/api/vms/UUID/">https://rhevm/ovirt-engine/api/vms/UUID/</a> </div>
<div>Look for the <display> section - it will hold the
host IP or FQDN, and the spice ports<br>
</div>
<div>3. Issue a spice ticket via <a moz-do-not-send="true"
href="https://rhevm/ovirt-engine/api/vms/UUID/ticket">https://rhevm/ovirt-engine/api/vms/UUID/ticket</a></div>
<div>4. Connect with a spice client (remote-viewer or spicec)
with the target being HOST:PORT and the ticket you issued as
password</div>
<div><br>
</div>
<div>All this can be scripted via the API or the engine CLI</div>
<div><br>
</div>
<div>Hope this helps</div>
<div><br>
</div>
<div>Dan</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Oct 9, 2014 at 5:03 PM, John
Gardeniers <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:jgardeniers@objectmastery.com"
target="_blank">jgardeniers@objectmastery.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">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.<br>
<br>
regards,<br>
John<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true" href="mailto:Users@ovirt.org"
target="_blank">Users@ovirt.org</a><br>
<a moz-do-not-send="true"
href="http://lists.ovirt.org/mailman/listinfo/users"
target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</blockquote>
</div>
<br>
</div>
<br clear="all">
______________________________________________________________________<br>
This email has been scanned by the Symantec Email Security.cloud
service.<br>
For more information please visit <a class="moz-txt-link-freetext" href="http://www.symanteccloud.com">http://www.symanteccloud.com</a><br>
______________________________________________________________________<br>
</blockquote>
<br>
</body>
</html>