Tâche #19854
Scénario #19853: Restauration Bareos : étudier l'erreur dans les logs lors de la restauration
Étudier le problème de restauration
Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Remaining (hours):
0.0
Description
Soit repasser la série de tests, soit trouver un moyen plus rapide pour reproduire.
Associated revisions
Pouvoir personnaliser le debian.cnf du dump SQL
- eolesql/db_cmd.py (dump_sql_file2) : nouvelle fonction permettant
d'indiquer un fichier debian.cnf alternatif
Ref: #19854
History
#1 Updated by Fabrice Barconnière over 6 years ago
- Status changed from Nouveau to En cours
#2 Updated by Fabrice Barconnière over 6 years ago
- Assigned To set to Fabrice Barconnière
#3 Updated by Fabrice Barconnière over 6 years ago
- % Done changed from 0 to 50
- Remaining (hours) changed from 3.0 to 1.5
Pas reproduit en restaurant sur un etb1.scribe Daily
#4 Updated by Fabrice Barconnière over 6 years ago
- % Done changed from 50 to 100
- Remaining (hours) changed from 1.5 to 0.0
Pas reproduit non plus en restaurant sur un etb1.scribe instance-default
#5 Updated by Fabrice Barconnière over 6 years ago
- Status changed from En cours to Résolu
#6 Updated by Scrum Master over 6 years ago
- Status changed from Résolu to Fermé
#7 Updated by Scrum Master over 6 years ago
- Status changed from Fermé to En cours
#8 Updated by Scrum Master over 6 years ago
- Assigned To changed from Fabrice Barconnière to Gérald Schwartzmann
- Remaining (hours) changed from 0.0 to 3.0
#9 Updated by Gérald Schwartzmann over 6 years ago
rien vu en rapport avec la demande
http://squash-tm.eole.lan/squash/iterations/132/info
J'ai par contre 1 fichier au lieu de 3 dans le ls mais j'ai magouillé un peu lors des sauvegardes incrémentales
par contre plus grave a mon goût :
le shell de l'admin renvoit ça : loginShell: /bin/false
donc soit le résultat attendu du test est faux ou il y a autre chose
root@scribe:~# if grep -Pqz "(?s)BeforeJob:\s+Montage OK.*FD termination status:\s+OK.*SD termination status:\s+OK.*Termination:\s+Restore OK.*AfterJob:\s+Démontage OK" /var/log/bareos/restore.txt;then echo "Ok";else echo "nok";fi Ok root@scribe:~# ls -l /home/a/admin/perso/toto*.txt -rw-rw----+ 1 root root 1 avril 5 15:41 /home/a/admin/perso/toto3.txt root@scribe:~# ldapsearch -x uid=admin loginShell | grep ^loginShell loginShell: /bin/false root@scribe:~# python -c "from fichier.quota import get_quota;print get_quota('admin')" 50 root@scribe:~# ls $(CreoleGet container_path_mysql)/var/lib/mysql/testsquash db.opt root@scribe:~# grep "Access denied" /var/log/rsyslog/local/bareos-dir/bareos-dir.info.log && echo "nok" || echo "Ok" Ok root@scribe:~#
#10 Updated by Gérald Schwartzmann over 6 years ago
- Remaining (hours) changed from 3.0 to 0.5
#11 Updated by Scrum Master over 6 years ago
- Status changed from En cours to Résolu
#12 Updated by Fabrice Barconnière over 6 years ago
L'erreur se produit lors d'un changement d'ISO.
Le mot de passe de debian-sys-maint change d'une iso à l'autre.
Si on tente de restaurer une sauvegarde effectuée sur un serveur installé avec une iso précédente, on reproduit le problème.
Pour reproduire :
Le mot de passe de debian-sys-maint change d'une iso à l'autre.
Si on tente de restaurer une sauvegarde effectuée sur un serveur installé avec une iso précédente, on reproduit le problème.
Pour reproduire :
- Exécuter SR-T03-002 avec un etb1.scribe default 2.6.1
- au pas 3 :
cp -rf /mnt/eole-ci-tests/sauvegarde/etb1.scribe/default-2.6.0/mnt/sauvegardes /mnt
- NE PAS UTILISER UNE SVG DE LA MÊME RELEASE
/default-$(CreoleGet eole_release)
- NE PAS UTILISER UNE SVG DE LA MÊME RELEASE
#13 Updated by Scrum Master over 6 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0