<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Hello</div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I found a workaround to that pb of
      vzmigrate  VM: PRL_ERR_READ_XML_CONTENT</div>
    <div class="moz-cite-prefix">I virsh edit the VM and changed
      multiple parameters with no success, then with change in graphics
      vnc parameters it became possible to migrate again ! now I have: 
      <br>
    </div>
    <div class="moz-cite-prefix">   &lt;graphics type='vnc' port='-1'
      autoport='yes' websocket='-1' listen='::1' passwd='secret'&gt;<br>
    </div>
    <div class="moz-cite-prefix">autoport was set to "no" and a static
      portnumber was set <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Now that I can migrate the VM , I am
      still stuck in another pb , that VM that has a hda drive on an IDE
      controler, cannot start on a VZ host , but can on another one [1]
      and can always with virsh start !? <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix"><i>[root@olymp qemu]# prlctl start
        eonimte</i><i><br>
      </i><i>Starting the VM...</i><i><br>
      </i><i>Failed to start the VM: Operation failed. Failed to execute
        the operation. (Details: unsupported configuration: Only scsi
        disk supports vendor and product)</i><i><br>
      </i><i>[root@olymp qemu]# uname -a </i><i><br>
      </i><i>Linux olymp.int.fr 3.10.0-862.20.2.vz7.73.29 #1 SMP Thu Feb
        21 17:35:43 MSK 2019 x86_64 x86_64 x86_64 GNU/Linux</i></div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">I am still searching why . <br>
    </div>
    <div class="moz-cite-prefix">If you have any idea why IDE disk
      cannot be started by prlctl command !? <br>
    </div>
    <div class="moz-cite-prefix">it can be started with KVM virsh start
      though ! <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">thanks for your help . <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">regards . <br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">PS [1] where IDE drive works is on:
      qemu-kvm-vz-2.10.0-21.7.vz7.67.x86_64</div>
    <div class="moz-cite-prefix">where it doesn't :
      qemu-kvm-vz-2.12.0-18.6.3.vz7.21.6.x86_64<br>
    </div>
    <div class="moz-cite-prefix"><br>
    </div>
    <div class="moz-cite-prefix">Le 07/08/2019 à 12:58, Jehan PROCACCIA
      a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:1525045381.4416270.1565175525503.JavaMail.zimbra@imtbs-tsp.eu">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <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:  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  ()<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    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> &lt;disk type='file' device='disk'&gt;<br>
                &lt;driver name='qemu' type='qcow2'/&gt;<br>
                &lt;source file='<strong>/vz/vmprivate/60d7f6ed-bfa0-40d4-8bc2-c5a705ebb553/eonimtevIDE.qcow2'</strong>/&gt;<br>
                &lt;target dev='hda' bus='ide'/&gt;<br>
                &lt;boot order='1'/&gt;<br>
                &lt;address type='drive' controller='0' bus='0'
          target='0' unit='0'/&gt;<br>
              &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  6 août  23:35 .<br>
          drwx------ 5 root root 4096  6 août  22:44 ..<br>
          -rw------- 1 root root 4685  6 août  23:35 eonimtev.xml<br>
          <br data-mce-bogus="1">
        </div>
        <div>1) What is wrong with this  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  by
          copying it's /etc/libvirt/qemu/vm.xml and disk image to a  '<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;"
                      moz-do-not-send="true"></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;"
                      moz-do-not-send="true"></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"
                          moz-do-not-send="true"><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"
                          moz-do-not-send="true"><strong>www.telecom-sudparis.eu</strong></a></span>
                    </div>
                  </td>
                </tr>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </blockquote>
    <p><br>
    </p>
  </body>
</html>