Project

General

Profile

Tâche #26289

Scénario #25866: Les sauvegardes Bareos doivent être fonctionnelles

Trouver un contournement pour l'erreur CreoleLint signalée sur le template bareos-dir.conf en 2.7.0

Added by Joël Cuissinat over 2 years ago. Updated over 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
12/13/2018
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

http://jenkins.eole.lan/jenkins/job/2.7.0/job/test-creolelint-amon-2.7.0-amd64/buildTimeTrend

root@amon:~# CreoleLint -t /usr/share/eole/creole/distrib/bareos-dir.conf

Template Non valide (valid_parse_tmpl:ERROR:error)
\-- /usr/share/eole/creole/distrib/bareos-dir.conf
('/usr/share/eole/creole/distrib/bareos-dir.conf', ':', Exception('Il manque une option', NotFound(u"cannot find 'bareos_fd_name'",), 'avec le dictionnaire', {'nom_domaine_local': u'value.lan', 'bareos_dir_sd_password': u'f830fe946e0d8e80e9dba19d6aabd5183805c7ececd36c26a49e1877', 'bareos_full_retention': 6, 'nom_machine': u'amon', 'bareos_dir_sd_name': u'amon-sd', 'bareos_dir_password': u'd00ecdd88acb16e290ce7bed24aa4b38435f8274d6d58fedb0d2bd4a', 'bareos_max_run_time': 86400, 'bareos_dir_sd_address': u'192.168.0.1', 'activer_bareos_dir': u'oui', 'bareos_db_extract_dir': u'/var/lib/bareos', 'system_mail_from': None, 'bareos_dir_set_remote_fds': u'oui', 'bareos_full_retention_unit': u'months', 'bareos_dir_remote_fd_name': {u'slave': {'bareos_dir_remote_fd_password': ['P@ssWord'], 'bareos_dir_remote_fd_display_name': [u'value'], 'bareos_dir_remote_fd_address': [u'value.lan']}, u'value': [u'AF']}, 'bareos_diff_retention': 5, 'bareos_inc_retention_unit': u'days', 'bareos_dir_name': u'amon-dir', 'bareos_diff_retention_unit': u'weeks', 'numero_etab': u'value', 'bareos_db_type': u'sqlite3', 'bareos_dir_use_local_sd': u'oui', 'activer_bareos_fd': u'non', 'bareos_inc_retention': 10, 'activer_bareos_sd': u'oui'}))

Associated revisions

Revision 8cd08adf (diff)
Added by Benjamin Bohard over 2 years ago

bareos-filedaemon cannot be deactivated if bareos-director is activated.

bareos-filedaemon is used for catalog backup and is required if
bareos-director is used. Even if no extra files are to be backup.
bareos-filedaemon variables set will need refactoring to differentiate
bareos-filedaemon activation and local files backup.

Ref #26289

History

#1 Updated by Joël Cuissinat over 2 years ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Benjamin Bohard
  • % Done changed from 0 to 100

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

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

Test Jenkins OK depuis le 22 déc. 2018

Also available in: Atom PDF