Project

General

Profile

Actions

Bug #2627

closed

The upgrade from Rudder 2.3 to Rudder 2.4 doesn't work as LDAP DIT has not been correctly migrated

Added by Nicolas PERRON over 12 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

In /var/log/rudder/webapp/XXXXX.stderrout.log

18:53:00.448 [main]            ERROR net.liftweb.http.provider.HTTPProvider - Failed to Boot! Your application may not run properly
javax.servlet.UnavailableException: There is some required entries missing in the LDAP directory: ou=Removed Inventories, ou=Inventories, cn=rudder-configuration (no error message)
    at bootstrap.liftweb.checks.CheckDIT.FAIL$1(CheckDIT.scala:65) ~[classes/:na]
    at bootstrap.liftweb.checks.CheckDIT$$anonfun$checks$2.apply(CheckDIT.scala:92) ~[classes/:na]
    at bootstrap.liftweb.checks.CheckDIT$$anonfun$checks$2.apply(CheckDIT.scala:82) ~[classes/:na]


Related issues 1 (0 open1 closed)

Related to Rudder - User story #2422: Create a migration script for ldap-inventory and rudder to add entries in the ldap trees and update the configuration.properties filesReleasedNicolas PERRON2012-04-10Actions
Actions #1

Updated by Nicolas PERRON over 12 years ago

This is related to #2422
It seems that if statement is wrong:

orchestrateur-3:~ # if [ ${LDAP_TEST_REMOVED_INVENTORIES} -ne 1 -a ! ${LDAP_EXISTS}  ]; then echo "hello"; fi;
orchestrateur-3:~ # echo ${LDAP_EXISTS}
19567
orchestrateur-3:~ # echo ${LDAP_TEST_REMOVED_INVENTORIES}
0
Actions #2

Updated by Nicolas PERRON over 12 years ago

  • Status changed from New to Pending technical review
  • % Done changed from 0 to 100

Applied in changeset commit:fe6f3e564544d8f15a2c86a57cd102793188f378.

Actions #3

Updated by Matthieu CERDA over 12 years ago

Looks good to me.

Actions #4

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from Pending technical review to Released

Matthieu CERDA wrote:

Looks good to me.

Agreed.

Actions #5

Updated by Nicolas PERRON almost 12 years ago

  • Project changed from Rudder to 34
  • Category deleted (11)
Actions #6

Updated by Benoît PECCATTE over 9 years ago

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: Atom PDF