<div dir="ltr">Not really messy when scripted, each step is a small API command after all. This is what oVirt does when you connect, getting the data and populating the .vv file for you. So if the VM migrates in the instant it takes to get the info, the connection will fail, so you simply rerun the connect script. <div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Oct 11, 2014 at 7:49 PM, John Gardeniers <span dir="ltr">&lt;<a href="mailto:jgardeniers@objectmastery.com" target="_blank">jgardeniers@objectmastery.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Thanks for the info Dan. If that&#39;s what it takes I&#39;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>On 11/10/14 02:02, Dan Yasny wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">The steps are: 
        <div>1. Find the VM&#39;s UUID in the API</div>
        <div><a href="https://rhevm/ovirt-engine/api/vms?search=VMNAME" target="_blank">https://rhevm/ovirt-engine/api/vms?search=VMNAME</a><br>
        </div>
        <div>2. Find the VM&#39;s current host and spice ports:</div>
        <div><a href="https://rhevm/ovirt-engine/api/vms/UUID/" target="_blank">https://rhevm/ovirt-engine/api/vms/UUID/</a> </div>
        <div>Look for the &lt;display&gt; section - it will hold the
          host IP or FQDN, and the spice ports<br>
        </div>
        <div>3. Issue a spice ticket via <a href="https://rhevm/ovirt-engine/api/vms/UUID/ticket" target="_blank">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">&lt;<a href="mailto:jgardeniers@objectmastery.com" target="_blank">jgardeniers@objectmastery.com</a>&gt;</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&#39;s
            console using a free-standing Spice viewer, such as the
            Chrome Spice Viewer plug-in? I&#39;ve so far found no
            information on this at all.<br>
            <br>
            regards,<br>
            John<br>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
            <a 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 href="http://www.symanteccloud.com" target="_blank">http://www.symanteccloud.com</a><br>
______________________________________________________________________<br>
    </blockquote>
    <br>
  </div>

</blockquote></div><br></div>