<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>El 2012-05-08 11:06, Holger Ernst escribió:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">OK, then it is 'claro' why the vm can not be started on the other node. Did you mark the storage as 'shared' while it is not?</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Holger</span></p>
<p class="MsoNormal"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p>
<div>
<div style="border: none; border-top: solid  #B5C4DF  1.0pt; padding: 3.0pt  0cm  0cm  0cm;">
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">Von:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> pve-user-bounces@pve.proxmox.com [mailto:pve-user-bounces@pve.proxmox.com] <strong>Im Auftrag von </strong>Maykel Franco Hernández<br /><strong>Gesendet:</strong> Dienstag, 8. Mai 2012 10:51<br /><strong>An:</strong> proxmox lista<br /><strong>Betreff:</strong> Re: [PVE-User] Failed to migrate VM from host3 to host1</span></p>
</div>
</div>
<p>El 2012-05-08 10:35, Holger Ernst escribió:</p>
<blockquote style="border: none; border-left: solid  #1010FF  1.5pt; padding: 0cm  0cm  0cm  4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;">
<div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">The error 255 comes from the ssh command itself. </span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Can you use ssh from one host to the other? Try the exact command with (for example) 'qm list'. Will it work?</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;">Regards Holger</span></p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><span style="font-size: 11.0pt; font-family: 'Calibri','sans-serif'; color: #1f497d;"> </span></p>
<div>
<div style="border: none; border-top: solid  #B5C4DF  1.0pt; padding: 3.0pt  0cm  0cm  0cm;">
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">Von:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> <a href="mailto:pve-user-bounces@pve.proxmox.com">pve-user-bounces@pve.proxmox.com</a> <a href="mailto:[mailto:pve-user-bounces@pve.proxmox.com]">[mailto:pve-user-bounces@pve.proxmox.com]</a> <strong><span style="font-family: 'Tahoma','sans-serif';">Im Auftrag von </span></strong>Maykel Franco Hernández<br /><strong><span style="font-family: 'Tahoma','sans-serif';">Gesendet:</span></strong> Dienstag, 8. Mai 2012 10:18<br /><strong><span style="font-family: 'Tahoma','sans-serif';">An:</span></strong> proxmox lista<br /><strong><span style="font-family: 'Tahoma','sans-serif';">Betreff:</span></strong> Re: [PVE-User] Failed to migrate VM from host3 to host1</span></p>
</div>
</div>
<p>El 2012-05-07 17:08, Maykel Franco Hernández escribió:</p>
<blockquote style="border: none; border-left: solid  #1010FF  1.5pt; padding: 0cm  0cm  0cm  4.0pt; margin-left: 3.75pt; margin-top: 5.0pt; margin-bottom: 5.0pt;">
<p>Hi, I received this error when I migrate a VM:</p>
<p>May 07 17:06:01 starting migration of VM 112 to node 'virtual1' (10.100.106.1)<br />May 07 17:06:01 copying disk images<br />May 07 17:06:01 starting VM 112 on remote node 'virtual1'<br />May 07 17:06:02 ERROR: online migrate failure - command '/usr/bin/ssh -c blowfish -o 'BatchMode=yes' <a href="mailto:root@10.100.106.1">root@10.100.106.1</a> qm start 112 --stateuri tcp --skiplock' failed: exit code 255<br />May 07 17:06:03 ERROR: migration finished with problems (duration 00:00:02)<br />TASK ERROR: migration problems</p>
<p>Can I help me please??</p>
<p>Thanks in advanced.</p>
</blockquote>
<div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Can I help me please??? I want migrate the VM between hosts in the cluster....</p>
</div>
</div>
</blockquote>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Thanks for your replys!!</p>
<p class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto;">Yes, for example:</p>
<pre>root@virtual2:/etc/pve/qemu-server# /usr/bin/ssh -c blowfish -o 'BatchMode=yes' <a href="mailto:root@10.100.106.1">root@10.100.106.1</a> qm list<br />      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       <br />       100 pfsense1        running    1024              25.00 1008916   <br />       104 pfsense2      running    1024              20.00 2270      <br />       105 smoothwall3   running    1024              20.00 182870    <br />root@virtual2:/etc/pve/qemu-server# /usr/bin/ssh -c blowfish -o 'BatchMode=yes' <a href="mailto:root@10.100.106.3">root@10.100.106.3</a> qm list<br />      VMID NAME                 STATUS     MEM(MB)    BOOTDISK(GB) PID       <br />       111 asterisk-reduce      stopped    1024              40.00 0         <br />       112 asterisk-reducido    stopped    1024              15.00 0         <br />root@virtual2:/etc/pve/qemu-server# </pre>
<pre>The commands exec successfully from shell, the problem is with rsync, The file qemu configuration is migrate OK and I see the VM in the other host in the cluster via web interface proxmox. </pre>
<pre><span class="hps">The problem is that</span><span class="hps">the</span><span class="hps">image folder</span><span class="hps">is not passed</span><span class="hps">correctly</span><span class="hps">to the other node</span>, only <span class="hps">migrates</span><span class="hps">the configuration file</span><span class="hps">qemu.</span><span class="hps">If I</span><span class="hps">manually</span><span class="hps">migrated</span><span class="hps">VM</span><span class="hps">with</span><span class="hps">rsync,the</span><span class="hps">virtual</span><span class="hps">machine</span><span class="hps">boots OK</span><span class="hps">on</span><span class="hps">another host in the</span><span class="hps">cluster.</span></pre>
</div>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</blockquote>
<div class="WordSection1">
<div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Yes. The repository local is shared and enabled in three nodes.</p>
<p class="MsoNormal">Attach the picture.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks.</p>
</div>
</div>
<div> </div>
</body></html>