Project

General

Profile

Tâche #19856

Scénario #19810: Traitement express MEN (13-15)

traceback en cas d'erreur de mot de passe sur init_sphynx

Added by Emmanuel GARETTE over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Start date:
03/23/2017
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Description

Si on lance init_sphynx avec une erreur de mot de passe, il y a un traceback peu clair.

root@sphynx:~# init_sphynx
Une base ARV existe déjà. Écraser la base actuelle ? [oui/non]
[non] : o
* Génération du certificat de la CA
Entrez le login Zéphir : ddd
Entrez le mot de passe Zéphir : 
Traceback (most recent call last):
  File "/usr/share/eole/sbin/init_sphynx", line 264, in <module>
    populate_database()
  File "/usr/share/eole/sbin/init_sphynx", line 92, in populate_database
    zephir = Zephir(user=login, password=passwd)
  File "/usr/lib/python2.7/dist-packages/arv/lib/util.py", line 53, in newFunc
    return func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/arv/lib/usezephir.py", line 21, in __init__
    perm = self.zephir.get_permissions(user)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1243, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1602, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1283, in request
    return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1331, in single_request
    response.msg,
zephir.eolerpclib.ProtocolError: <ProtocolError for zephir.ac-test.fr:7080/RPC2: 401 Unauthorized>

Associated revisions

Revision a7b80534 (diff)
Added by Fabrice Barconnière over 6 years ago

Traitement du problème de connexion à Zéphir

ref #19856 @20m

History

#1 Updated by Fabrice Barconnière over 6 years ago

  • Description updated (diff)

#2 Updated by Fabrice Barconnière over 6 years ago

  • Tracker changed from Demande to Tâche
  • Estimated time set to 1.00 h
  • Parent task set to #19810
  • Remaining (hours) set to 1.0

#3 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Fabrice Barconnière over 6 years ago

  • Assigned To set to Fabrice Barconnière

#5 Updated by Fabrice Barconnière over 6 years ago

  • Status changed from En cours to Résolu
  • % Done changed from 0 to 100
  • Remaining (hours) changed from 1.0 to 0.15
Pour tester :
  • aca.zephir avec conf
  • aca.sphynx avec in*tance_default
  • enregistrer Sphynx sur Zéphir
  • lancer init_sphynx et mettre n'importe quoi en login/mdp

#6 Updated by Laurent Flori over 6 years ago

  • Remaining (hours) changed from 0.15 to 0.0

#7 Updated by Laurent Flori over 6 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF