<div dir="ltr">Matt, thanks for catching this.<div><br></div><div>BTW That's an interesting idea of supporting different tenants.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jan 24, 2014 at 11:04 PM, Matthew Farrellee <span dir="ltr"><<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks for all the feedback folks.. i've registered a bp for this...<br>
<br>
<a href="https://blueprints.launchpad.net/savanna/+spec/swift-url-proto-cleanup" target="_blank">https://blueprints.launchpad.<u></u>net/savanna/+spec/swift-url-<u></u>proto-cleanup</a><div class="im"><br>
<br>
On 01/24/2014 11:30 AM, Sergey Lukjanov wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Looks like we need to review prefixes and cleanup them. After the first<br>
look I'd like the idea of using common prefix for swift data.<br>
<br>
<br>
On Fri, Jan 24, 2014 at 7:05 PM, Trevor McKay <<a href="mailto:tmckay@redhat.com" target="_blank">tmckay@redhat.com</a><br></div><div><div class="h5">
<mailto:<a href="mailto:tmckay@redhat.com" target="_blank">tmckay@redhat.com</a>>> wrote:<br>
<br>
    Matt et al,<br>
<br>
       Yes, "swift-internal" was meant as a marker to distinguish it from<br>
    "swift-external" someday. I agree, this could be indicated by setting<br>
    other fields.<br>
<br>
    Little bit of implementation detail for scope:<br>
<br>
       In the current EDP implementation, SWIFT_INTERNAL_PREFIX shows up in<br>
    essentially two places.  One is validation (pretty easy to change).<br>
<br>
       The other is in Savanna's binary_retrievers module where, as others<br>
    suggested, the auth url (proto, host, port, api) and admin tenant from<br>
    the savanna configuration are used with the user/passw to make a<br>
    connection through the swift client.<br>
<br>
       Handling of different types of job binaries is done in<br>
    binary_retrievers/dispatch.py, where the URL determines the treatment.<br>
    This could easily be extended to look at other indicators.<br>
<br>
    Best,<br>
<br>
    Trev<br>
<br>
    On Fri, 2014-01-24 at 07:50 -0500, Matthew Farrellee wrote:<br>
     > andrew,<br>
     ><br>
     > what about having swift:// which defaults to the configured<br>
    tenant and<br>
     > auth url for what we now call swift-internal, and we allow for user<br>
     > input to change tenant and auth url for what would be swift-external?<br>
     ><br>
     > in fact, we may need to add the tenant selection in icehouse. it's a<br>
     > pretty big limitation to only allow a single tenant.<br>
     ><br>
     > best,<br>
     ><br>
     ><br>
     > matt<br>
     ><br>
     > On 01/23/2014 11:15 PM, Andrew Lazarev wrote:<br>
     > > Matt,<br>
     > ><br>
     > > For swift-internal we are using the same keystone (and identity<br>
    protocol<br>
     > > version) as for savanna. Also savanna admin tenant is used.<br>
     > ><br>
     > > Thanks,<br>
     > > Andrew.<br>
     > ><br>
     > ><br>
     > > On Thu, Jan 23, 2014 at 6:17 PM, Matthew Farrellee<br>
    <<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>><br></div></div><div><div class="h5">
     > > <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>>>> wrote:<br>
     > ><br>
     > >     what makes it internal vs external?<br>
     > ><br>
     > >     swift-internal needs user & pass<br>
     > ><br>
     > >     swift-external needs user & pass & ?auth url?<br>
     > ><br>
     > >     best,<br>
     > ><br>
     > ><br>
     > >     matt<br>
     > ><br>
     > >     On 01/23/2014 08:43 PM, Andrew Lazarev wrote:<br>
     > ><br>
     > >         Matt,<br>
     > ><br>
     > >         I can easily imagine situation when job binaries are<br>
    stored in<br>
     > >         external<br>
     > >         HDFS or external SWIFT (like data sources). Internal and<br>
     > >         external swifts<br>
     > >         are different since we need additional credentials.<br>
     > ><br>
     > >         Thanks,<br>
     > >         Andrew.<br>
     > ><br>
     > ><br>
     > >         On Thu, Jan 23, 2014 at 5:30 PM, Matthew Farrellee<br>
     > >         <<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>><br>
    <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>>><br>
     > >         <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>><br>
    <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a> <mailto:<a href="mailto:matt@redhat.com" target="_blank">matt@redhat.com</a>>>>> wrote:<br>
     > ><br>
     > >              trevor,<br>
     > ><br>
     > >              job binaries are stored in swift or an internal<br>
    savanna db,<br>
     > >              represented by swift-internal:// and savanna-db://<br>
     > >         respectively.<br>
     > ><br>
     > >              why swift-internal:// and not just swift://?<br>
     > ><br>
     > >              fyi, i see mention of a potential future version<br>
    of savanna w/<br>
     > >              swift-external://<br>
     > ><br>
     > >              best,<br>
     > ><br>
     > ><br>
     > >              matt<br>
     > ><br>
     > >              ______________________________<u></u>_____________________<br>
     > >              OpenStack-dev mailing list<br>
     > >              OpenStack-dev@lists.openstack.<u></u>____org<br>
     > >              <mailto:<a href="mailto:OpenStack-dev@lists" target="_blank">OpenStack-dev@lists</a>.<br></div></div>
    <mailto:<a href="mailto:OpenStack-dev@lists" target="_blank">OpenStack-dev@lists</a>.>_<u></u>_<a href="http://openstack.org" target="_blank">openstack.org</a> <<a href="http://openstack.org" target="_blank">http://openstack.org</a>><br>

     > >         <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a><div class="im"><br>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>>>><br>
     > ><br>
    <a href="http://lists.openstack.org/____cgi-bin/mailman/listinfo/____openstack-dev" target="_blank">http://lists.openstack.org/___<u></u>_cgi-bin/mailman/listinfo/____<u></u>openstack-dev</a><br>
     > ><br>
    <<a href="http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev" target="_blank">http://lists.openstack.org/__<u></u>cgi-bin/mailman/listinfo/__<u></u>openstack-dev</a>><br>
     > ><br>
    <<a href="http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev" target="_blank">http://lists.openstack.org/__<u></u>cgi-bin/mailman/listinfo/__<u></u>openstack-dev</a><br>
     > ><br>
    <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a>>><br>
     > ><br>
     > ><br>
     > ><br>
     > ><br>
     > >         ______________________________<u></u>___________________<br>
     > >         OpenStack-dev mailing list<br>
     > >         OpenStack-dev@lists.openstack.<u></u>__org<br>
     > >         <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a><br>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>>><br>
     > ><br>
    <a href="http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev" target="_blank">http://lists.openstack.org/__<u></u>cgi-bin/mailman/listinfo/__<u></u>openstack-dev</a><br>
     > ><br>
    <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a>><br>
     > ><br>
     > ><br>
     > ><br>
     > >     ______________________________<u></u>___________________<br>
     > >     OpenStack-dev mailing list<br>
     > >     OpenStack-dev@lists.openstack.<u></u>__org<br>
     > >     <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a><br>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>>><br>
     > ><br>
    <a href="http://lists.openstack.org/__cgi-bin/mailman/listinfo/__openstack-dev" target="_blank">http://lists.openstack.org/__<u></u>cgi-bin/mailman/listinfo/__<u></u>openstack-dev</a> <<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a>><br>

     > ><br>
     > ><br>
     > ><br>
     > ><br>
     > > ______________________________<u></u>_________________<br>
     > > OpenStack-dev mailing list<br>
     > > <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br></div>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>><div class="im"><br>
     > > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
     > ><br>
     ><br>
     ><br>
     > ______________________________<u></u>_________________<br>
     > OpenStack-dev mailing list<br>
     > <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br></div>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>><div class="im"><br>
     > <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
<br>
<br>
    ______________________________<u></u>_________________<br>
    OpenStack-dev mailing list<br>
    <a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br></div>
    <mailto:<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.<u></u>openstack.org</a>><div class="im"><br>
    <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
<br>
<br>
<br>
--<br>
Sincerely yours,<br>
Sergey Lukjanov<br>
Savanna Technical Lead<br>
Mirantis Inc.<br>
<br>
<br></div><div class="im">
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
<br>
______________________________<u></u>_________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.<u></u>org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/<u></u>cgi-bin/mailman/listinfo/<u></u>openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>Sincerely yours,</div><div>Sergey Lukjanov</div><div>Savanna Technical Lead</div><div>Mirantis Inc.</div></div>
</div>