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

Morgan Fainberg m at metacloud.com
Wed Sep 4 17:31:00 UTC 2013


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.

--Morgan Fainberg
IRC: morganfainberg


On Wed, Sep 4, 2013 at 8:21 AM, Dolph Mathews <dolph.mathews at gmail.com>wrote:

>
> 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
>
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130904/cba827c6/attachment.html>


More information about the OpenStack-dev mailing list