Projet

Général

Profil

Tâche #29847

Scénario #29650: Faire fonctionner Zéphir-web + GenConfig en 2.8.0

Porter les agents Zéphir en python3

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

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

100%

Temps estimé:
0.00 h
Restant à faire (heures):
0.0

Révisions associées

Révision d8a92290 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

port des fonctions utiles pour les agents Zéphir en python3 (ref #29847)

Révision db97d80a (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

suppression de la duplication de l'entrée activer_ead_web (ref #29847)

Révision 55a42627 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

port de l'agent Zéphir debsums en python3 (ref #29847)

Révision fd8c3c2b (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

port de l'agent Zéphir debsums en python3 (ref #29847)

Révision 92f393a2 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

portage des agents Zéphir en python3 (ref #29847)

Révision 10b9b2ae (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

portage des agents Zéphir en python3 (ref #29847)

Révision d882a9a1 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

port de l'agent Zéphir debsums en python3 (ref #29847)

Révision 2d23465c (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

correction Makefile (ref #29847)

Révision 3e48996a (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

correction Makefile (ref #29847)

Révision 0eca3853 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

portage des agents Zéphir en python3 (ref #29847)

Révision 562852a8 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

correction Makefile (ref #29847)

Révision 30f9c4ea (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

correction Makefile (ref #29847)

Révision 51c53f73 (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

port en python3 (ref #29847)

Révision f61234fe (diff)
Ajouté par Emmanuel GARETTE il y a environ 4 ans

Port de Zéphir (ref #29847)

Révision 1d6448ad (diff)
Ajouté par Emmanuel GARETTE il y a presque 4 ans

correction agents en python3 (ref #29847)

Révision a9224c20 (diff)
Ajouté par Joël Cuissinat il y a presque 4 ans

Toutes les fonctions "diagnose" semblent compatibles python3

ref #29847

Révision 20d73152 (diff)
Ajouté par Joël Cuissinat il y a presque 4 ans

  • show-reports.py : portage python3

(ref #29847)

Révision 03ce517e (diff)
Ajouté par Emmanuel GARETTE il y a environ un an

suppression de la duplication de l'entrée activer_ead_web (ref #29847)

Cherry-picked from eole-common:db97d80a for EOLE 2.7.2

Ref: #35236

Historique

#1 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de Nouveau à En cours

#2 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Assigné à mis à Emmanuel GARETTE

#3 Mis à jour par Emmanuel GARETTE il y a environ 4 ans

  • Statut changé de En cours à Résolu

#4 Mis à jour par Fabrice Barconnière il y a environ 4 ans

Ne peut pas tester. Les modules 2.8.0 ne s'instancient pas.
On verra à la qualification.

#5 Mis à jour par Fabrice Barconnière il y a environ 4 ans

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

#6 Mis à jour par Fabrice Barconnière il y a environ 4 ans

  • Statut changé de Fermé à En cours
  • Temps estimé mis à 0.00 h

#7 Mis à jour par Fabrice Barconnière il y a environ 4 ans

Diagnose d'un Sphynx 2.8.0 instancié :

*** Mise à jour
.        Dernière mise à jour => OK (Mise à jour terminée avec succès (état le 16 Apr 2020 09:32:15))
.        Reconfigure effectué => OK
.           Reboot nécessaire => Non

Traceback (most recent call last):
  File "/usr/share/eole/diagnose/152-rvp", line 14, in <module>
    from zephir.monitor.agents.rvp import parse_ipsec_statusall
ImportError: No module named zephir.monitor.agents.rvp
run-parts: /usr/share/eole/diagnose/152-rvp exited with return code 1

#8 Mis à jour par Fabrice Barconnière il y a environ 4 ans

z_stats ne se lance pas sur un Sphynx 2.8.0 instancié :

2020-04-16T09:52:27.981237+02:00 sphynx.ac-test.fr zephiragents[24563]: Traceback (most recent call last):
2020-04-16T09:52:27.981417+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/bin/twistd3", line 11, in <module>
2020-04-16T09:52:27.981482+02:00 sphynx.ac-test.fr zephiragents[24563]:     load_entry_point('Twisted==18.9.0', 'console_scripts', 'twistd')()
2020-04-16T09:52:27.981618+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/scripts/twistd.py", line 31, in run
2020-04-16T09:52:27.981701+02:00 sphynx.ac-test.fr zephiragents[24563]:     app.run(runApp, ServerOptions)
2020-04-16T09:52:27.981752+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 669, in run
2020-04-16T09:52:27.981797+02:00 sphynx.ac-test.fr zephiragents[24563]:     config.parseOptions()
2020-04-16T09:52:27.981858+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 636, in parseOptions
2020-04-16T09:52:27.981918+02:00 sphynx.ac-test.fr zephiragents[24563]:     usage.Options.parseOptions(self, options)
2020-04-16T09:52:27.981977+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/python/usage.py", line 265, in parseOptions
2020-04-16T09:52:27.982035+02:00 sphynx.ac-test.fr zephiragents[24563]:     self.subOptions = parser()
2020-04-16T09:52:27.982083+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/application/app.py", line 660, in <lambda>
2020-04-16T09:52:27.982135+02:00 sphynx.ac-test.fr zephiragents[24563]:     lambda plug=plug: plug.options(),
2020-04-16T09:52:27.982186+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/application/service.py", line 77, in get
2020-04-16T09:52:27.982265+02:00 sphynx.ac-test.fr zephiragents[24563]:     return namedAny(self.module).Options
2020-04-16T09:52:27.982312+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 308, in namedAny
2020-04-16T09:52:27.982384+02:00 sphynx.ac-test.fr zephiragents[24563]:     topLevelPackage = _importAndCheckStack(trialname)
2020-04-16T09:52:27.982435+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/twisted/python/reflect.py", line 247, in _importAndCheckStack
2020-04-16T09:52:27.982498+02:00 sphynx.ac-test.fr zephiragents[24563]:     return __import__(importName)
2020-04-16T09:52:27.982563+02:00 sphynx.ac-test.fr zephiragents[24563]:   File "/usr/lib/python3/dist-packages/zephir/monitor/agentmanager/zephir_tap.py", line 20, in <module>
2020-04-16T09:52:27.982652+02:00 sphynx.ac-test.fr zephiragents[24563]:     gettext.install(APP, DIR, unicode=False)
2020-04-16T09:52:27.982718+02:00 sphynx.ac-test.fr zephiragents[24563]: TypeError: install() got an unexpected keyword argument 'unicode'

#9 Mis à jour par Fabrice Barconnière il y a presque 4 ans

Pour l'erreur diagnose (#29847#note-7), sera traité dans #29966.

#10 Mis à jour par Emmanuel GARETTE il y a presque 4 ans

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

#11 Mis à jour par Fabrice Barconnière il y a presque 4 ans

  • Statut changé de Résolu à Fermé

#12 Mis à jour par Joël Cuissinat il y a environ un an

  • Lié à Tâche #35236: EOLE 2.7 : Option 'activer_ead_web' en double dans zstats.cfg ajouté

#13 Mis à jour par Joël Cuissinat il y a environ un an

  • Lié à Tâche #35236: EOLE 2.7 : Option 'activer_ead_web' en double dans zstats.cfg supprimé

Formats disponibles : Atom PDF