[Openstack] devstack + ldap

Craig Jellick cjellick at godaddy.com
Thu Mar 6 15:51:07 UTC 2014


Hi,

I cannot get devstack + ldap working. I've tried on Ubuntu and CentOS vms and in both cases I get a similar error:

In Ubuntu:
+ ldapdelete -x -w test -D cn=Manager,dc=openstack,dc=org -H ldap://localhost -r dc=openstack,dc=org
ldap_search: No such object (32)

In CentOS, it's a bit more verbose, but still results in an ldap No such object (32) error:
+ local infile=/home/vagrant/devstack/files/ldap/manager.ldif.in
+ sed -e '
        s|${LDAP_OLCDB_NUMBER}|2|
        s|${SLAPPASS}|{SSHA}ub5DT7KsuOe/t9bZM2R2xcwV3bD9DEnI|
        s|${LDAP_ROOTPW_COMMAND}|add|
        s|${BASE_DC}|openstack|
        s|${BASE_DN}|dc=openstack,dc=org|
        s|${MANAGER_DN}|cn=Manager,dc=openstack,dc=org|
    ' /home/vagrant/devstack/files/ldap/manager.ldif.in
+ sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f /tmp/ldap.19515.OLAEpAafC9/manager.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
modifying entry "olcDatabase={2}hdb,cn=config"
ldap_modify: No such object (32)
matched DN: cn=config


My very simple localrc looks like this:
ENABLED_SERVICES=key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit,ldap
KEYSTONE_IDENTITY_BACKEND=ldap
KEYSTONE_CLEAR_LDAP=yes
DATABASE_PASSWORD=test
RABBIT_PASSWORD=test
SERVICE_TOKEN=test
SERVICE_PASSWORD=test
ADMIN_PASSWORD=test
LDAP_PASSWORD=test

Anyone have any ideas?




/Craig J
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140306/bc678dfd/attachment.html>


More information about the Openstack mailing list