← Back to team overview

openstack team mailing list archive

Re: Redis vs OpenLDAP?


On Wed, Oct 6, 2010 at 10:32 AM, Mika Kohonen
<mika.kohonen.1986@xxxxxxxxx> wrote:
> Hi all,
> I'm having a look at the Nova platform and I must admit I'm impressed.
> I'm testing different configurations and I don't understand what are
> exactly the benefits of using Redis vs OpenLDAP.

Don't think too much about it :) Redis is being entirely removed.

> The default configuration is Redis based, but from a classic system
> administrator perspective, OpenLDAP is much more mature and I know
> about it, but Redis is new, looks sexy, but I don't know if it's worth
> to use it instead of OpenLDAP.

OK, so right now there is a FakeLDAP driver that uses Redis to store
LDAP DNs.  This is being rewritten to remove the Redis dependency.
The real LDAPdriver in /nova/auth/ldapdriver.py uses the plain old
python-ldap module to connect to a real LDAP store.  Whether you use
OpenLDAP or some other LDAP driver under the covers is completely up
to you. :)

> Thinking in the long term, can you give some hints about the roadmap
> of Nova and if I should go with Redis instead of OpenLDAP?

See above. It's not about Redis vs. OpenLDAP.  :)  AFAIK, Nova uses
slapd (the OpenLDAP LDAP daemon) as the default LDAP daemon if you
don't use the "faked" LDAP driver.


Follow ups