[Openstack] Ceph backed Nova live-migration

Matt Riedemann mriedem at linux.vnet.ibm.com
Tue Jan 13 03:17:32 UTC 2015



On 1/12/2015 1:42 PM, Yagmur Akbulut wrote:
> Hi all,
>
> We are working on nova live-migration using Ceph. Before live-migration,
> Nova does a check to see if the remote is on shared storage.
>
> In order to make this test pass, we have patched Nova to always return
> True in _check_shared_storage_test_file located in
> nova/virt/libvirt/driver.py
>
> The problem here is that since Nova assumes that /var/lib/nova/instances
> is on shared storage on both destination and source, we need to manually
> rsync the /var/lib/nova/instances/instance-id to the destination before
> running nova live-migration.
>
> See the discussion at
> http://t3349.file-systems-ceph-user.file-systemstalk.us/live-migration-of-vm-using-librbd-and-openstack-t3349.html
>
> Currently, Nova doesn’t recognize Ceph backed VMs as being on shared
> storage and doesn’t transfer over the necessary folder before migration.
>
> I was wondering if the feature was already available, or on the feature
> list to be added to Nova.
> Or if we should be patching Nova to copy the folder over to the
> destination before live-migration.
>
> Regards,
> Yagmur Akbulut
>
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>

Which release are you on?  There have been a few bugs fixed for 
ceph-backed instances and migrations in the last few months, I'm not 
sure how many got into Juno though.

-- 

Thanks,

Matt Riedemann





More information about the Openstack mailing list