<HTML>
<HEAD>
<TITLE>Re: [Openstack] Glance store question??</TITLE>
</HEAD>
<BODY>
<FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Ok, although I wonder if a plug-in framework could benefit from just being generic enough to be used in either place?<BR>
<BR>
I think he’s focusing on the notification system right now (being more pluggable) there, so that be his scope for now. I’m willing to work together to make that more generic so that it isn’t limited to just that though, this seems like one place that could be fixed easily either way (either via simple fix or via plugins). <BR>
<BR>
On 5/3/12 11:02 AM, "Brian Waldon" <<a href="brian.waldon@rackspace.com">brian.waldon@rackspace.com</a>> wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>He definitely is, but its scope is limited to Nova (for now?). The idea discussed below is something we could use without having to worry about a Glance plugin implementation. We can talk about plugins for Glance later.<BR>
<BR>
Brian<BR>
<BR>
<BR>
On May 3, 2012, at 10:58 AM, Doug Hellmann wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Andrew is doing some work on a plugin architecture. This sounds like another good application of that.<BR>
<BR>
On Wed, May 2, 2012 at 7:01 PM, Joshua Harlow <<a href="harlowja@yahoo-inc.com">harlowja@yahoo-inc.com</a>> wrote:<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Right, if there isn’t that existing, then I think I might just make a blueprint out of that. I just wanted to check beforehand that I am doing this right, or if it already exists and I did it wrong...<BR>
<BR>
Thx :-)<BR>
<BR>
<BR>
On 5/2/12 3:57 PM, "Brian Waldon" <<a href="brian.waldon@rackspace.com">brian.waldon@rackspace.com</a> <<a href="http://brian.waldon@rackspace.com/">http://brian.waldon@rackspace.com/</a>> > wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Jay might have a better answer, but as far as I know, yes. You could probably make the images stores truly pluggable (i.e. not needing to explicitly list them out) without much work.<BR>
<BR>
Brian<BR>
<BR>
<BR>
On May 2, 2012, at 12:23 PM, Joshua Harlow wrote:<BR>
<BR>
</SPAN></FONT><BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Glance store question?? <BR>
Hi all,<BR>
<BR>
I am making a y! specific backing store for glance and I was wondering if its really necessary to modify the following file to ensure that the code for that new store gets pulled in (or maybe I’m just doing it wrong).<BR>
<BR>
diff --git a/glance/api/v1/images.py b/glance/api/v1/images.py<BR>
index 9839d2e..7c4f565 100644<BR>
--- a/glance/api/v1/images.py<BR>
+++ b/glance/api/v1/images.py<BR>
@@ -47,6 +47,7 @@ import glance.store.http<BR>
 import glance.store.rbd<BR>
 import glance.store.s3<BR>
 import glance.store.swift<BR>
+import glance.store.SUPERAWESOMEYSTORE<BR>
 from glance.store import (get_from_backend,<BR>
                           get_size_from_backend,<BR>
                           schedule_delete_from_backend,<BR>
<BR>
Is there another way to make that happen so that it gets registered with glance besides either modifying that file or having a patch which will modify it upon installation (ie an RPM patch)?<BR>
<BR>
Thx!<BR>
<BR>
-Josh <BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a> <<a href="http://openstack@lists.launchpad.net/">http://openstack@lists.launchpad.net/</a>> <BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
_______________________________________________<BR>
Mailing list: <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
Post to     : <a href="openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><BR>
Unsubscribe : <a href="https://launchpad.net/~openstack">https://launchpad.net/~openstack</a><BR>
More help   : <a href="https://help.launchpad.net/ListHelp">https://help.launchpad.net/ListHelp</a><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
</SPAN></FONT></BLOCKQUOTE><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'><BR>
<BR>
</SPAN></FONT></BLOCKQUOTE>
</BODY>
</HTML>