<div dir="ltr">Hey Henry/Folks,<div><br></div><div>I think it could make sense for Glance to store the volume UUID, the idea is that no matter where an image is stored it should be *owned* by Glance and not deleted out from under it. But that is more of a single tenant vs multi tenant cinder store. </div><div><br></div><div>It makes sense for Cinder to at least abstract all of the block storage needs. Glance and any other service should reuse Cinders ability to talk to certain backends. It would be wasted effort to reimplement Cinder drivers as Glance stores. I do agree with Duncan that a great way to solve these issues is a third party transfer service, which others and I in the Glance community have discussed at numerous summits (since San Diego).</div><div><br></div><div>-Alex</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 19, 2014 at 3:40 AM, henry hly <span dir="ltr"><<a href="mailto:henry4hly@gmail.com" target="_blank">henry4hly@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Flavio,<br>
<br>
Thanks for your information about Cinder Store, Yet I have a little<br>
concern about Cinder backend: Suppose cinder and glance both use Ceph<br>
as Store, then if cinder can do instant copy to glance by ceph clone<br>
(maybe not now but some time later), what information would be stored<br>
in glance? Obviously volume UUID is not a good choice, because after<br>
volume is deleted then image can't be referenced. The best choice is<br>
that cloned ceph object URI also be stored in glance location, letting<br>
both glance and cinder see the "backend store details".<br>
<br>
However, although it really make sense for Ceph like All-in-one Store,<br>
I'm not sure if iscsi backend can be used the same way.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Nov 19, 2014 at 4:00 PM, Flavio Percoco <<a href="mailto:flavio@redhat.com">flavio@redhat.com</a>> wrote:<br>
> On 19/11/14 15:21 +0800, henry hly wrote:<br>
>><br>
>> In the Previous BP [1], support for iscsi backend is introduced into<br>
>> glance. However, it was abandoned because of Cinder backend<br>
>> replacement.<br>
>><br>
>> The reason is that all storage backend details should be hidden by<br>
>> cinder, not exposed to other projects. However, with more and more<br>
>> interest in "Converged Storage" like Ceph, it's necessary to expose<br>
>> storage backend to glance as well as cinder.<br>
>><br>
>> An example is that when transferring bits between volume and image,<br>
>> we can utilize advanced storage offload capability like linked clone<br>
>> to do very fast instant copy. Maybe we need a more general glance<br>
>> backend location support not only with iscsi.<br>
>><br>
>><br>
>><br>
>> [1] <a href="https://blueprints.launchpad.net/glance/+spec/iscsi-backend-store" target="_blank">https://blueprints.launchpad.net/glance/+spec/iscsi-backend-store</a><br>
><br>
><br>
> Hey Henry,<br>
><br>
> This blueprint has been superseeded by one proposing a Cinder store<br>
> for Glance. The Cinder store is, unfortunately, in a sorry state.<br>
> Short story, it's not fully implemented.<br>
><br>
> I truly think Glance is not the place where you'd have an iscsi store,<br>
> that's Cinder's field and the best way to achieve what you want is by<br>
> having a fully implemented Cinder store that doesn't rely on Cinder's<br>
> API but has access to the volumes.<br>
><br>
> Unfortunately, this is not possible now and I don't think it'll be<br>
> possible until L (or even M?).<br>
><br>
> FWIW, I think the use case you've mentioned is useful and it's<br>
> something we have in our TODO list.<br>
><br>
> Cheers,<br>
> Flavio<br>
><br>
> --<br>
> @flaper87<br>
> Flavio Percoco<br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>