Live migration of LVM-backed instances?

asked 2016-10-14 05:44:48 -0600

This is a Mitaka cloud using KVM. To test ephemeral storage encryption, LVM-based ephemeral storage is configured for Nova.

Block live migration (nova live-migration --block-migrate) fails consistently. The error message in /var/log/libvirt/libvirt.log is "error : qemuMigrationPrecreateDisk:1540 : internal error: cannot precreate storage for disk type 'block'". I didn't find this error cited anywhere, but if I understand the code in the libvirt source correctly, block devices can't be live-migrated in principle.

This seems to mean that LVM-backed instances, and therefore instances with encrypted ephemeral storage can't be live-migrated. Is that correct? Or is there an option or config setting that enables live-migration of such instances?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-09-15 09:32:16 -0600

cshen gravatar image

We have met the same problem.

It's not possible to live migrate lvm-based instance.

It's only possible with file-based.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-10-14 05:44:48 -0600

Seen: 894 times

Last updated: Sep 15 '17