Project

General

Profile

Tâche #12383

Scénario #12363: Qualifier la version EOLE 2.5.0 RC2

Correction ZE-T06-001 2.5.0-RC1 : Modification d'une valeur sur un groupe

Added by Joël Cuissinat almost 6 years ago. Updated over 5 years ago.

Status:
Ne sera pas résolu
Priority:
Normal
Assigned To:
Start date:
07/15/2015
Due date:
% Done:

0%

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

Description

Au pas 6, que j'ai prévu de réécrire comme ceci :

Dans les champs associés à "Variables eole (zephir.eol)", sélectionner "time_zone (1 valeurs)", saisir la valeur "Indian/Reunion" et cliquer sur le bouton Changer la valeur

après avoir demandé l'application de la valeur sur le groupe de serveur, j'obtiens l'erreur suivante :

Erreur provenant du backend XML-RPC
Détail : Erreur lors de l'application des paramètres

dans /var/log/rsyslog/local/zephir_backend/zephir_backend.alert.log, je constate :

2015-07-15T13:59:23.396066+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] Traceback (most recent call last):
2015-07-15T13:59:23.396902+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1]   File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 633, in save_config
2015-07-15T13:59:23.397188+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1]     self.check_md5conf(new_method)
2015-07-15T13:59:23.397407+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1]   File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 1021, in check_md5conf
2015-07-15T13:59:23.397650+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1]     f_var.write("%s:%s\n" % (var_name, ''.join(eval(conf.get(var_name, 'val')))))
2015-07-15T13:59:23.397846+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1]   File "<string>", line 1, in <module>
2015-07-15T13:59:23.398159+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] NameError: name 'non' is not defined
2015-07-15T13:59:23.399376+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] Unhandled Error
2015-07-15T13:59:23.399537+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011Traceback (most recent call last):
2015-07-15T13:59:23.399697+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 189, in process
2015-07-15T13:59:23.399834+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    self.render(resrc)
2015-07-15T13:59:23.399977+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/server.py", line 238, in render
2015-07-15T13:59:23.400114+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    body = resrc.render(self)
2015-07-15T13:59:23.400277+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 250, in render
2015-07-15T13:59:23.400414+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    return m(request)
2015-07-15T13:59:23.400567+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/xmlrpceole.py", line 201, in render_POST
2015-07-15T13:59:23.400701+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    d = defer.maybeDeferred(function, cred_user, *args)
2015-07-15T13:59:23.400859+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011--- <exception caught here> ---
2015-07-15T13:59:23.400993+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 139, in maybeDeferred
2015-07-15T13:59:23.401153+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    result = f(*args, **kw)
2015-07-15T13:59:23.401286+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/serveurs_rpc.py", line 1903, in xmlrpc_set_groupe_var
2015-07-15T13:59:23.401419+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    res = serveur.save_config(d,'modif_config',encode,force=True,new_method=new_method)
2015-07-15T13:59:23.401591+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 637, in save_config
2015-07-15T13:59:23.401749+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011    (self.id_s, os.path.basename(fic_zephir), str(err)))
2015-07-15T13:59:23.401882+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011exceptions.IOError: serveur 86 - erreur de sauvegarde de zephir.eol :
2015-07-15T13:59:23.402028+02:00 zephir.ac-test.lan zephir_backend: [HTTPChannel,12,127.0.0.1] #011name 'non' is not defined

History

#1 Updated by Lionel Morin over 5 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Lionel Morin over 5 years ago

  • Status changed from En cours to Ne sera pas résolu
  • Remaining (hours) changed from 3.0 to 0.0

Le test a été repassé avec succès.
Le problème n'a pas été reproduit.

#3 Updated by Lionel Morin over 5 years ago

  • Status changed from Ne sera pas résolu to Résolu

#4 Updated by Lionel Morin over 5 years ago

  • Status changed from Résolu to Ne sera pas résolu

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

  • Description updated (diff)
  • Assigned To set to Lionel Morin

#6 Updated by Karim Ayari over 5 years ago

j'ai constaté le même problème en voulant modifier la conf d'un serveur.
pour l'instant j'en ai trouvé 2 dans ce cas, du coup on a plus la possibilité de modifier via Zéphir

le traceback dans les logs :

2015-08-27T14:47:50.808158+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] Unhandled Error
2015-08-27T14:47:50.808175+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011Traceback (most recent call last):
2015-08-27T14:47:50.808185+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 392, in startReactor
2015-08-27T14:47:50.808195+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self.config, oldstdout, oldstderr, self.profiler, reactor)
2015-08-27T14:47:50.808208+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/application/app.py", line 313, in runReactorWithLogging
2015-08-27T14:47:50.808216+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    reactor.run()
2015-08-27T14:47:50.808226+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1192, in run
2015-08-27T14:47:50.808234+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self.mainLoop()
2015-08-27T14:47:50.808242+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 1201, in mainLoop
2015-08-27T14:47:50.808249+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self.runUntilCurrent()
2015-08-27T14:47:50.808257+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011--- <exception caught here> ---
2015-08-27T14:47:50.808266+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/twisted/internet/base.py", line 824, in runUntilCurrent
2015-08-27T14:47:50.808274+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    call.func(*call.args, **call.kw)
2015-08-27T14:47:50.808282+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/uucp_rpc.py", line 1268, in _maj_site2
2015-08-27T14:47:50.808290+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    serv.check_maj_status(self.parent.maj_checker)
2015-08-27T14:47:50.808298+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 1109, in check_maj_status
2015-08-27T14:47:50.808306+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    dico = self.parsedico()
2015-08-27T14:47:50.808315+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 582, in parsedico
2015-08-27T14:47:50.808323+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    dico = self.get_config(mode, encode)
2015-08-27T14:47:50.808331+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 482, in get_config
2015-08-27T14:47:50.808339+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    return self.load_conf(mode, dico)
2015-08-27T14:47:50.808347+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/backend/lib_backend.py", line 593, in load_conf
2015-08-27T14:47:50.808356+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self.dico.load_values(mode)
2015-08-27T14:47:50.808364+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/utils/creolewrap.py", line 444, in load_values
2015-08-27T14:47:50.808372+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self._load_values_creole2(mode, dicos, config_file)
2015-08-27T14:47:50.808386+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/zephir/utils/creolewrap.py", line 384, in _load_values_creole2
2015-08-27T14:47:50.808396+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    self.dico.load_values(config_file, check=False)
2015-08-27T14:47:50.808404+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/creole2/cfgparser.py", line 1382, in load_values
2015-08-27T14:47:50.808414+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    return self._load_values(force=force, check=check)
2015-08-27T14:47:50.808423+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "/usr/lib/python2.7/dist-packages/creole2/cfgparser.py", line 1397, in _load_values
2015-08-27T14:47:50.808434+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    var.val = eval(var.val)
2015-08-27T14:47:50.808442+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011  File "<string>", line 1, in <module>
2015-08-27T14:47:50.808452+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011    
2015-08-27T14:47:50.808461+02:00 zephir25-1.ac-lyon.fr zephir_backend: [-] #011exceptions.NameError: name 'non' is not defined

Also available in: Atom PDF