Project

General

Profile

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

Added by Emmanuel GARETTE 5 months ago. Updated 5 months ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
04/07/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Associated revisions

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

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

History

#1 Updated by Emmanuel GARETTE 5 months ago

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 Updated by Emmanuel GARETTE 5 months ago

  • Status changed from Nouveau to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100

#3 Updated by Joël Cuissinat 5 months ago

  • Subject changed from La non précense de fichier devrait remonté un erreur explicite to La non présence de fichier devrait remonter un erreur explicite

#4 Updated by Joël Cuissinat 5 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 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

Also available in: Atom PDF