<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div>Hello<br></div><div><br data-mce-bogus="1"></div><div>I cannot migrate a VM from one host to another, it fails with message:&nbsp; Failed to migrate the VM: PRL_ERR_READ_XML_CONTENT<br data-mce-bogus="1"></div><div>here are the details : <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>[root@server2 ~]# prlctl migrate eonimtev root@server1 -v 16<br></div><div>Logging in<br>server uuid={e998a2d4-d719-4b26-ab7b-aa11f2c4a812}<br>sessionid={2fadf244-cf8a-420c-8f31-21cdd264900a}<br>The virtual machine found: eonimtev<br>Migrate the VM eonimtev on server1&nbsp; ()<br>security_level=0<br>PrlCleanup::register_hook: 6386a500<br>EVENT type=100030<br>Migration started.<br>EVENT type=100001<br>EVENT type=100033<br>Operation progress ... 1%EVENT type=100033<br>Operation progress ... 2%EVENT type=100033<br>...<br data-mce-bogus="1"></div><div>Operation progress ...99%EVENT type=100033<br>Operation progress&nbsp;&nbsp;&nbsp; 100%<br>EVENT type=100031<br>Migration cancelled!<br>EVENT type=100008<br>EVENT type=100001<br><br>Failed to migrate the VM: PRL_ERR_READ_XML_CONTENT<br>resultCount: 0<br>PrlCleanup::unregister_hook: 6386a500<br>Logging off<br><br data-mce-bogus="1"></div><div>I must admit that I did edit the VM definition with virsh edit in order to specify a different disk name (created from another KVM only machine) <br data-mce-bogus="1"></div><div>My initial concern is to convert a KVM machine to virtuozzo prlctl management tools, so I clone an existing virtuozzo VM and changed it's disk image name to the one's of the KVM only image:<br data-mce-bogus="1"></div><div>&nbsp;&lt;disk type='file' device='disk'&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;driver name='qemu' type='qcow2'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;source file='<strong>/vz/vmprivate/60d7f6ed-bfa0-40d4-8bc2-c5a705ebb553/eonimtevIDE.qcow2'</strong>/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;target dev='hda' bus='ide'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;boot order='1'/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;address type='drive' controller='0' bus='0' target='0' unit='0'/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/disk&gt;<br><br data-mce-bogus="1"></div><div>[root@server2 ~]# ls -al /etc/libvirt/qemu/<br>total 28<br>drwx------ 3 root root 4096&nbsp; 6 août&nbsp; 23:35 .<br>drwx------ 5 root root 4096&nbsp; 6 août&nbsp; 22:44 ..<br>-rw------- 1 root root 4685&nbsp; 6 août&nbsp; 23:35 eonimtev.xml<br><br data-mce-bogus="1"></div><div>1) What is wrong with this&nbsp; VM: PRL_ERR_READ_XML_CONTENT ? <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>2) Is there a way to "register" to virtuozzo a KVM VM&nbsp; by copying it's /etc/libvirt/qemu/vm.xml and disk image to a&nbsp; '<strong>/vz/vmprivate/$uuidgen/</strong>hardisk.hdd <br data-mce-bogus="1"></div><div>somthing like prlctl register $uuidgen vmname ... ? <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>thanks . <br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_PRE__"><div><table id="signature" cellspacing="0" cellpadding="0" border="0">
<tbody><tr>
<td style="padding-top: 27px; padding-bottom: 27px" width="279" align="center"><img src="https://trombi.imtbs-tsp.eu/images/signature/co-logo.png" alt="" style="display: block;"></td>
<td style="padding-top: 27px; padding-bottom: 27px" width="152" align="left"><img src="https://trombi.imtbs-tsp.eu/images/signature/40ans.png" alt="" style="display: block;"></td>
<td style="padding-top: 27px; padding-bottom: 27px" width="273" valign="top" nowrap="nowrap" height="127" align="left"><div>
        <span><strong>Jehan PROCACCIA</strong></span>
        <br>
        <span>Ingénieur systèmes et réseaux</span></div><div>Membre du comité de pilotage REVE :</div><div>Réseau d’Évry Val d'Essonne         et THD<br>
        <span style="color: #6f6f6f">+33160764436</span>
        <br>
<span style="font-size: 12px; color: #6F6F6F">9 rue Charles Fourier - 91011 Evry Cedex</span><br>
<span style="font-size: 12px;"><a href="https://www.imt-bs.eu" style="color: #000000;" target="_blank"><strong>www.imt-bs.eu</strong></a></span> - 
<span style="font-size: 12px;"><a href="https://www.telecom-sudparis.eu" style="color: #000000;" target="_blank"><strong>www.telecom-sudparis.eu</strong></a></span>
</div></td>
</tr>
</tbody></table></div></div></div></body></html>