[ceph-users] Live migration of VM using librbd and OpenStack

Travis Rhoden trhoden at gmail.com
Tue Mar 12 12:57:24 PDT 2013


Hey folks,

I'm wondering if the following is possible.  I have OpenStack (Folsom)
configured to boot VMs from volume using Ceph as a backend for Cinder and
Glance.  My setup pretty much follows the Ceph guides for this verbatim.
I've been using this setup for a while now, and it's all been really smooth.

However, I if I try do a live-migration, I get this:

RemoteError: Remote error: RemoteError Remote error:
InvalidSharedStorage_Remote vmhost3 is not on shared storage: Live
migration can not be used without shared storage.

One thing I am doing that may not be normal is that I am trying to do the
"true" live migration in KVM/libvirt, having set this in my nova.conf:

live_migration_flag=VIR_MIGRATE_UNDEFINE_SOURCE,VIR_MIGRATE_PEER2PEER,VIR_MIGRATE_LIVE

Anyone know if this setup should work?  Or if there is something I should
tweak to make it work?  I was thinking that having the RBD available via
librbd at both the source and destination host makes that storage shared
storage.  Perhaps not if I am trying to do live migration?  If I do
OpenStack's normal "live" migration, it will pause the VM and move it,
which is less than ideal, but workable.

Thanks,

 - Travis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20130312/379dacf2/attachment-0003.htm>


More information about the ceph-users mailing list