Project

General

Profile

Scénario #31989

Traceback zephir agent sur Amon 2.7.x

Added by Gilles Grandgérard 6 months ago. Updated 5 months ago.

Status:
Terminé (Sprint)
Priority:
Normal
Assigned To:
Category:
-
Start date:
04/07/2021
Due date:
04/23/2021
% Done:

100%

Story points:
1.0
Remaining (hours):
0.00 hour
Velocity based estimate:
Release:
Release relationship:
Auto

Description

Vu dans https://dev-eole.ac-dijon.fr/jenkins/job/2.7.1/job/test-sauvegarde-bareos-sauvegarde-full-amon-2.7.1-amd64/ws/ws/etb1.amon-529879/systemd-journalctl-xe.log

mars 23 23:37:58 amon zephiragents[1444]: 2021-03-23T23:37:58+0100 [twisted.internet.defer#critical] Unhandled error in Deferred:
mars 23 23:37:58 amon zephiragents[1444]: 2021-03-23T23:37:58+0100 [twisted.internet.defer#critical]
mars 23 23:37:58 amon zephiragents[1444]:         Traceback (most recent call last):
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/twisted/internet/protocol.py", line 638, in childDataReceived
mars 23 23:37:58 amon zephiragents[1444]:             self.errReceived(data)
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/twisted/internet/utils.py", line 81, in errReceivedIsBad
mars 23 23:37:58 amon zephiragents[1444]:             self.deferred.errback(failure.Failure(err))
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 500, in errback
mars 23 23:37:58 amon zephiragents[1444]:             self._startRunCallbacks(fail)
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 567, in _startRunCallbacks
mars 23 23:37:58 amon zephiragents[1444]:             self._runCallbacks()
mars 23 23:37:58 amon zephiragents[1444]:         --- <exception caught here> ---
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 653, in _runCallbacks
mars 23 23:37:58 amon zephiragents[1444]:             current.result = callback(current.result, *args, **kw)
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/agent.py", line 341, in <lambda>
mars 23 23:37:58 amon zephiragents[1444]:             lambda m: self.save_measure(Measure(now, m)),
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/agent.py", line 601, in save_measure
mars 23 23:37:58 amon zephiragents[1444]:             self.rrd.update(rrd_values, measure.get_date())
mars 23 23:37:58 amon zephiragents[1444]:           File "/usr/lib/python2.7/dist-packages/zephir/monitor/agentmanager/rrd.py", line 119, in update
mars 23 23:37:58 amon zephiragents[1444]:             except rrdtool.error, e:
mars 23 23:37:58 amon zephiragents[1444]:         exceptions.AttributeError: 'module' object has no attribute 'error'

Subtasks

Tâche #32049: AmonEcole : erreur de l'agent DHCPFerméEmmanuel GARETTE

Tâche #32050: Agent Zéphir bareos : le script /usr/lib/nagios/plugins/check_bareos n'existe plus en 2.8.1FerméEmmanuel GARETTE

Tâche #32051: Agent Zéphir VPN : la non configuration du VPN ne devrait pas faire de tracebackFerméEmmanuel GARETTE

Tâche #32052: La non présence de fichier devrait remonter un erreur expliciteFerméEmmanuel GARETTE

Tâche #32053: Compléter le test jenkins pour détecter ces erreursFerméEmmanuel GARETTE


Related issues

Related to Distribution EOLE - Tâche #32080: Valider le scénario Traceback zephir agent sur Amon 2.7.x Fermé 04/08/2021

Associated revisions

Revision 38f5818b (diff)
Added by Emmanuel GARETTE 6 months ago

faire un warning explicite en cas d'erreur d'insertion rrdtool (ref #31989)

History

#1 Updated by Joël Cuissinat 6 months ago

  • Tracker changed from Demande to Scénario
  • Subject changed from Traceback zephir agent sur Amon 2.7.2 to Traceback zephir agent sur Amon 2.7.x
  • Due date set to 04/23/2021
  • Target version set to sprint 2021 14-16 Equipe MENSR
  • Release set to EOLE 2.7.0
  • Story points set to 1.0

#2 Updated by Joël Cuissinat 6 months ago

  • Target version changed from sprint 2021 14-16 Equipe MENSR to Prestation Cadoles MEN 2021 14-16

#3 Updated by Emmanuel GARETTE 6 months ago

  • Assigned To set to Emmanuel GARETTE

#4 Updated by Emmanuel GARETTE 6 months ago

Pour reproduire l'erreur :

rm -f /usr/share/zephir/monitor/stats/0/*/*.rrd

Cette erreur doit apparaitre cycliquement.

Après redémarrage du service, tout rentre dans l'ordre :

systemctl restart z_stats.service

#5 Updated by Emmanuel GARETTE 6 months ago

  • Status changed from Nouveau to Résolu

#6 Updated by Joël Cuissinat 6 months ago

  • Related to Tâche #32080: Valider le scénario Traceback zephir agent sur Amon 2.7.x added

#7 Updated by Joël Cuissinat 6 months ago

  • Status changed from Résolu to En cours

#8 Updated by Emmanuel GARETTE 5 months ago

  • Status changed from En cours to Résolu

#9 Updated by Joël Cuissinat 5 months ago

  • Status changed from Résolu to Terminé (Sprint)

Also available in: Atom PDF