Project

General

Profile

Anomalie #7115

Impossible d'accéder à la config Bacula

Added by Cédric Frayssinet about 7 years ago. Updated about 7 years ago.

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

100%

Estimated time:
0.50 h
Spent time:
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 View (695 Bytes) Benjamin Bohard, 01/20/2014 02:59 PM


Related issues

Duplicated by Horus - Anomalie #7198: Paramétrage Bacula Fermé

Associated revisions

Revision fe38a742 (diff)
Added by Joël Cuissinat about 7 years ago

Application du patch "baculaconfig.py.patch"

Fixes #7115 @15m

History

#1 Updated by Benjamin Bohard about 7 years ago

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 Updated by Benjamin Bohard about 7 years ago

  • Project changed from eole-bacula to ead

Changement du projet

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

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

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

  • Due date set to 01/24/2014
  • Estimated time set to 0.50 h

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

=> Paquets candidats eole-ead-2.3-eole49~2.gbp014e3e

#6 Updated by Fabrice Barconnière about 7 years ago

  • Due date changed from 01/24/2014 to 02/07/2014
  • Status changed from Résolu to Fermé

Vu avec Klaas

Also available in: Atom PDF