<div dir="auto">Hi,<div dir="auto">I was able to resolve the prlctl migrate issue by removing the installed rsync (was a newer version from epel) and manually installing the one available from OpenVZs repository.</div><div dir="auto"><br></div><div dir="auto">Re: Live Migrate,</div><div dir="auto"><div dir="auto">On my side, I have the same issue with live migration, even if both the servers are 1:1 in configuration.</div><div dir="auto"><br></div><div dir="auto">Same Intel CPU, same RAM, same disks capacity and yet the issue persists.</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 17 May 2019, 02:03 jjs - mainphrame, &lt;<a href="mailto:jjs@mainphrame.com">jjs@mainphrame.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">I&#39;ve noticed that live migration stopped working for me on OVZ 7 as well. It used to work. heck, even in openvz 6 it worked.<br><br>I posted here after noticing the issue, and was advised that live migration between intel and amd CPUs was problematic. So yesterday I bit the bullet, and swapped my OVZ amd host for a genuine intel box. Sadly, even with intel on both OVZ hosts, live migrate always fails. It still claims cpu mismatch, and so I pass -f cpu, but it still crashes and burns. Dead migration still works though.<br><br>Although both nodes are now running Intel, the CPUs are not identical. Is this an issue?<br><br>Here are the CPUs on each node:</div><div dir="ltr"><br></div><div dir="ltr"><div dir="ltr">[root@hachi ~]# lscpu</div><div dir="ltr">Architecture:          x86_64</div><div dir="ltr">CPU op-mode(s):        32-bit, 64-bit</div><div dir="ltr">Byte Order:            Little Endian</div><div dir="ltr">CPU(s):                2</div><div dir="ltr">On-line CPU(s) list:   0,1</div><div dir="ltr">Thread(s) per core:    1</div><div dir="ltr">Core(s) per socket:    2</div><div dir="ltr">Socket(s):             1</div><div dir="ltr">NUMA node(s):          1</div><div dir="ltr">Vendor ID:             GenuineIntel</div><div dir="ltr">CPU family:            6</div><div dir="ltr">Model:                 23</div><div dir="ltr">Model name:            Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz</div><div dir="ltr">Stepping:              10</div><div dir="ltr">CPU MHz:               2992.785</div><div dir="ltr">BogoMIPS:              5985.57</div><div dir="ltr">Virtualization:        VT-x</div><div dir="ltr">L1d cache:             32K</div><div dir="ltr">L1i cache:             32K</div><div dir="ltr">L2 cache:              6144K</div><div dir="ltr">NUMA node0 CPU(s):     0,1</div><div dir="ltr">Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl aperfmperf eagerfpu pni dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm sse4_1 xsave lahf_lm tpr_shadow vnmi flexpriority dtherm</div><div dir="ltr">[root@hachi ~]# <br><br><div dir="ltr">[root@annie nagios]# cd</div><div dir="ltr">[root@annie ~]# cls</div><div dir="ltr"><br></div><div dir="ltr">[root@annie ~]# lscpu</div><div dir="ltr">Architecture:          x86_64</div><div dir="ltr">CPU op-mode(s):        32-bit, 64-bit</div><div dir="ltr">Byte Order:            Little Endian</div><div dir="ltr">CPU(s):                8</div><div dir="ltr">On-line CPU(s) list:   0-7</div><div dir="ltr">Thread(s) per core:    2</div><div dir="ltr">Core(s) per socket:    4</div><div dir="ltr">Socket(s):             1</div><div dir="ltr">NUMA node(s):          1</div><div dir="ltr">Vendor ID:             GenuineIntel</div><div dir="ltr">CPU family:            6</div><div dir="ltr">Model:                 42</div><div dir="ltr">Model name:            Intel(R) Core(TM) i7-2600 CPU @ 3.40GHz</div><div dir="ltr">Stepping:              7</div><div dir="ltr">CPU MHz:               1599.768</div><div dir="ltr">CPU max MHz:           3800.0000</div><div dir="ltr">CPU min MHz:           1600.0000</div><div dir="ltr">BogoMIPS:              6784.18</div><div dir="ltr">Virtualization:        VT-x</div><div dir="ltr">L1d cache:             32K</div><div dir="ltr">L1i cache:             32K</div><div dir="ltr">L2 cache:              256K</div><div dir="ltr">L3 cache:              8192K</div><div dir="ltr">NUMA node0 CPU(s):     0-7</div><div dir="ltr">Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm epb ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid xsaveopt dtherm ida arat pln pts spec_ctrl intel_stibp flush_l1d</div><div dir="ltr">[root@annie ~]# </div><div><br>Jake</div></div><div><br></div></div><div dir="ltr"><br><div><div><br></div></div><br><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 16, 2019 at 1:21 PM Arjit Chaudhary &lt;<a href="mailto:arjit.c@gmail.com" target="_blank" rel="noreferrer">arjit.c@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr">Oddly enough the issue is present on another server now, I have created a bug report for it now, 

<a href="https://bugs.openvz.org/projects/OVZ/issues/OVZ-7091?filter=allopenissues" target="_blank" rel="noreferrer">https://bugs.openvz.org/projects/OVZ/issues/OVZ-7091?filter=allopenissues</a><div><br></div><div><div><div>[root@de23 ~]# prlctl migrate 16764 192.168.0.2  --ssh &quot;-o Port=22&quot; --verbose 10</div><div>Logging in</div><div>server uuid={98c783aa-90eb-47c9-99ea-1838ae37124d}</div><div>sessionid={4cc677b9-ec79-4bb6-9871-2458cbade840}</div><div>The virtual machine found: 16764</div><div>Migrate the CT 16764 on 192.168.0.2 ()</div><div>security_level=0</div><div>PrlCleanup::register_hook: 4afcdd40</div><div>EVENT type=100030</div><div>Migration started.</div><div>EVENT type=100523</div><div>Checking preconditions</div><div>EVENT type=100031</div><div>Migration cancelled!</div><div><br></div><div>Failed to migrate the CT: Failed to migrate the Container. An internal error occurred when performing the operation. Try to migrate the Container again. If the problem persists, contact the Virtuozzo support team for assistance.</div><div>resultCount: 0</div><div>PrlCleanup::unregister_hook: 4afcdd40</div><div>Logging off</div></div></div><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 15, 2019 at 10:23 PM Arjit Chaudhary &lt;<a href="mailto:arjit.c@gmail.com" target="_blank" rel="noreferrer">arjit.c@gmail.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">re: prlctl migrate -- It was my mistake with the command,<div><br></div><div>I was applying,</div><div>&gt; <span style="color:rgb(80,0,80)">prlctl migrate 192.168.0.10 5128</span></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">Instead of,</span></div><div><span style="color:rgb(80,0,80)">&gt; </span><span style="color:rgb(80,0,80)">prlctl migrate 5128 </span><span style="color:rgb(80,0,80)">192.168.0.10</span></div><div><span style="color:rgb(80,0,80)"><br></span></div><div><span style="color:rgb(80,0,80)">So now, prlctl migrate works fine, vzmigrate has this issue still with the same output as before.</span></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 13, 2019 at 11:23 AM Vasily Averin &lt;<a href="mailto:vvs@virtuozzo.com" target="_blank" rel="noreferrer">vvs@virtuozzo.com</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Dear Arjit,<br>
it looks liek some bug for me,<br>
and I would like to advise you to submit bug into openvz bug tracker<br>
<a href="https://bugs.openvz.org/" rel="noreferrer noreferrer" target="_blank">https://bugs.openvz.org/</a> on openVZ project<br>
<br>
thank you,<br>
        Vasily Averin<br>
<br>
On 5/11/19 3:16 PM, Arjit Chaudhary wrote:<br>
&gt; Hello,<br>
&gt; I&#39;ve been using vzmigrate without issues for a couple of years on VZ6, but on VZ7 I run into this odd issue,<br>
&gt; <br>
&gt; I am able to migrate from a newer kernel to a older kernel<br>
&gt; BUT<br>
&gt; I am unable to migrate from same kernel to same kernel?<br>
&gt; <br>
&gt; ie,<br>
&gt; 3.10.0-957.10.1.vz7.85.17 --to--&gt; 3.10.0-957.10.1.vz7.85.17 == Fail<br>
&gt; <br>
&gt; but,<br>
&gt; 3.10.0-957.10.1.vz7.85.17 --to--&gt;  3.10.0-862.20.2.vz7.73.29 == Success<br>
&gt; <br>
&gt; This is the error I get when I try to migrate to 192.168.0.10 which runs 3.10.0-957.10.1.vz7.85.17,<br>
&gt; <br>
&gt;&gt; [root@source  ~]# vzmigrate 192.168.0.10 5128<br>
&gt;&gt; ssh exited with code 255<br>
&gt;&gt; ssh wait daemon exited with code 1<br>
&gt;&gt; vzsock_open() return 1<br>
&gt;&gt;   <br>
&gt;&gt; Can not create connection to 192.168.0.10 <br>
&gt;  <br>
&gt; I am able to SSH into 192.168.0.10 via the command ssh <a href="mailto:root@192.168.0.10" target="_blank" rel="noreferrer">root@192.168.0.10</a> &lt;mailto:<a href="mailto:root@192.168.0.10" target="_blank" rel="noreferrer">root@192.168.0.10</a>&gt;  without any issue.<br>
&gt; <br>
&gt; I did try prlctl migrate but that too is returning an error,<br>
&gt; <br>
&gt;&gt; [root@source ~]# prlctl migrate 192.168.0.10 5128<br>
&gt;&gt; Failed to get VM config: The virtual machine could not be found. The virtual machine is &gt; not registered in the virtual machine directory on this server. Contact your Virtuozzo administrator for assistance.<br>
&gt; <br>
&gt; prlctl version 7.0.173<br>
&gt; vzmigrate version 7.0.119-1.vz7<br>
&gt; <br>
&gt; Any help would be appreciated on this.<br>
&gt; <br>
&gt; -- <br>
&gt; Thanks,<br>
&gt; Arjit Chaudhary<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; Users mailing list<br>
&gt; <a href="mailto:Users@openvz.org" target="_blank" rel="noreferrer">Users@openvz.org</a><br>
&gt; <a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
&gt; <br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank" rel="noreferrer">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-1563915607964961974gmail-m_2553614161990311169gmail-m_-7763235387731178747gmail_signature">Thanks,<br>Arjit Chaudhary<br><div><div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-1563915607964961974gmail-m_2553614161990311169gmail_signature">Thanks,<br>Arjit Chaudhary<br><div><div></div></div></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank" rel="noreferrer">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank" rel="noreferrer">Users@openvz.org</a><br>
<a href="https://lists.openvz.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.openvz.org/mailman/listinfo/users</a><br>
</blockquote></div>