<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div><div><br></div><div>Hi,</div><div><br></div><div>I searched bugtracker and did not see this reported .. so I believe this may be a new problem.</div><div><br></div><div>Version: 3.2.8 PUEL</div><div>Host-1: openSuSE 11.1</div><div>Host-2: openSuSE 11.2</div><div>Host-3: Windows XP</div><div>Host-4: Mac OSX 10.6.4</div><div>VMs: WinXP, openSuSE, RedHat, FreeBSD, Vista, OpenSolaris, etc</div><div><br></div><div>I have not had to teleport any VM's for a while until just recently and have encountered a problem that I do not recall happening before.  It seems calling progressRef::waitForCompletion with a -1 (means wait forever) during a power-up for a teleport operation never returns.  This is using the PHP Wrappers and my ".ini" settings for my script are set to never
 time-out.</div><div><br></div><div>The steps I follow are:</div><div><br></div><div>Target Host:</div><div>----------------</div><div>1) Get a new ISession for the machine to be teleported</div><div>2) Get the refID for the machine from the ISession object</div><div>3) set-up for teleport (set teleporterEnabled, teleporterAddress, teleporterPort, teleporterPassword values)</div><div>4) Save the machine settings</div><div>5) Close the ISession</div><div>6) Power-Up the VM (get new ISession, etc) (progressRef is returned)</div><div>7) Call progressRef::waitForCompletion (-1)</div><div><br></div><div>Source Host:</div><div>----------------</div><div>8) Get Console for source VM</div><div>9) Call Console::teleport</div><div><br></div><div>Step #7 will wait forever (ok .. so I only waited for up-to 10 minutes) and it does not come back.  This problem happens regardless of the OS running in the guest that is being teleported and regardless of the
 host on which I originate the request.</div><div><br></div><div>At the same time, on the target host, the console shows "Waiting for incoming VM … (2/3)" in a modal dialog .. and then eventually aborts from a timeout.</div><div><br></div><div>I do not recall this happening in v3.1.8 (might be wrong here) and am not really in a position to downgrade to confirm.</div><div><br></div><div>In playing around, I have found that by setting my timeout long enough (I'm using 10,000ms now), though progressWait returns after the timeout (not because of completion but because of reaching the end of the timeout), the VM teleport is actually ready to continue and I can go ahead and complete the teleport process by calling Console::teleport on the source.  The teleport will then complete successfully.  If I set my timeout much less than 10sec (say 3sec - 5sec) .. attempting to continue will result in an exception and the teleport will fail.  Depending
 on what's happening on the target host, the time the target VM can be ready to teleport that I have observed can vary from 3sec to as much as 8sec.</div><div><br></div><div>Though setting the timeout long-enough works .. depending on the speed of the target system, the time to prep for the teleportation does vary.</div><div><br></div><div>Has anyone seen this problem?  Is there something else I need to be checking for or doing?  I'll wait to see what responses I get to determine if this should be opened in bugtracker.</div><div><br></div><div><br></div><div>Thanks,</div><div>Joe</div></div><div style="position:fixed"></div>


</div><br>

      </body></html>