Actions
Bug #2728
closed/opt/rudder/bin/rudder-init.sh failure on Debian 6 / rudder 2.3
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
rudder-init.sh fail on the following line:
/opt/rudder/sbin/slapadd -l $BOOTSTRAP_PATH &> $TMP_LOG
This insert fails:
dn: configurationRuleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration objectClass: specialConfigurationRuleTarget objectClass: top configurationRuleTarget: special:all cn: All servers description: A special target which matches absolutly all known nodes, including policy servers isActivated: TRUE isSystem: TRUE
5016ad96 str2entry: entry -1 has invalid DN "configurationRuleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration" slapadd: could not parse entry (line=105)
root@srv00015:~# /opt/rudder/bin/rudder-init.sh Welcome to the Rudder initialization script This script will configure your Rudder root server. It can be run as many times as you want. Please enter the fully qualified domain name that will be used to access the web interface of the Rudder server (i.e rudder.example.com): rudder.toto.infra Enter network allowed to access server (i.e 192.168.0.0/24): 172.28.220.0/24 172.28.220.0/24 Network(s) added: 172.28.220.0/24 Add more networks? (yes/no) no no Enter server IP: 172.28.220.207 172.28.220.207 Do you want to add sample data (for demos)? (yes/no) no no An LDAP database has been detected. Do you want to reinitialize it? (yes/no) yes yes Do you want to reset initial promises ? (yes/no) yes yes Hostname: rudder.toto.infra Allowed networks: 172.28.220.0/24 Server IP: 172.28.220.207 Add sample data? no Reinitialize LDAP database? yes Reset Initial Promises? yes Hit any key to continue.... Configuring and installing initial Cfengine promises... done. Initializing LDAP database...ERROR: Execution failed! Aborting. An error occured. Please check /tmp/rudder.X7EPjAkabN.log for details. root@srv00015:~# cat /tmp/rudder.X7EPjAkabN.log 5016aa6c str2entry: entry -1 has invalid DN "configurationRuleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration" slapadd: could not parse entry (line=105)
Actions