[openstack-dev] [Keystone][Devstack] is dogpile.cache a requirement?

Dolph Mathews dolph.mathews at gmail.com
Wed Sep 4 15:21:40 UTC 2013


On Wed, Sep 4, 2013 at 9:58 AM, David Stanek <dstanek at dstanek.com> wrote:

>
>
> On Wed, Sep 4, 2013 at 10:23 AM, Dolph Mathews <dolph.mathews at gmail.com>wrote:
>
>>
>> On Wed, Sep 4, 2013 at 9:14 AM, Salvatore Orlando <sorlando at nicira.com>wrote:
>>
>>> 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
>>> 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.
>>>
>>>
>> That sounds like a bug! It should only be a hard requirement if
>> keystone.conf [cache] enabled=True
>>
>>
>>
> 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.
>

++ 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.


>
>
>
> --
> David
> blog: http://www.traceback.org
> twitter: http://twitter.com/dstanek
> www: http://dstanek.com
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 

-Dolph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130904/671c6457/attachment.html>


More information about the OpenStack-dev mailing list