Actions
Bug #8000
closedBug #6780: Node not included in dynamic group due to openldap bug with modrdn not showing node children
Broken LDAP on Rudder nightly
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When installing Rudder 3.1 nightly on CentOS 7, rudder-init gets stuck:
root 14815 0.0 0.1 113388 1768 ? S 15:41 0:00 | \_ /bin/sh /usr/local/bin/rudder-setup setup-server 3.1-nightly root 16213 0.0 0.1 113120 1576 ? S 15:43 0:00 | \_ /bin/bash /opt/rudder/bin/rudder-init.sh server no yes yes 192.168.45.0/24 root 16307 0.1 0.7 77140 11860 ? Ss 15:43 0:01 | \_ cf-agent -b propagatePromises,install_rsyslogd,root_component_check root 16864 0.0 0.0 9508 1148 ? S 15:43 0:00 | \_ sh -c /sbin/service rudder-slapd restart </dev/null >/dev/null 2>/dev/null root 16865 0.0 0.1 113248 1688 ? S 15:43 0:00 | \_ /bin/sh /sbin/service rudder-slapd restart root 16873 0.0 0.1 11740 1656 ? S 15:43 0:00 | \_ /bin/sh /etc/init.d/rudder-slapd restart root 16910 0.0 10.9 1370744 167656 ? S 15:43 0:00 | \_ /opt/rudder/sbin/slapcat -b cn=rudder-configuration -f /opt/rudder/etc/openldap/slapd.conf -l /var/rudder/ldap/backup/openldap-data-20160229154334.ldif
root@server:/home/vagrant# strace -p 16910 Process 16910 attached futex(0x7fc2c47f20d4, FUTEX_WAIT, 1, NULL
Added slapcat debug logs during rudder-init and after killing the slapcat process.
Does not happen on CentOS 6 but the logs say:
==> centos6_server: Running rudder-init.sh... ==> centos6_server: Done. ==> centos6_server: ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
Which is also unexpected.
Files
Actions