Actions
Bug #10521
closedError in migration (ldap backup not found because ending by .gz)
Pull Request:
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.
Updated by Benoît PECCATTE over 7 years ago
- Status changed from New to In progress
- Assignee set to Benoît PECCATTE
Updated by Benoît PECCATTE over 7 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Benoît PECCATTE to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1323
Updated by Benoît PECCATTE over 7 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|18cb406f027661b588439a93861fb9928e2076a6.
Updated by Vincent MEMBRÉ over 7 years ago
- Status changed from Pending release to Released
Actions