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

2013-07-11 Thread Maciej GaƂkiewicz
On 12 March 2013 21:38, Josh Durgin wrote: > Yes, it works with true live migration just fine (even with caching). You > can use "virsh migrate" or even do it through the virt-manager gui. > Nova is just doing a check that doesn't make sense for volume-backed > instances with live migration there

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

2013-03-13 Thread Travis Rhoden
Just for posterity, my ultimate solution was to patch nova on each compute host to always return True in _check_shared_storage_test_file (nova/virt/libvirt/driver.py) This did make migration work with "nova live-migration", with one caveat. Since Nova is assuming that /var/lib/nova/instances is o

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

2013-03-12 Thread Travis Rhoden
On Tue, Mar 12, 2013 at 5:06 PM, Josh Durgin wrote: > On 03/12/2013 01:48 PM, Travis Rhoden wrote: > >> Hi Josh, >> >> Thanks for the info. So if I want to do live migration with VMs that were >> launched with boot-from-volume, I'll need to use virsh to do the >> migration, >> rather than Nova.

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

2013-03-12 Thread Josh Durgin
On 03/12/2013 01:48 PM, Travis Rhoden wrote: Hi Josh, Thanks for the info. So if I want to do live migration with VMs that were launched with boot-from-volume, I'll need to use virsh to do the migration, rather than Nova. Okay, that should be doable. As an aside, I will probably want to look

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

2013-03-12 Thread Travis Rhoden
Hi Josh, Thanks for the info. So if I want to do live migration with VMs that were launched with boot-from-volume, I'll need to use virsh to do the migration, rather than Nova. Okay, that should be doable. As an aside, I will probably want to look at the OpenStack DB and figure out how to tell

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

2013-03-12 Thread Josh Durgin
On 03/12/2013 01:28 PM, Travis Rhoden wrote: Thanks for the response, Trevor. The root disk (/var/lib/nova/instances) must be on shared storage to run the live migrate. I would argue that it is on shared storage. It is an RBD stored in Ceph, and that's available at each host via librbd. A

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

2013-03-12 Thread Travis Rhoden
Thanks for the response, Trevor. > The root disk (/var/lib/nova/instances) must be on shared storage to run > the live migrate. > I would argue that it is on shared storage. It is an RBD stored in Ceph, and that's available at each host via librbd. You should be able to run block migration (whi

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

2013-03-12 Thread tra26
Travis, The root disk (/var/lib/nova/instances) must be on shared storage to run the live migrate. You should be able to run block migration (which is a different form of the live-migration) that does not require shared storage. Take a look at: http://www.sebastien-han.fr/blog/2012/07/12/op

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

2013-03-12 Thread Travis Rhoden
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