Projet

Général

Profil

Tâche #32270

Scénario #32093: AmonEcole non fonctionnel après un reconfigure suite à une restauration Bareos

AmonEcole : problèmes lors de la sauvegarde/restauration

Ajouté par Emmanuel GARETTE il y a environ 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
09/04/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Description

Le répertoire /home était monté dans le conteneur ADDC, maintenant qu'il ne l'est plus la restauration ne fonctionne plus :

28-avril 16:04 amonecole_fd JobId 5: ClientAfterJob: FileNotFoundError: [Errno 2] No such file or directory: '/home/backup/samba/bareos/'
28-avril 16:04 amonecole_fd JobId 5: ClientAfterJob: post ADDC

Révisions associées

Révision a1523412 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

avoir plus d'information si samba_backup plante (ref #32270)

Révision e9c7c314 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

avoir plus d'information si samba_backup plante (ref #32270)

Révision cd3ae684 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

le répertoire /home/backup/samba doit être sur le maitre (ref #32270)

Révision 455714e4 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

création du répertoire /home/backup/samba (ref #32270)

Révision 4bdfd9a9 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

inject le fichier test.txt dans le conteneur (ref #32270)

Révision ce1cf6f9 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

retrait du -x (ref #32270)

Révision bcd09216 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

désactiver le full_audit lors de la restauration pour éviter un traceback (ref #32270)

Révision 8dafef20 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

réintegrer au domaine le master/fichier/proxy (ref #32270)

Révision aad1d378 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

sauvegarde de eole-workstation dans le conteneur (ref #32270)

Révision 2a1cb28c (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

sauvegarder seth-education (ref #32270)

Révision ce6352e0 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

ne plus inclure /etc dans le paquet eole-workstation-manager (ref #32270)

Révision 1633b1c8 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

restaurer tous les fichiers de mots de passe (ref #32270)

Révision 329b197e (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

le fichier bareos est sur le maitre (ref #32270)

Révision 58e57a7e (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

supprimer le double / (ref #32270)

Révision db22e7b5 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

restauration du serveur membre (ref #32270)

Révision 1fba7347 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

ne pas mettre à jour les base de filtrage lors de la restauration amonecole (ref #32270)

Révision 1caaaf5a (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

suppression debug (ref #32270)

Révision 398079f5 (diff)
Ajouté par Emmanuel GARETTE il y a environ 3 ans

il y a 6 restaurations sur AmonEcole (ref #32270)

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

A la sauvegarde j'ai également :

* PAS d'injection de test.txt dans SYSVOL (le répertoire /home/sysvol/etb3.lan/scripts/groups n'existe pas !)

#3 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • Sujet changé de Restauration de l'AmonEcole non fonctionnel à AmonEcole : problèmes lors de la sauvegarde/restauration

Lors de la sauvegarde :

Vérification présence 'Access denied' lors de la sauvegarde ?
Ok
Test
nb = 3, NB_OK_ATTENDU=
/mnt/eole-ci-tests/tests/sauvegarde/run-bareos-sauvegarde-complete.sh: ligne 406 : [:  : nombre entier attendu comme expression
Machine etb3.amonecole : la variable CONFIGURATION n'est pas définie, utilise 'default'
Répertoire de sauvegarde : /mnt/eole-ci-tests/sauvegarde/etb3.amonecole/default-2.8.1
Machine etb3.amonecole 2.8.1 : Copie sauvegardes...

#4 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

00:27:20.130             Machine etb3.amonecole 2.8.1 : Injection des liens dans le Bureau Partage '\<srv>\icones\grp_eole\_Machine\Bureau/'
00:27:20.130             scp: /home/netlogon/icones/grp_eole/_Machine/Bureau/: No such file or directory

#5 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: Removing Sysvol reference: CN=ADDC,CN=Topology,CN=Domain System Volume,CN=DFSR-GlobalSettings,CN=System,DC=etb3,DC=lan
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: ===============================================================
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: INTERNAL ERROR: Signal 11 in pid 2561 (4.11.6-Ubuntu)
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: If you are running a recent Samba version, and if you think this problem is not yet fixed in the latest versions, please consider
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  reporting this bug, see https://wiki.samba.org/index.php/Bug_Reporting
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: ===============================================================
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: PANIC (pid 2561): internal error
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: BACKTRACE: 33 stack frames:
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #0 /lib/x86_64-linux-gnu/libsamba-util.so.0(log_stack_trace+0x34) [0x7fd1b807b2c4]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #1 /lib/x86_64-linux-gnu/libsmbconf.so.0(smb_panic_s3+0x1f) [0x7fd1b5a0290f]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #2 /lib/x86_64-linux-gnu/libsamba-util.so.0(smb_panic+0x33) [0x7fd1b807b3c3]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #3 /lib/x86_64-linux-gnu/libsamba-util.so.0(+0x1a621) [0x7fd1b807b621]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #4 /lib/x86_64-linux-gnu/libc.so.6(+0x46210) [0x7fd1b9353210]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #5 /usr/lib/x86_64-linux-gnu/samba/vfs/full_audit.so(+0x6778) [0x7fd1b1d02778]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #6 /usr/lib/x86_64-linux-gnu/samba/vfs/full_audit.so(+0xa661) [0x7fd1b1d06661]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #7 /usr/lib/x86_64-linux-gnu/samba/libsmbd-base.so.0(create_conn_struct_tos+0x1d8) [0x7fd1b5376b48]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #8 /usr/lib/python3/dist-packages/samba/samba3/smbd.cpython-38-x86_64-linux-gnu.so(+0x2880) [0x7fd1b553b880]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #9 /usr/lib/python3/dist-packages/samba/samba3/smbd.cpython-38-x86_64-linux-gnu.so(+0x368b) [0x7fd1b553c68b]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #10 /usr/bin/python3(PyCFunction_Call+0x59) [0x5f2fb9]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #11 /usr/bin/python3(_PyObject_MakeTpCall+0x296) [0x5f3446]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #12 /usr/bin/python3(_PyEval_EvalFrameDefault+0x62c2) [0x56fb02]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #13 /usr/bin/python3(_PyEval_EvalCodeWithName+0x26a) [0x56822a]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #14 /usr/bin/python3(_PyFunction_Vectorcall+0x393) [0x5f6033]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #15 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d5) [0x56b115]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #16 /usr/bin/python3(_PyFunction_Vectorcall+0x1b6) [0x5f5e56]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #17 /usr/bin/python3(_PyEval_EvalFrameDefault+0x8f6) [0x56a136]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #18 /usr/bin/python3(_PyFunction_Vectorcall+0x1b6) [0x5f5e56]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #19 /usr/bin/python3(_PyEval_EvalFrameDefault+0x71e) [0x569f5e]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #20 /usr/bin/python3(_PyEval_EvalCodeWithName+0x26a) [0x56822a]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #21 /usr/bin/python3() [0x50a3b0]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #22 /usr/bin/python3(_PyEval_EvalFrameDefault+0x18d5) [0x56b115]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #23 /usr/bin/python3(_PyEval_EvalCodeWithName+0x26a) [0x56822a]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #24 /usr/bin/python3(PyEval_EvalCode+0x27) [0x68c1e7]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #25 /usr/bin/python3() [0x67d5a1]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #26 /usr/bin/python3() [0x67d61f]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #27 /usr/bin/python3(PyRun_FileExFlags+0x9b) [0x67d6db]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #28 /usr/bin/python3(PyRun_SimpleFileExFlags+0x17e) [0x67da6e]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #29 /usr/bin/python3(Py_RunMain+0x212) [0x6b6132]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #30 /usr/bin/python3(Py_BytesMain+0x2d) [0x6b64bd]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #31 /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf3) [0x7fd1b93340b3]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob:  #32 /usr/bin/python3(_start+0x2e) [0x5f927e]
00:29:55.237             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: Can not dump core: corepath not set up
00:29:55.238             30-avril 14:34 amonecole_fd JobId 5: ClientAfterJob: post ADDC
00:29:55.238             30-avril 14:34 amonecole_fd JobId 5: Error: Runscript: ClientAfterJob returned non-zero status=1. ERR=Child exited with code 1
00:29:55.238             30-avril 14:34 amonecole-dir JobId 5: Bareos amonecole-dir 20.0.0 (16Dec20):

#6 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • Statut changé de En cours à Résolu

#7 Mis à jour par Emmanuel GARETTE il y a environ 3 ans

  • % réalisé changé de 0 à 100

#8 Mis à jour par Gilles Grandgérard il y a presque 3 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF