# Live migrate between Xenial and Trusty fails

**URL:** https://forum.opennebula.io/t/live-migrate-between-xenial-and-trusty-fails/4612
**Category:** Product Support
**Created:** [July 18, 2017, 10:17am UTC](https://forum.opennebula.io/t/live-migrate-between-xenial-and-trusty-fails/4612 "2017-07-18T10:17:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Raboo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/raboo/32/5249_2.png) [@Raboo](https://forum.opennebula.io/u/Raboo)
#### Post date: [July 18, 2017, 10:17am UTC](https://forum.opennebula.io/t/live-migrate-between-xenial-and-trusty-fails/4612/1 "2017-07-18T10:17:33Z")

</div>

Hi,

I’m in the process of upgrading our cluster from Ubuntu Trusty to Xenial.  
I can live migrate vm instances from Trusty to Xenial, but not the other way around.  
This is the information I get when I try to live migrate a node from Xenial to Trusty.

```
Tue Jul 18 12:01:00 2017 [Z0][VM][I]: New LCM state is MIGRATE
Tue Jul 18 12:01:04 2017 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_premigrate.
Tue Jul 18 12:01:04 2017 [Z0][VMM][I]: ExitCode: 0
Tue Jul 18 12:01:04 2017 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Tue Jul 18 12:01:10 2017 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/lib/one/vmm/kvm/migrate 'one-473' 'vm07' 'vm09' 473 vm09
Tue Jul 18 12:01:10 2017 [Z0][VMM][E]: migrate: Command "virsh --connect qemu:///system migrate --live one-473 qemu+ssh://vm07/system" failed: error: Unable to read from monitor: Connection reset by peer
Tue Jul 18 12:01:10 2017 [Z0][VMM][E]: Could not migrate one-473 to vm07
Tue Jul 18 12:01:10 2017 [Z0][VMM][I]: ExitCode: 1
Tue Jul 18 12:01:10 2017 [Z0][VMM][I]: Successfully execute transfer manager driver operation: tm_failmigrate.
Tue Jul 18 12:01:10 2017 [Z0][VMM][I]: Failed to execute virtualization driver operation: migrate.
Tue Jul 18 12:01:10 2017 [Z0][VMM][E]: Error live migrating VM: Could not migrate one-473 to vm07
Tue Jul 18 12:01:11 2017 [Z0][VM][I]: New LCM state is RUNNING
Tue Jul 18 12:01:16 2017 [Z0][LCM][I]: Fail to live migrate VM. Assuming that the VM is still RUNNING (will poll VM).

```

Any idea on what could be wrong or how I can dig up more info?

---

<div class="post-metadata">

### Author: ![atodorov\_storpool](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/atodorov_storpool/32/5327_2.png) [@atodorov\_storpool](https://forum.opennebula.io/u/atodorov_storpool)
#### Post date: [July 20, 2017, 11:43am UTC](https://forum.opennebula.io/t/live-migrate-between-xenial-and-trusty-fails/4612/2 "2017-07-20T11:43:17Z")

</div>

Hi,

It is possible the machine type on the “newer” KVM to be unknown to the “older” one.

check what is the machine type on the running VM and what are the available types

> virsh dumpxml $DOMAIN | grep ‘machine=’

> /usr/libexec/qemu-kvm --machine help

On the second command you should figure out what is the “canonical” path and name of the binary though.

Best Regards,  
Anton Todorov

---

<div class="post-metadata">

### Author: ![Raboo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/raboo/32/5249_2.png) [@Raboo](https://forum.opennebula.io/u/Raboo)
#### Post date: [July 20, 2017, 12:18pm UTC](https://forum.opennebula.io/t/live-migrate-between-xenial-and-trusty-fails/4612/3 "2017-07-20T12:18:05Z")

</div>

Well, in this example this is a machine that i live migrated from the trusty host to the xenial host. I still can’t migrate it back to a trusty host.  
So it should be exactly the same type.

```
# virsh dumpxml 14 |grep "machine="
    <type arch='x86_64' machine='pc-i440fx-trusty'>hvm</type>

# /usr/bin/qemu-system-x86_64 --machine help
Supported machines are:
ubuntu Ubuntu 16.04 PC (i440FX + PIIX, 1996) (alias of pc-i440fx-xenial)
pc-i440fx-xenial Ubuntu 16.04 PC (i440FX + PIIX, 1996) (default)
pc-i440fx-wily Ubuntu 15.04 PC (i440FX + PIIX, 1996)
pc-i440fx-vivid Ubuntu 15.04 PC (i440FX + PIIX, 1996)
pc-i440fx-utopic Ubuntu 14.10 PC (i440FX + PIIX, 1996)
pc-i440fx-trusty Ubuntu 14.04 PC (i440FX + PIIX, 1996)
pc Standard PC (i440FX + PIIX, 1996) (alias of pc-i440fx-2.5)
pc-i440fx-2.5 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.4 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.3 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.2 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.1 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-2.0 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.7 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.6 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.5 Standard PC (i440FX + PIIX, 1996)
pc-i440fx-1.4 Standard PC (i440FX + PIIX, 1996)
pc-1.3 Standard PC (i440FX + PIIX, 1996)
pc-1.2 Standard PC (i440FX + PIIX, 1996)
pc-1.1 Standard PC (i440FX + PIIX, 1996)
pc-1.0 Standard PC (i440FX + PIIX, 1996)
pc-0.15 Standard PC (i440FX + PIIX, 1996)
pc-0.14 Standard PC (i440FX + PIIX, 1996)
pc-0.13 Standard PC (i440FX + PIIX, 1996)
pc-0.12 Standard PC (i440FX + PIIX, 1996)
pc-0.11 Standard PC (i440FX + PIIX, 1996)
pc-0.10 Standard PC (i440FX + PIIX, 1996)
pc-q35-xenial Ubuntu 16.04 PC (Q35 + ICH9, 2009)
q35 Standard PC (Q35 + ICH9, 2009) (alias of pc-q35-2.5)
pc-q35-2.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.4 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.3 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.2 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.1 Standard PC (Q35 + ICH9, 2009)
pc-q35-2.0 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.7 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.6 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.5 Standard PC (Q35 + ICH9, 2009)
pc-q35-1.4 Standard PC (Q35 + ICH9, 2009)
isapc ISA-only PC
none empty machine
xenfv Xen Fully-virtualized PC
xenpv Xen Para-virtualized PC
```
