Anomalie #7115
Impossible d'accéder à la config Bacula
Description
Suite à ce message : http://eole.orion.education.fr/listes/arc/scribe/2013-12/msg00323.html
et sa solution ici : http://eole.orion.education.fr/listes/arc/scribe/2014-01/msg00006.html
nous avons eu le même problème sur d'autres serveurs en 2.3, à jour côté Eole.
Voici le traceback de l'ead-server
2014/01/15 16:20:58 CET [HTTPChannel,62,127.0.0.1] # Authentification locale # 2014/01/15 16:20:58 CET [HTTPChannel,62,127.0.0.1] => Connexion réussie avec l'utilisateur local : "root" 2014/01/15 16:20:58 CET [HTTPChannel,62,127.0.0.1] {'pam': 'root'} 2014/01/15 16:20:58 CET [HTTPChannel,62,127.0.0.1] root 2014/01/15 16:20:58 CET [HTTPChannel,65,127.0.0.1] Execution of : <update_ead> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:58 CET [HTTPChannel,67,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:58 CET [HTTPChannel,69,127.0.0.1] Execution of : <main_status> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,71,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,72,127.0.0.1] Execution of : <rapport_maj> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,74,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,75,127.0.0.1] Execution of : <rapport_extraction> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,77,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:20:59 CET [HTTPChannel,78,127.0.0.1] Execution of : <rapport_sav> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:21:03 CET [HTTPChannel,80,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:21:03 CET [HTTPChannel,81,127.0.0.1] Execution of : <bacula_config> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:21:03 CET [HTTPChannel,81,127.0.0.1] Erreur d'exécution : 2014/01/15 16:21:03 CET [HTTPChannel,81,127.0.0.1] Traceback: <type 'exceptions.Exception'>: ERREUR : bacula n'est pas configuré /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:117:maybeDeferred /usr/share/ead2/backend/lib/eadserver.py:463:xmlrpc_execute_action /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:224:addCallback /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:213:addCallbacks --- <exception caught here> --- /usr/lib/python2.6/dist-packages/twisted/internet/defer.py:371:_runCallbacks /usr/share/ead2/backend/lib/execute_wrapper.py:18:wrapper /usr/share/ead2/backend/actions/baculaconfig.py:127:execute /usr/share/ead2/backend/actions/baculaconfig.py:238:_get_test_form /usr/lib/pymodules/python2.6/pyeole/bacula.py:518:test_bacula_support /usr/lib/pymodules/python2.6/pyeole/bacula.py:300:mount_bacula_support 2014/01/15 16:21:05 CET [HTTPChannel,83,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:21:05 CET [HTTPChannel,84,127.0.0.1] Execution of : <bacula> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:22:15 CET [HTTPChannel,90,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:22:15 CET [HTTPChannel,91,127.0.0.1] Execution of : <bacula_config> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:00 CET [HTTPChannel,95,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:00 CET [HTTPChannel,96,127.0.0.1] Execution of : <bacula_config> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:04 CET [HTTPChannel,98,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:04 CET [HTTPChannel,99,127.0.0.1] Execution of : <bacula_config> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:10 CET [HTTPChannel,101,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:10 CET [HTTPChannel,102,127.0.0.1] Execution of : <bacula> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:10 CET [HTTPChannel,104,127.0.0.1] Execution of : <get_menu> by <root> from frontend <localhost.localdomain> (127.0.0.1) 2014/01/15 16:25:11 CET [HTTPChannel,105,127.0.0.1] Execution of : <rapport_sav> by <root> from frontend <localhost.localdomain> (127.0.0.1)
Pouvez-vous corriger cette anomalie ? Merci :)
Demandes liées
Révisions associées
Application du patch "baculaconfig.py.patch"
Fixes #7115 @15m
Historique
#1 Mis à jour par Benjamin Bohard il y a environ 10 ans
- Fichier baculaconfig.py.patch Voir ajouté
- Description mis à jour (diff)
- Assigné à mis à Joël Cuissinat
Dans le cas d'un support de sauvegarde non renseigné (support = None), la fonction mount_bacula_support provoque une exception utilisée par la commande baculamount.py.
Cette exception n'est pas gérée par l'ead.
On peut gérer cette exception en exécutant la fonction test_bacula_support, dans la fonction _get_test_form, dans un try, en attendant mieux (appel non bloquant ?)
#2 Mis à jour par Benjamin Bohard il y a environ 10 ans
- Projet changé de eole-bacula à ead
Changement du projet
#3 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit fe38a74256dddceccbf2c8c3b46ce0672f1e69b8.
#4 Mis à jour par Joël Cuissinat il y a environ 10 ans
- Echéance mis à 24/01/2014
- Temps estimé mis à 0.50 h
#5 Mis à jour par Joël Cuissinat il y a environ 10 ans
=> Paquets candidats eole-ead-2.3-eole49~2.gbp014e3e
#6 Mis à jour par Fabrice Barconnière il y a environ 10 ans
- Echéance changé de 24/01/2014 à 07/02/2014
- Statut changé de Résolu à Fermé
Vu avec Klaas