<div dir="ltr">This was an intentional design to depend on dogpile.cache due to the mechanism of caching (using decorators).  This is partially the nature of the method of caching implementation.  It should have been installed in devstack based upon the requirements.txt having it in there.  Making it an optional import is likely going to take a significant amount of refactoring.  My guess is that it's going to be a bit late in the cycle, but we will see what comes up.<div>

<br></div><div>--Morgan Fainberg</div><div>IRC: morganfainberg</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 8:21 AM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div class="im">On Wed, Sep 4, 2013 at 9:58 AM, David Stanek <span dir="ltr"><<a href="mailto:dstanek@dstanek.com" target="_blank">dstanek@dstanek.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div><br><div class="gmail_quote">On Wed, Sep 4, 2013 at 10:23 AM, Dolph Mathews <span dir="ltr"><<a href="mailto:dolph.mathews@gmail.com" target="_blank">dolph.mathews@gmail.com</a>></span> wrote:<br>



<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><div>On Wed, Sep 4, 2013 at 9:14 AM, Salvatore Orlando <span dir="ltr"><<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>></span> wrote:<br>




<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div>whenever I run devstack keystone falies to start because dogpile.cache is not installed; this is easily solved by installing it, but I wonder if it should be in requirements.txt</div>




<div>Also, since the cache appears to be disabled by default (and I'm not enabling it in my localrc), I'm not sure why I am hitting this error, as I would expect the caching module to not be loaded at all.<br>
</div><div><br></div></div></blockquote><div><br></div></div><div>That sounds like a bug! It should only be a hard requirement if keystone.conf [cache] enabled=True<br></div><div><br></div></div></div></div>
<br></blockquote></div><br></div>Currently keystone.assignment.core imports keystone.common.cache with ends up depending on dogpile.  The current implementation does depend on dogpile even if caching isn't being used.</div>


</div></blockquote><div><br></div></div><div>++ I just poked around with making it an optional dependency and it looks like it would require quite a bit of refactoring... probably too much this late in the cycle.</div><div>

 </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div dir="ltr"><div class="gmail_extra"><span><font color="#888888"><br clear="all">
<div><br></div><div><br></div>-- <br>David<br>blog: <a href="http://www.traceback.org" target="_blank">http://www.traceback.org</a><br>twitter: <a href="http://twitter.com/dstanek" target="_blank">http://twitter.com/dstanek</a><div>



www: <a href="http://dstanek.com" target="_blank">http://dstanek.com</a></div>
</font></span></div></div>
<br></div><div class="im">_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">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></div></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><br></div>-Dolph
</font></span></div></div>
<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>
<br></blockquote></div><br></div>