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.math...@gmail.com>wrote: > > On Wed, Sep 4, 2013 at 9:58 AM, David Stanek <dsta...@dstanek.com> wrote: > >> >> >> On Wed, Sep 4, 2013 at 10:23 AM, Dolph Mathews >> <dolph.math...@gmail.com>wrote: >> >>> >>> On Wed, Sep 4, 2013 at 9:14 AM, Salvatore Orlando >>> <sorla...@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@lists.openstack.org >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > > -- > > -Dolph > > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev