Importing wild VM 4.14.2

I am running a 2 nodes cluster + the sunstone, and the main purpose of this infrastructure was to migrate all the VM’s that we have in Xen servers to this cloud, so what I did it was to convert the xen images to qcow2, which are able to run over the KVM hosts. Once I’ve got this VM running (I can access to it from virt-manager that I have installed on the cluster), I try to import it following the instructions from Opennebula but it throws the following error:

Tue Jul 5 10:34:39 2016 [Z0][ReM][E]: Req:9536 UID:0 VirtualMachineAllocate result FAILURE [VirtualMachineAllocate] Error allocating a new virtual machine. Parse error: syntax error, unexpected CBRACKET, expecting VARIABLE at line 12, columns 143:147

More over, I’ve tried different approaches to try to migrate my current infrastructure to the cloud, but it didn’t work out . For example I’ve tried replacing the disk image with a VM that is already defined in the cloud, or creating an image and attaching this to an existing VM, or even creating a template based on that image (qcow2 file)

Not sure if this might be related, but the image contains /dev/vda1 and /dev/mapper/VolGroup_root
being vda1 /boot and the VG the rest of the filesystem

I hope you can shed light on this.



Please add some more info, like virsh dumpxml of the subjected VM

Kind Regards,
Anton Todorov

Here is the xml definition for this machine:

c02:~ # virsh dumpxml bscesweb03
+<domain type='kvm' id='19'>
  <description>VM Description</description>
  <memory unit='KiB'>1560576</memory>
  <currentMemory unit='KiB'>1560576</currentMemory>
  <vcpu placement='static'>1</vcpu>
    <type arch='x86_64' machine='pc-i440fx-1.4'>hvm</type>
    <boot dev='hd'/>
  <clock offset='utc'/>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/data/VM-jandres/bscesgf/image01.qcow2'/>
      <target dev='vda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci0'/>
    <input type='mouse' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' listen=''>
      <listen type='address' address=''/>
      <model type='cirrus' vram='9216' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
  <seclabel type='none'/>

Let me know if you need more info.