Project

General

Profile

Actions

Bug #6525

closed

On RedHat, upgrading from 2.11.8 to 2.11.10 fails, as the script rudder-upgrade fails to connect to the ldap directory

Added by Nicolas CHARLES over 9 years ago. Updated over 7 years ago.

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

Description

On a redhat system, upgrading fails as the script rudder-upgrade doesn't succedded: it tries 10 times to connect to ldap directory but fails with

can't contact LDAP server

the ldap service is correctly running (webapp is running fine), running manually the command fails directly
ldap is correctly listening on port 389

Actions #1

Updated by Nicolas CHARLES over 9 years ago

  • Priority changed from N/A to 1 (highest)
Actions #2

Updated by Matthieu CERDA over 9 years ago

  • Status changed from New to Discussion
  • Assignee changed from Matthieu CERDA to Nicolas CHARLES

Hello nico,

"running manually the command fails directly" => You mean running the rudder-upgrade manually ?

It fails directly, without retrying a few times before ?

Actions #3

Updated by Nicolas CHARLES over 9 years ago

  • Status changed from Discussion to New
  • Assignee changed from Nicolas CHARLES to Matthieu CERDA

Yes, running rudder-upgrade fails after 10 retries, and running manually the command used to connect to the ldap fails directly

Actions #4

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.11 to 2.11.12
Actions #5

Updated by Nicolas CHARLES over 9 years ago

This problem still happens !

INFO: Setting rudder-slapd as a boot service... Done

INFO: Reloading syslogd...  Done

INFO: Stopping rudder-slapd... Done

INFO: Starting rudder-slapd... Done

INFO: OpenLDAP database was successfully upgraded to new format

INFO: Running the Rudder upgrade script to replay LDAP migrations on the old database content...

INFO: Checking if rudder-web.properties database access credentials are all right... LDAP OK,  SQL OK

INFO: Checking if inventory-web.properties database access credentials are all right... LDAP OK,  SQL skipped

INFO: Checking LDAP service status............ FAILED

LDAP service verification failed after 10 tries. Aborting the migration.

Please restart the LDAP service, and start the migration script again.

(on a single Rudder server, try service rudder-server-root restart)

Once it is working, run:

# /opt/rudder/bin/rudder-upgrade

INFO: You can safely remove the backups in /var/rudder/ldap/openldap-data-backup-upgrade-on-20150605115314/

INFO: and /var/rudder/ldap/backup/openldap-data-pre-upgrade-20150605115314.ldif

INFO: Restarting rudder-slapd... Done

  Updating   : 1398866025:rudder-inventory-endpoint-2.11.11.release-1.EL.6.noarch                                        6/18
Actions #6

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.12 to 2.11.13
Actions #7

Updated by Vincent MEMBRÉ over 9 years ago

  • Target version changed from 2.11.13 to 2.11.14
Actions #8

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.14 to 2.11.15
Actions #9

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.15 to 2.11.16
Actions #10

Updated by Vincent MEMBRÉ about 9 years ago

  • Target version changed from 2.11.16 to 2.11.17
Actions #11

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.17 to 2.11.18
Actions #12

Updated by Vincent MEMBRÉ almost 9 years ago

  • Target version changed from 2.11.18 to 2.11.19
Actions #13

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.19 to 2.11.20
Actions #14

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.20 to 2.11.21
Actions #15

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.21 to 2.11.22
Actions #16

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.22 to 2.11.23
Actions #17

Updated by Vincent MEMBRÉ over 8 years ago

  • Target version changed from 2.11.23 to 2.11.24
Actions #18

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 2.11.24 to 308
Actions #19

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 308 to 3.1.14
Actions #20

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.14 to 3.1.15
Actions #21

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.15 to 3.1.16
Actions #22

Updated by Vincent MEMBRÉ about 8 years ago

  • Target version changed from 3.1.16 to 3.1.17
Actions #23

Updated by Benoît PECCATTE about 8 years ago

  • Assignee deleted (Matthieu CERDA)
Actions #24

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.17 to 3.1.18
Actions #25

Updated by Vincent MEMBRÉ almost 8 years ago

  • Target version changed from 3.1.18 to 3.1.19
Actions #26

Updated by Benoît PECCATTE over 7 years ago

  • Status changed from New to Rejected

2.11.10 is not supported anymore

Actions

Also available in: Atom PDF