Project

General

Profile

Tâche #32375

Scénario #32104: Traitement express MEN (17-19)

Déclarer /etc/nut/dummy.dev en tant que fichier à sauvegarder par Bareos

Added by Daniel Dehennin almost 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/03/2021
Due date:
% Done:

100%

Estimated time:
0.00 h
Remaining (hours):
0.0

Description

Correction SR-T03-002 - Restauration complète sur un serveur Scribe non instancié (2.8.1-RC1)

Il y a déjà des demandes pour sympa #32215: et lsc #32152

Pour nut, il faudrait que le fichier soit géré par la sauvegarde/restauration :

Pas №25

Le diagnose a quelques erreurs

  • Des services non démarrés
    *** Test du module scribe version 2.8.1 (scribe 00000001) ***
    
    Attention, serveur opérationnel mais des services ne sont pas démarrés :
    
    nut-driver.service loaded failed
    sympa_sync.service loaded failed
    
  • La synchro LSC en erreur (il a fallu un redémarrage du service eole-lsc.service pour que ce dernier fonctionne)
    .         Synchronisation LSC => Erreur
    

Voici des logs :

  • Sympa
    mai 03 17:16:05 scribe sympa_sync[43202]: erreur à la synchronisation de professeurs@i-etb1.ac-test.fr :  | Incorrect list name professeurs@i-etb1.ac-test.fr
    mai 03 17:16:05 scribe sympa_sync[43202]: erreur à la synchronisation de eleves@i-etb1.ac-test.fr :  | Incorrect list name eleves@i-etb1.ac-test.fr
    mai 03 17:16:05 scribe sympa_sync[43202]: erreur à la synchronisation de administratifs@i-etb1.ac-test.fr :  | Incorrect list name administratifs@i-etb1.ac-test.fr
    mai 03 17:16:05 scribe systemd[1]: sympa_sync.service: Main process exited, code=exited, status=1/FAILURE
    mai 03 17:16:05 scribe systemd[1]: sympa_sync.service: Failed with result 'exit-code'.
    mai 03 17:16:05 scribe systemd[1]: Failed to start Synchronise les listes Sympa.
    
  • NUT
    mai 03 17:14:14 scribe upsdrvctl[40135]: Can't open dummy-ups definition file /etc/nut/dummy.dev: Can't open /etc/nut/dummy.dev: No such file or directory
    mai 03 17:14:14 scribe upsdrvctl[40135]: Network UPS Tools - Device simulation and repeater driver 0.14 (2.7.4)
    mai 03 17:14:14 scribe upsdrvctl[40129]: Driver failed to start (exit status=1)
    mai 03 17:14:14 scribe upsdrvctl[40155]: Can't open dummy-ups definition file /etc/nut/dummy.dev: Can't open /etc/nut/dummy.dev: No such file or directory
    mai 03 17:14:14 scribe upsdrvctl[40155]: Network UPS Tools - Device simulation and repeater driver 0.14 (2.7.4)
    mai 03 17:14:14 scribe upsdrvctl[40129]: Driver failed to start (exit status=1)
    mai 03 17:14:14 scribe upsdrvctl[40129]: Network UPS Tools - UPS driver controller 2.7.4
    mai 03 17:14:14 scribe systemd[1]: nut-driver.service: Control process exited, code=exited, status=1/FAILURE
    mai 03 17:14:14 scribe systemd[1]: nut-driver.service: Failed with result 'exit-code'.
    mai 03 17:14:14 scribe systemd[1]: Failed to start Network UPS Tools - power device driver controller.
    

Exécution Squash-TM


Related issues

Related to Distribution EOLE - Tâche #32152: Le service eole-lsc n'est pas fiable Fermé 04/16/2021
Related to Distribution EOLE - Tâche #32458: Erreur sympa suite à une restauration Scribe en 2.8.1 Fermé 05/07/2021

Associated revisions

Revision a285776f (diff)
Added by Joël Cuissinat almost 2 years ago

Sauvegarder /etc/nut/dummy.dev par Bareos

Ref: #32375

Revision a46b80eb (diff)
Added by Joël Cuissinat almost 2 years ago

Sauvegarder /etc/nut/dummy.dev par Bareos (etb3 + etb4)

Ref: #32375

History

#1 Updated by Daniel Dehennin almost 2 years ago

  • Description updated (diff)

#2 Updated by Joël Cuissinat almost 2 years ago

  • Related to Scénario #32215: Erreur "sympa_sync.service loaded failed" récurrente en 2.8 added

#3 Updated by Joël Cuissinat almost 2 years ago

  • Related to Tâche #32152: Le service eole-lsc n'est pas fiable added

#4 Updated by Daniel Dehennin almost 2 years ago

  • Description updated (diff)

#5 Updated by Joël Cuissinat almost 2 years ago

  • Related to Tâche #32458: Erreur sympa suite à une restauration Scribe en 2.8.1 added

#6 Updated by Joël Cuissinat almost 2 years ago

  • Related to deleted (Scénario #32215: Erreur "sympa_sync.service loaded failed" récurrente en 2.8)

#7 Updated by Joël Cuissinat almost 2 years ago

  • Subject changed from Correction SR-T03-002 - Restauration complète sur un serveur Scribe non instancié (2.8.1-RC1) to Déclarer /etc/nut/dummy.dev en tant que fichier à sauvegarder par Bareos
  • Description updated (diff)
  • Parent task changed from #32216 to #32104

#8 Updated by Joël Cuissinat almost 2 years ago

  • Description updated (diff)

#9 Updated by Joël Cuissinat almost 2 years ago

  • Description updated (diff)

#10 Updated by Joël Cuissinat almost 2 years ago

  • Description updated (diff)

#11 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Joël Cuissinat
  • % Done changed from 0 to 100

#12 Updated by Fabrice Barconnière almost 2 years ago

OK

root@scribe:~# cat /etc/bareos/bareosfichiers.d/nut.conf 
Include {
  Options {
    aclsupport = no
    @/etc/bareos/include-options.conf
  }
  File = /etc/nut/dummy.dev
}
On verra au prochain passage du test

#13 Updated by Fabrice Barconnière almost 2 years ago

  • Status changed from Résolu to Fermé

#14 Updated by Joël Cuissinat almost 2 years ago

Fichier également listé dans le test de restauration https://dev-eole.ac-dijon.fr/jenkins/job/2.8.1/job/test-sauvegarde-bareos-restaure-full-2.8.1-amd64/ :

05:16:07             25-mai 05:15 scribe_fd JobId 10: -rw-r-----   1 nut      nut              573 2021-05-22 11:06:15  /etc/nut/dummy.dev

Also available in: Atom PDF