<div dir="ltr">Hi Moshe! Thank you for your interest in the project. I answered your questions below.<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 7, 2016 at 3:13 PM, Elisha, Moshe (Nokia - IL) <span dir="ltr"><<a href="mailto:moshe.elisha@nokia.com" target="_blank">moshe.elisha@nokia.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="EN-US">
<div class="gmail-m_-7637973333546915128WordSection1">
<p class="MsoNormal">Hi,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">My name is Moshe Elisha and I work at CloudBand, Nokia.<u></u><u></u></p>
<p class="MsoNormal">I watched "Glare - A Unified Binary Repository for OpenStack[1]" and it looks very nice and useful.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">We are considering using Glare as a standalone artifacts repository.<u></u><u></u></p>
<p class="MsoNormal">We have two main use cases:<u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>A.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Create a custom artifact_type which basically has one archive file (BLOB).<u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>B.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Use "images" artifact type to store images.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have a few questions that I couldn't find the answer for and I would appreciate it if you could please reply:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>1.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>What dependencies does Glare have on other OpenStack services? Is it only a dependency in Keystone?</p></div></div></blockquote><div style="font-size:12.8px">Glare may be a standalone service: for example for App-Catalog we use it with custom auth middleware without Keystone. Another optional dependency is Swift.<span style="font-size:small"> </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>2.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>I saw that there is a way to implement a "validate_upload" hook. Is there a support for an async validation process (in case validation process is long)?</p></div></div></blockquote><div style="font-size:12.8px">For big files uploads we're going to implement integration with OpenStack Mistral to have them as asynchronous tasks. Currently all uploads are synchronous.<span style="font-size:small"> </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>3.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Is there a way to define the "backend" used per artifact_type? For example, "heat_templates" will be stored on "File system" and "images" will be stored on "Ceph"?</p></div></div></blockquote><div><span style="font-size:12.8px">For your particular case - yes. You may specify function "get_default_store" for you artifact type and return desired backend. It's highly flexible and allows to define your backend dynamically, based on user's context, current artifact values or blob name. Unfortunately glance_store doesn't support several backends of one type, like 3 different cephs. I believe it will be achieved during Ocata cycle and we'll be able to talk about true multibackendness :)</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>4.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Were there talks about a "Database" backend? Probably only relevant for some artifact types.</p></div></div></blockquote><div><span style="font-size:12.8px">For doing this we will have to add new driver to glance_store and I'm 100% sure that glance community will be against this initiative. But it's doable: in the worst case we can get rid of glance_store library and add all the necessary functionality right in Glare repo.</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>5.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Disregarding the "backend" used – is there anything that prevents Glare from running in HA active/active mode?</p></div></div></blockquote><div style="font-size:12.8px">I do not see any obstacles.<span style="font-size:small"> </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>6.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>With regards to "backend" – which of the currently supported backends is preferable in order to achieve HA active/active mode?</p></div></div></blockquote><div style="font-size:12.8px">If I understand you correctly - all, except 'file'.<span style="font-size:small"> </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>7.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>I noticed that there is a puppet-glare[2] project. Can you please share the status of that project?</p></div></div></blockquote><div><span style="font-size:12.8px">Frankly speaking I don't know. Some Mirantis folks worked on it a month ago, but now they don't. All I know - this puppet is good enough for deploying new App-Catalog with Glare backend.</span> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><span>8.<span style="font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:7pt;line-height:normal;font-family:"times new roman"">
</span></span><u></u><span dir="LTR"></span>Is there any work being done for creating RPMs for glare?</p></div></div></blockquote><div style="font-size:12.8px">Afaik no. We need a volunteer from RDO community for this.<span style="font-size:small"> </span></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div lang="EN-US"><div class="gmail-m_-7637973333546915128WordSection1"><p class="gmail-m_-7637973333546915128MsoListParagraph"><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[1] <a href="https://www.youtube.com/watch?v=uBtqdXciF4A" target="_blank">https://www.youtube.com/watch?<wbr>v=uBtqdXciF4A</a>
<u></u><u></u></p>
<p class="MsoNormal">[2] <a href="https://github.com/openstack/puppet-glare" target="_blank">https://github.com/openstack/<wbr>puppet-glare</a><u></u><u></u></p>
<p class="MsoNormal">[3] <a href="https://github.com/openstack-packages" target="_blank">https://github.com/openstack-<wbr>packages</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Moshe Elisha,<u></u><u></u></p>
<p class="MsoNormal">R&D Director,<u></u><u></u></p>
<p class="MsoNormal">CloudBand Network Director, Nokia.<u></u><u></u></p>
</div>
</div>
<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div></div>