Re: [ceph-users] RBD for ephemeral

2014-05-20 Thread Pierre Grandin
On Tue, May 20, 2014 at 10:27 AM, Pierre Grandin < pierre.gran...@tubemogul.com> wrote: > Ok i found the error with my code. So if i try to do the snapshot with the > image and volume from my previous mail, it works : > > import rbd > import rados > > cluster = rados.Rados(conffile='/etc/ceph/cep

Re: [ceph-users] RBD for ephemeral

2014-05-20 Thread Pierre Grandin
On Tue, May 20, 2014 at 10:14 AM, Pierre Grandin < pierre.gran...@tubemogul.com> wrote: > > After digging some more, i've narrowed to this call : > > https://github.com/jdurgin/nova/blob/havana-ephemeral-rbd/nova/virt/libvirt/imagebackend.py#L787-792 > > The clone seems to fail, as the volume is n

Re: [ceph-users] RBD for ephemeral

2014-05-20 Thread Pierre Grandin
On Mon, May 19, 2014 at 2:27 PM, Pierre Grandin < pierre.gran...@tubemogul.com> wrote: > With the help of Josh on IRC, we found that actually the > glance_api_version directive has to be in the [default] block of your > cinder.conf ( i happen to have two storage backends and this directive was > i

Re: [ceph-users] RBD for ephemeral

2014-05-19 Thread Pierre Grandin
With the help of Josh on IRC, we found that actually the glance_api_version directive has to be in the [default] block of your cinder.conf ( i happen to have two storage backends and this directive was in my rbd block). After fixing this config my volumes created via cinder are indeed COW. Now I

Re: [ceph-users] RBD for ephemeral

2014-05-19 Thread Michael J. Kidd
After sending my earlier email, I found another commit that was merged in March: https://review.openstack.org/#/c/59149/ Seems to follow a newer image handling technique that was being sought which prevented the first patch from being merged in... Michael J. Kidd Sr. Storage Consultant Inktank Pr

Re: [ceph-users] RBD for ephemeral

2014-05-19 Thread Pierre Grandin
Actually you can get the patched code from here for Havana : https://github.com/jdurgin/nova/tree/havana-ephemeral-rbd But i'm still trying to get it to work (in my case the volumes are still copies, and not copy on write). On Mon, May 19, 2014 at 7:19 AM, Michael J. Kidd wrote: > Since the sta

Re: [ceph-users] RBD for ephemeral

2014-05-19 Thread Michael J. Kidd
Since the status is 'Abandoned', it would appear that the fix has not been merged into any release of OpenStack. Thanks, Michael J. Kidd Sr. Storage Consultant Inktank Professional Services On Sun, May 18, 2014 at 5:13 PM, Yuming Ma (yumima) wrote: > Wondering what is the status of this fix >

[ceph-users] RBD for ephemeral

2014-05-18 Thread Yuming Ma (yumima)
Wondering what is the status of this fix https://review.openstack.org/#/c/46879/? Which release has it? — Yuming ___ ceph-users mailing list ceph-users@lists.ceph.com http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com