Projet

Général

Profil

Tâche #32052

Scénario #31989: Traceback zephir agent sur Amon 2.7.x

La non présence de fichier devrait remonter un erreur explicite

Ajouté par Emmanuel GARETTE il y a presque 3 ans. Mis à jour il y a presque 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Début:
07/04/2021
Echéance:
% réalisé:

100%

Restant à faire (heures):
0.0

Révisions associées

Révision 38f5818b (diff)
Ajouté par Emmanuel GARETTE il y a presque 3 ans

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

Historique

#1 Mis à jour par Emmanuel GARETTE il y a presque 3 ans

Cela retourne un warning (comme prévu initialement dans le code) :

2021-04-07T11:02:47.247609+02:00 amonecole.etb3.lan zephiragents[11996]: 2021-04-07T11:02:47+0200 [-] RRDtool warning: opening 'stats/0/network/status.rrd': No such file or directory
2021-04-07T11:02:47.247761+02:00 amonecole.etb3.lan zephiragents: [-] RRDtool warning: opening 'stats/0/network/status.rrd': No such file or directory

#2 Mis à jour par Emmanuel GARETTE il y a presque 3 ans

  • Statut changé de Nouveau à Résolu
  • Assigné à mis à Emmanuel GARETTE
  • % réalisé changé de 0 à 100

#3 Mis à jour par Joël Cuissinat il y a presque 3 ans

  • Sujet changé de La non précense de fichier devrait remonté un erreur explicite à La non présence de fichier devrait remonter un erreur explicite

#4 Mis à jour par Joël Cuissinat il y a presque 3 ans

  • Statut changé de Résolu à Fermé
  • Restant à faire (heures) mis à 0.0

La demande originale (scénario) est corrigée sur EOLE >= 2.7.0

zephir-client$ git branch -r --contains 38f5818b 
  origin/2.7.0/master
  origin/2.7.1/master
  origin/2.7.2/master
  origin/2.8.0/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.7.0/master
  origin/dist/eole/2.7.1/master
  origin/dist/eole/2.7.2/master
  origin/dist/eole/2.8.0/master
  origin/dist/eole/2.8.1/master
  origin/master

Le message dans les logs est désormais :

2021-04-20T14:47:15.055724+02:00 eolebase.ac-test.fr zephiragents[895]: 2021-04-20T14:47:15+0200 [-] RRDtool warning: opening 'stats/0/network/status.rrd': No such file or directory
2021-04-20T14:47:15.055989+02:00 eolebase.ac-test.fr zephiragents: [-] RRDtool warning: opening 'stats/0/network/status.rrd': No such file or directory

Formats disponibles : Atom PDF