Migration disabled: failed to allocate shared memory

asked 2016-08-01 23:06:06 -0500

This is on a Liberty cloud that I just updated from Kilo. As the kernel has been updated as well, all physical hosts have to be rebooted. I am trying to migrate an instance away from a compute host before rebooting that host. All compute hosts use the libvirt/KVM driver.

This is the command:

nova  live-migration --block-migrate <instance ID>

Nova initiates the migration process, as evidenced by the instance status MIGRATING. But then, the instance remains on the compute node. On the originating compute node, I find the following error in /var/log/libvirt/libvirt.log:

2016-08-02 04:10:34.849+0000: 37202: error : qemuMonitorJSONCheckError:381 : internal error: unable to execute QEMU command 'migrate': Migration disabled: failed to allocate shared memory

This compute node has 32GB memory and is rather idle.

The destination host has these errors, obviously related since the timestamp is the same (I tried this several times):

2016-08-02 04:10:34.892+0000: 22422: error : qemuMonitorIO:715 : internal error: End of file from monitor
2016-08-02 04:10:34.892+0000: 22422: error : qemuMonitorIO:750 : internal error: early end of file from monitor: possible problem:
2016-08-02T04:10:34.851324Z qemu-system-x86_64: Not a migration stream
2016-08-02T04:10:34.851487Z qemu-system-x86_64: load of migration failed: Invalid argument

I could try to run the same migrate command manually, but what is the precise command? Any other idea how I can dig deeper? Are there debug settings that I could try? I set log_level=1 in libvirt.conf, without any difference.

edit retag flag offensive close merge delete