Project

General

Profile

Anomalie #7634

Report des modifications de la 2.3

Added by Benjamin Bohard about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
03/21/2014
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

Mise à niveau de la 2.4 : gestion des verrous (options dans la configuration de bacula, fonctions lock et unlock de baculaconfig.py) ;

Associated revisions

Revision 8794a27e (diff)
Added by Benjamin Bohard about 7 years ago

Intégration d'une partie des modifications de baculaconfig.py de la 2.3

Ref #7634

Revision 01f78eac (diff)
Added by Benjamin Bohard about 7 years ago

Intégration des modifications de la 2.3

  • sudoers

Ref #7634

Revision 16aca163 (diff)
Added by Benjamin Bohard about 7 years ago

Gestion différenciée des verrous selon le service bacula qui le pose.

La gestion des verrous doit permettre au service bacula-fd d'en
poser un si bacula-dir n'en a pas posé (services sur deux machines
différentes).

Ref #7634

Revision 15e59b0d (diff)
Added by Klaas TJEBBES about 7 years ago

correction des RunAfterFailedJob pour inclure JobID et daemon FIXES #7634 @30m

History

#1 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 03/21/2014
  • Assigned To set to Benjamin Bohard

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

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

Me semble OK

#3 Updated by Klaas TJEBBES about 7 years ago

  • Status changed from Résolu to Réouvert

dans bacula-dir.conf les appels en cas d'erreur ne sont pas bons :

  RunAfterFailedJob = "sudo /usr/share/eole/sbin/baculaconfig.py --unlock --backup_err --jobType=cron" 

devrait être :
  RunAfterFailedJob = "sudo /usr/share/eole/sbin/baculaconfig.py --unlock --daemon=%d --jobID=%i --backup_err --jobType=cron" 

#4 Updated by Klaas TJEBBES about 7 years ago

  • Status changed from Réouvert to Résolu

#5 Updated by Emmanuel GARETTE about 7 years ago

  • Status changed from Résolu to Fermé

Les lignes sont bien présentes :

root@scribe:~# grep RunAfterFailedJob /etc/bacula/bacula-dir.conf 
  RunAfterFailedJob = "sudo /usr/share/eole/sbin/baculaconfig.py --unlock --daemon=%d --jobID=%i --backup_err --jobType=cron" 
  RunAfterFailedJob = "sudo /usr/share/eole/sbin/baculaconfig.py --unlock --daemon=%d --jobID=%i --backup_err --jobType=sauvegarde" 
  RunAfterFailedJob = "sudo /usr/share/eole/sbin/baculaconfig.py --unlock --daemon=%d --jobID=%i --backup_err --jobType=catalogue" 

Also available in: Atom PDF