Project

General

Profile

Actions

Bug #10521

closed

Error in migration (ldap backup not found because ending by .gz)

Added by François ARMAND over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

My migration from Rudder 4.0 to 4.1 didn't work because slapd was not correctly migrated.

It was so because to trigger the migration, the migration-script look in backup for:

find "/var/rudder/ldap/backup/" -regextype sed -regex "^/var/rudder/ldap/backup/openldap-data-pre-upgrade-\([0-9]\{14\}\)\.ldif$" 

But my backup folder contains:

root@server:/home/vagrant# ls -la /var/rudder/ldap/backup/
total 116
drwxr-xr-x 2 root root  4096 Mar 28 14:56 .
drwxr-xr-x 4 root root  4096 Mar 28 11:08 ..
-rw-r--r-- 1 root root  3745 Mar 28 11:09 openldap-data-20170328110930.ldif.gz
-rw-r--r-- 1 root root  3745 Mar 28 11:09 openldap-data-20170328110933.ldif.gz
-rw-r--r-- 1 root root 47710 Mar 28 14:53 openldap-data-20170328145342.ldif.gz
-rw-r--r-- 1 root root 47120 Mar 28 14:41 openldap-data-pre-upgrade-20170328144136.ldif.gz
-rw-r--r-- 1 root root    13 Mar 28 14:41 openldap-data-pre-upgrade-20170328144136.libdb-version

Only .gz files.
This certainly happened because the install was awaiting for an interactive output for some time, and the agent run and zipped the content of the backup directory.


Subtasks 2 (0 open2 closed)

Bug #10522: Cannot install Rudder 4.1 due to merge error in parent ticketReleasedBenoît PECCATTEActions
Bug #10523: Cannot install Rudder 4.1 due to merge error in parent ticket (rpm)ReleasedBenoît PECCATTEActions
Actions

Also available in: Atom PDF