Project

General

Profile

Tâche #32790

Scénario #32772: L'agent Zéphir antivirus doit fonctionner sur tous les modules concernés (2.8.1rc2)

corriger le nom de l'agent importé

Added by Matthieu Lamalle 6 months ago. Updated 6 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/11/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

History

#1 Updated by Matthieu Lamalle 6 months ago

  • Status changed from Nouveau to En cours

#2 Updated by Matthieu Lamalle 6 months ago

  • Status changed from En cours to Résolu

#3 Updated by Joël Cuissinat 6 months ago

  • Status changed from Résolu to Fermé
  • Assigned To set to Matthieu Lamalle
  • % Done changed from 0 to 100
  • Remaining (hours) set to 0.0

Si on remet l'erreur à l'origine du scénario, l'erreur est bien plus claire dans les logs :

root@amonecole:~# tail -fn22 /var/log/rsyslog/local/zephiragents/zephiragents.info.log 
2021-06-17T13:14:37.063440+02:00 amonecole.etb3.lan zephiragents[333161]: Traceback (most recent call last):
2021-06-17T13:14:37.063888+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/bin/twistd3", line 11, in <module>
2021-06-17T13:14:37.063968+02:00 amonecole.etb3.lan zephiragents[333161]:     load_entry_point('Twisted==18.9.0', 'console_scripts', 'twistd')()
2021-06-17T13:14:37.064009+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/twisted/scripts/twistd.py", line 31, in run
2021-06-17T13:14:37.064046+02:00 amonecole.etb3.lan zephiragents[333161]:     app.run(runApp, ServerOptions)
2021-06-17T13:14:37.064082+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 674, in run
2021-06-17T13:14:37.064118+02:00 amonecole.etb3.lan zephiragents[333161]:     runApp(config)
2021-06-17T13:14:37.064163+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/twisted/scripts/twistd.py", line 25, in runApp
2021-06-17T13:14:37.064200+02:00 amonecole.etb3.lan zephiragents[333161]:     runner.run()
2021-06-17T13:14:37.064235+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 381, in run
2021-06-17T13:14:37.064271+02:00 amonecole.etb3.lan zephiragents[333161]:     self.application = self.createOrGetApplication()
2021-06-17T13:14:37.064317+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 448, in createOrGetApplication
2021-06-17T13:14:37.064354+02:00 amonecole.etb3.lan zephiragents[333161]:     ser = plg.makeService(self.config.subOptions)
2021-06-17T13:14:37.064389+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/zephir/monitor/agentmanager/zephir_tap.py", line 49, in makeService
2021-06-17T13:14:37.064425+02:00 amonecole.etb3.lan zephiragents[333161]:     return ZephirService(config,serve_static=True).with_updater_and_publisher()
2021-06-17T13:14:37.064461+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 86, in with_updater_and_publisher
2021-06-17T13:14:37.064497+02:00 amonecole.etb3.lan zephiragents[333161]:     self.updater = UpdaterService(self.config, self, self.root_resource)
2021-06-17T13:14:37.064541+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 111, in __init__
2021-06-17T13:14:37.064580+02:00 amonecole.etb3.lan zephiragents[333161]:     self.agents = self.load_agents()
2021-06-17T13:14:37.064633+02:00 amonecole.etb3.lan zephiragents[333161]:   File "/usr/lib/python3/dist-packages/zephir/monitor/agentmanager/zephirservice.py", line 164, in load_agents
2021-06-17T13:14:37.064674+02:00 amonecole.etb3.lan zephiragents[333161]:     assert a.name not in loaded_agents, f"l'agent {a.name} est déjà chargé." 
2021-06-17T13:14:37.064711+02:00 amonecole.etb3.lan zephiragents[333161]: AssertionError: l'agent fresh est déjà chargé.

Also available in: Atom PDF