Project

General

Profile

Tâche #32051

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

Agent Zéphir VPN : la non configuration du VPN ne devrait pas faire de traceback

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

Description

Il est normal qu'une erreur soit remonté, mais le fait que cela soit un traceback peut induire en erreur :

2021-04-07T10:58:46.230604+02:00 amonecole.etb3.lan zephiragents[11996]: 2021-04-07T10:58:46+0200 [stderr#error] Traceback (most recent call last):
2021-04-07T10:58:46.230766+02:00 amonecole.etb3.lan zephiragents[11996]: 2021-04-07T10:58:46+0200 [stderr#error]   File "/usr/lib/python3/dist-packages/zephir/monitor/agents/rvp.py", line 62, in parse_ipsec_statusall
2021-04-07T10:58:46.230809+02:00 amonecole.etb3.lan zephiragents[11996]: 2021-04-07T10:58:46+0200 [stderr#error]     raise Exception("No VPN configuration")
2021-04-07T10:58:46.230949+02:00 amonecole.etb3.lan zephiragents[11996]: 2021-04-07T10:58:46+0200 [stderr#error] Exception: No VPN configuration

Associated revisions

Revision f845161a (diff)
Added by Emmanuel GARETTE 5 months ago

rvp.py suppression du traceback (ref #32051)

History

#1 Updated by Emmanuel GARETTE 5 months ago

  • Tracker changed from Demande to Tâche
  • Status changed from Nouveau to Résolu
  • Assigned To set to Emmanuel GARETTE
  • % Done changed from 0 to 100
  • Parent task set to #31989

#2 Updated by Joël Cuissinat 5 months ago

Corrigé pour EOLE >= 2.8.0 :

zephir-client$ git branch -r --contains  f845161a 
  origin/2.8.0/master
  origin/HEAD -> origin/master
  origin/dist/eole/2.8.0/master
  origin/dist/eole/2.8.1/master
  origin/master

#3 Updated by Joël Cuissinat 5 months ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) set to 0.0

OK

Also available in: Atom PDF