Project

General

Profile

Tâche #11240

Scénario #11245: Assistance aux utilisateurs (17-19)

modifier un parametre pour le groupe =une page vide

Added by Christophe Dezé over 6 years ago. Updated over 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/16/2015
Due date:
% Done:

100%

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

Description

en 2.3.16
Si je choisi un groupe de amon 2.4
-Actions sur le groupe de serveurs
-modifier un parametre pour le groupe

si un des serveurs est juste crée = aucune configuration generée

J'obtiens une page vide!

Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011Traceback (most recent call last):
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/twisted/web/http.py", line 807, in requestReceived
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 self.process()
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 125, in process
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 self.render(resrc)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/twisted/web/server.py", line 132, in render
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 body = resrc.render(self)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/zephir/backend/xmlrpceole.py", line 193, in render
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 defer.maybeDeferred(function, cred_user, *args).addErrback(
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011--- <exception caught here> ---
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 117, in maybeDeferred
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 result = f(*args, **kw)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/zephir/backend/serveurs_rpc.py", line 1796, in xmlrpc_get_groupe_vars
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 d = serveur.get_config('modif_config',encode=encode)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/zephir/backend/lib_backend.py", line 478, in get_config
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 return self.load_conf(mode, dico)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/zephir/backend/lib_backend.py", line 595, in load_conf
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 self.dico = dico.parsedico(separator="| ")
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/python2.6/dist-packages/zephir/utils/creolewrap.py", line 859, in parsedico
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 data_dict = self.dico.make_dict(flatten=True)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 462, in make_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 476, in _make_sub_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 462, in make_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 476, in _make_sub_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 462, in make_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 479, in _make_sub_dict
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissive=force_permissive)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/config.py", line 267, in getattr
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissives=force_permissives)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/value.py", line 183, in getitem
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 force_permissives)
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 File "/usr/lib/pymodules/python2.6/tiramisu/value.py", line 279, in _getitem
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011 raise config_error
Apr 16 16:06:14 zephir zephir_backend: [HTTPChannel,994,127.0.0.1] #011tiramisu.error.ConfigError: impossible d'effectuer le calcul, l'option adresse_ip_eth2 a les propriétés : ['disabled'] pour : net_eth2_10
~

DICO pour info

<variable name="net_eth2_10" type="network" hidden='True' description="activer alis eth2 " />
<fill name='calc_network' target='net_eth2_10'>
<param type='eole' name='ip'>adresse_ip_eth2</param>
<param name='netmask'>255.0.0.0</param>
</fill>
<fill name='calc_multi_condition' target='alias_eth2'>
<param>10.0.0.0</param>
<param type='eole' name='condition_1'>net_eth2_10</param>
<param name='match'>oui</param>
<param name='mismatch'>non</param>
</fill>

Associated revisions

Revision 423bbb75 (diff)
Added by Bruno Boiget over 6 years ago

Correction sur la modification de variables sur un groupe

ref #11240 @1h30

History

#1 Updated by Joël Cuissinat over 6 years ago

  • Tracker changed from Anomalie to Tâche
  • Estimated time set to 3.00 h
  • Parent task set to #11245
  • Remaining (hours) set to 3.0

#2 Updated by Emmanuel GARETTE over 6 years ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Scrum Master over 6 years ago

  • Status changed from Nouveau to En cours

#4 Updated by Scrum Master over 6 years ago

  • Status changed from En cours to Résolu

#5 Updated by Daniel Dehennin over 6 years ago

On fait comment pour reproduire le problème ?

#6 Updated by Daniel Dehennin over 6 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 3.0 to 0.0

OK, fonctionne avec le paquet 2.3-eole87~3.gbpf341d9 en candidat.

#7 Updated by Emmanuel GARETTE over 6 years ago

  • % Done changed from 0 to 100

Also available in: Atom PDF