Project

General

Profile

Tâche #19799

Scénario #19476: Traitements express EWT

Une variable du formulaire (dans une action) qui été désactivée ne devraient pas faire planter l'exécution de l'action

Added by Gwenael Remond over 4 years ago. Updated over 4 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Gwenael Remond
Start date:
02/08/2017
Due date:
% Done:

100%

Spent time:
Remaining (hours):
0.0

Description

2017-03-20T16:07:10.375725+01:00 scribe.ac-test.fr salt-minion[1365]: Traceback (most recent call last):
2017-03-20T16:07:10.375937+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/var/cache/salt/minion/extmods/modules/ead/bareos/__init__.py", line 31, in submit
2017-03-20T16:07:10.376088+01:00 scribe.ac-test.fr salt-minion[1365]:     return action.submit(*args, **kwargs)
2017-03-20T16:07:10.376224+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/var/cache/salt/minion/extmods/modules/ead/bareos/action.py", line 70, in submit
2017-03-20T16:07:10.376333+01:00 scribe.ac-test.fr salt-minion[1365]:     results = __salt__['state.apply'](modname, saltenv=ewtapp, pillar=dico)
2017-03-20T16:07:10.376478+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 459, in apply_
2017-03-20T16:07:10.376585+01:00 scribe.ac-test.fr salt-minion[1365]:     return sls(mods, **kwargs)
2017-03-20T16:07:10.376688+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 912, in sls
2017-03-20T16:07:10.376794+01:00 scribe.ac-test.fr salt-minion[1365]:     mocked=kwargs.get('mock', False))
2017-03-20T16:07:10.376897+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3354, in __init__
2017-03-20T16:07:10.377005+01:00 scribe.ac-test.fr salt-minion[1365]:     loader=loader)
2017-03-20T16:07:10.377150+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 657, in __init__
2017-03-20T16:07:10.377262+01:00 scribe.ac-test.fr salt-minion[1365]:     self.opts['pillar'] = self._gather_pillar()
2017-03-20T16:07:10.377379+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 699, in _gather_pillar
2017-03-20T16:07:10.377494+01:00 scribe.ac-test.fr salt-minion[1365]:     ret = pillar.compile_pillar()
2017-03-20T16:07:10.377671+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 170, in compile_pillar
2017-03-20T16:07:10.377789+01:00 scribe.ac-test.fr salt-minion[1365]:     dictkey='pillar',
2017-03-20T16:07:10.377892+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 75, in wrap
2017-03-20T16:07:10.377992+01:00 scribe.ac-test.fr salt-minion[1365]:     ret = self._block_future(ret)
2017-03-20T16:07:10.378115+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 85, in _block_future
2017-03-20T16:07:10.378233+01:00 scribe.ac-test.fr salt-minion[1365]:     return future.result()
2017-03-20T16:07:10.378338+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
2017-03-20T16:07:10.378466+01:00 scribe.ac-test.fr salt-minion[1365]:     raise_exc_info(self._exc_info)
2017-03-20T16:07:10.378569+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 230, in wrapper
2017-03-20T16:07:10.378670+01:00 scribe.ac-test.fr salt-minion[1365]:     yielded = next(result)
2017-03-20T16:07:10.378773+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py", line 186, in crypted_transfer_decode_dictentry
2017-03-20T16:07:10.378874+01:00 scribe.ac-test.fr salt-minion[1365]:     self._package_load(self.auth.crypticle.dumps(load)),
2017-03-20T16:07:10.378977+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/crypt.py", line 1214, in dumps
2017-03-20T16:07:10.379080+01:00 scribe.ac-test.fr salt-minion[1365]:     return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
2017-03-20T16:07:10.379214+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/payload.py", line 142, in dumps
2017-03-20T16:07:10.379323+01:00 scribe.ac-test.fr salt-minion[1365]:     return msgpack.dumps(msg)
2017-03-20T16:07:10.379526+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/msgpack/__init__.py", line 47, in packb
2017-03-20T16:07:10.379634+01:00 scribe.ac-test.fr salt-minion[1365]:     return Packer(**kwargs).pack(o)
2017-03-20T16:07:10.379737+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 223, in msgpack._packer.Packer.pack (msgpack/_packer.cpp:223)
2017-03-20T16:07:10.379838+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 225, in msgpack._packer.Packer.pack (msgpack/_packer.cpp:225)
2017-03-20T16:07:10.379940+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 184, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:184)
2017-03-20T16:07:10.380045+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 184, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:184)
2017-03-20T16:07:10.380194+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 213, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:213)
2017-03-20T16:07:10.380317+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 220, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:220)
2017-03-20T16:07:10.380423+01:00 scribe.ac-test.fr salt-minion[1365]: TypeError: can't serialize PropertiesOptionError('ne peut acc\xc3\xa9der \xc3\xa0 l\'option "Jour de fin d\'ex\xc3\xa9cution de la sauvegarde" a cause de la propri\xc3\xa9t\xc3\xa9 disabled',)

Associated revisions

Revision 9839b0fc (diff)
Added by Gwenael Remond over 4 years ago

removes the Properties errors from the backend's result lists

Ref #19799

History

#1 Updated by Gwenael Remond over 4 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Gwenael Remond over 4 years ago

2017-03-20T16:07:10.375725+01:00 scribe.ac-test.fr salt-minion[1365]: Traceback (most recent call last):
2017-03-20T16:07:10.375937+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/var/cache/salt/minion/extmods/modules/ead/bareos/__init__.py", line 31, in submit
2017-03-20T16:07:10.376088+01:00 scribe.ac-test.fr salt-minion[1365]:     return action.submit(*args, **kwargs)
2017-03-20T16:07:10.376224+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/var/cache/salt/minion/extmods/modules/ead/bareos/action.py", line 70, in submit
2017-03-20T16:07:10.376333+01:00 scribe.ac-test.fr salt-minion[1365]:     results = __salt__['state.apply'](modname, saltenv=ewtapp, pillar=dico)
2017-03-20T16:07:10.376478+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 459, in apply_
2017-03-20T16:07:10.376585+01:00 scribe.ac-test.fr salt-minion[1365]:     return sls(mods, **kwargs)
2017-03-20T16:07:10.376688+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/modules/state.py", line 912, in sls
2017-03-20T16:07:10.376794+01:00 scribe.ac-test.fr salt-minion[1365]:     mocked=kwargs.get('mock', False))
2017-03-20T16:07:10.376897+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 3354, in __init__
2017-03-20T16:07:10.377005+01:00 scribe.ac-test.fr salt-minion[1365]:     loader=loader)
2017-03-20T16:07:10.377150+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 657, in __init__
2017-03-20T16:07:10.377262+01:00 scribe.ac-test.fr salt-minion[1365]:     self.opts['pillar'] = self._gather_pillar()
2017-03-20T16:07:10.377379+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/state.py", line 699, in _gather_pillar
2017-03-20T16:07:10.377494+01:00 scribe.ac-test.fr salt-minion[1365]:     ret = pillar.compile_pillar()
2017-03-20T16:07:10.377671+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/pillar/__init__.py", line 170, in compile_pillar
2017-03-20T16:07:10.377789+01:00 scribe.ac-test.fr salt-minion[1365]:     dictkey='pillar',
2017-03-20T16:07:10.377892+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 75, in wrap
2017-03-20T16:07:10.377992+01:00 scribe.ac-test.fr salt-minion[1365]:     ret = self._block_future(ret)
2017-03-20T16:07:10.378115+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/utils/async.py", line 85, in _block_future
2017-03-20T16:07:10.378233+01:00 scribe.ac-test.fr salt-minion[1365]:     return future.result()
2017-03-20T16:07:10.378338+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/tornado/concurrent.py", line 215, in result
2017-03-20T16:07:10.378466+01:00 scribe.ac-test.fr salt-minion[1365]:     raise_exc_info(self._exc_info)
2017-03-20T16:07:10.378569+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/tornado/gen.py", line 230, in wrapper
2017-03-20T16:07:10.378670+01:00 scribe.ac-test.fr salt-minion[1365]:     yielded = next(result)
2017-03-20T16:07:10.378773+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/transport/zeromq.py", line 186, in crypted_transfer_decode_dictentry
2017-03-20T16:07:10.378874+01:00 scribe.ac-test.fr salt-minion[1365]:     self._package_load(self.auth.crypticle.dumps(load)),
2017-03-20T16:07:10.378977+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/crypt.py", line 1214, in dumps
2017-03-20T16:07:10.379080+01:00 scribe.ac-test.fr salt-minion[1365]:     return self.encrypt(self.PICKLE_PAD + self.serial.dumps(obj))
2017-03-20T16:07:10.379214+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/salt/payload.py", line 142, in dumps
2017-03-20T16:07:10.379323+01:00 scribe.ac-test.fr salt-minion[1365]:     return msgpack.dumps(msg)
2017-03-20T16:07:10.379526+01:00 scribe.ac-test.fr salt-minion[1365]:   File "/usr/lib/python2.7/dist-packages/msgpack/__init__.py", line 47, in packb
2017-03-20T16:07:10.379634+01:00 scribe.ac-test.fr salt-minion[1365]:     return Packer(**kwargs).pack(o)
2017-03-20T16:07:10.379737+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 223, in msgpack._packer.Packer.pack (msgpack/_packer.cpp:223)
2017-03-20T16:07:10.379838+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 225, in msgpack._packer.Packer.pack (msgpack/_packer.cpp:225)
2017-03-20T16:07:10.379940+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 184, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:184)
2017-03-20T16:07:10.380045+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 184, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:184)
2017-03-20T16:07:10.380194+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 213, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:213)
2017-03-20T16:07:10.380317+01:00 scribe.ac-test.fr salt-minion[1365]:   File "msgpack/_packer.pyx", line 220, in msgpack._packer.Packer._pack (msgpack/_packer.cpp:220)
2017-03-20T16:07:10.380423+01:00 scribe.ac-test.fr salt-minion[1365]: TypeError: can't serialize PropertiesOptionError('ne peut acc\xc3\xa9der \xc3\xa0 l\'option "Jour de fin d\'ex\xc3\xa9cution de la sauvegarde" a cause de la propri\xc3\xa9t\xc3\xa9 disabled',)

#3 Updated by Gwenael Remond over 4 years ago

dans l'action bareos, si je choisis "monthly" -> daily est désactivée, mais ça ne devrait pas faire planter le minion

#4 Updated by Gwenael Remond over 4 years ago

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

#5 Updated by Lionel Morin over 4 years ago

  • Subject changed from Une variable du formulaire d'une action qui été désactivée ne devraient pas faire planter l'exécution de l'action to Une variable du formulaire (dans une action) qui été désactivée ne devraient pas faire planter l'exécution de l'action

#6 Updated by Lionel Morin over 4 years ago

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

Also available in: Atom PDF