Projet

Général

Profil

Anomalie #3457

Traceback à chaque arrêt de z_stats

Ajouté par Joël Cuissinat il y a presque 12 ans. Mis à jour il y a presque 12 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Début:
11/05/2012
Echéance:
% réalisé:

100%

Temps estimé:
0.75 h
Temps passé:
Distribution:
EOLE 2.3

Description

Ca fait certainement suite aux modifications réalisées pour utiliser rsyslog : #2708

root@amonecole:~# tail -n20  /var/log/rsyslog/local/zephiragents/zephiragents.alert.log
May 11 11:04:09 amonecole zephiragents: [-] Traceback (most recent call last):
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/bin/twistd", line 19, in <module>
May 11 11:04:09 amonecole zephiragents: [-]     run()
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 27, in run
May 11 11:04:09 amonecole zephiragents: [-]     app.run(runApp, ServerOptions)
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 693, in run
May 11 11:04:09 amonecole zephiragents: [-]     runApp(config)
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/scripts/twistd.py", line 23, in runApp
May 11 11:04:09 amonecole zephiragents: [-]     _SomeApplicationRunner(config).run()
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 424, in run
May 11 11:04:09 amonecole zephiragents: [-]     self.logger.stop()
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/application/app.py", line 282, in stop
May 11 11:04:09 amonecole zephiragents: [-]     log.removeObserver(self._observer)
May 11 11:04:09 amonecole zephiragents: [-]   File "/usr/lib/python2.6/dist-packages/twisted/python/log.py", line 260, in removeObserver
May 11 11:04:09 amonecole zephiragents: [-]     self.observers.remove(other)
May 11 11:04:09 amonecole zephiragents: [-] ValueError: list.remove(x): x not in list
May 11 11:04:09 amonecole zephiragents: [-] Unhandled error in Deferred:
May 11 11:04:09 amonecole zephiragents: [-] Unhandled Error
May 11 11:04:09 amonecole zephiragents: [-] #011Traceback (most recent call last):
May 11 11:04:09 amonecole zephiragents: [-] #011Failure: twisted.internet.error.ProcessTerminated: A process has ended with
a probable error condition: process ended with exit code 1.


Demandes liées

Lié à zephir-client - Anomalie #2708: Gérer les logs des agents zéphir Fermé 12/01/2012

Révisions associées

Révision b8a56c12 (diff)
Ajouté par Alexandre Delaunay il y a environ 6 ans

API issues (#3474)

  • add a specific error in case of wrong app token, fix #3457
  • prevent regeneration of api/user tokens when not requested, fix #3458
  • add tests for app_token

Historique

#1 Mis à jour par Bruno Boiget il y a presque 12 ans

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

vilain fix en stockant et remettant l'observeur d'origine à la fermeture du service pour éviter que twisted plante

#2 Mis à jour par Bruno Boiget il y a presque 12 ans

#3 Mis à jour par Daniel Dehennin il y a presque 12 ans

  • Assigné à changé de Bruno Boiget à Daniel Dehennin

Pour qualification

#4 Mis à jour par Daniel Dehennin il y a presque 12 ans

  • Statut changé de Résolu à Fermé
Jun 11 17:51:44 horus zephiragents: [-] debsums : pas de dernière mesure disponible.
Jun 11 17:51:51 horus zephiragents: [-] Received SIGTERM, shutting down.
Jun 11 17:51:51 horus zephiragents: [-] (Port 8090 Closed)
Jun 11 17:51:51 horus zephiragents: [-] Stopping factory <twisted.web.server.Site instance at 0x2c90320>
Jun 11 17:51:51 horus zephiragents: [-] Main loop terminated.
Jun 11 17:51:51 horus zephiragents: [-] Server Shut Down.

Formats disponibles : Atom PDF