Projet

Général

Profil

Anomalie #7115

Impossible d'accéder à la config Bacula

Ajouté par Cédric Frayssinet il y a plus de 10 ans. Mis à jour il y a environ 10 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
Echéance:
07/02/2014
% réalisé:

100%

Temps estimé:
0.50 h
Temps passé:
Distribution:
EOLE 2.3

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 :)

baculaconfig.py.patch Voir (695 octets) Benjamin Bohard, 20/01/2014 14:59


Demandes liées

Dupliqué par Horus - Anomalie #7198: Paramétrage Bacula Fermé

Révisions associées

Révision fe38a742 (diff)
Ajouté par Joël Cuissinat il y a environ 10 ans

Application du patch "baculaconfig.py.patch"

Fixes #7115 @15m

Historique

#1 Mis à jour par Benjamin Bohard il y a environ 10 ans

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

#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

Formats disponibles : Atom PDF