Tâche #30873
Scénario #30863: Traitement express MEN (43-45)
Finalisation du portage des évolutions EOP en 2.7.1+
100%
Description
Suite du scénario #30679 validé sur 2.6.2.
J'ai réalisé tous les merge sans difficulté dans les versions supérieures mais j'ai compilé uniquement en 2.8.0 afin de tester en priorité le portage sur cette version : #30869
N'arrivant pas à accéder à EOP sur Scribe 2.8.0, j'ai laissé les choses en l'état.
Il pourrait y avoir des perturbations liées à web_url mais, il y a une erreur suspecte dans le status du service (qui rappelle : #29487).
root@scribe:~# service eoleapps status ● eoleapps.service - Eole flask server Loaded: loaded (/lib/systemd/system/eoleapps.service; enabled; vendor preset: enabled) Active: active (running) since Fri 2020-10-16 12:08:20 CEST; 1min 53s ago Main PID: 171368 (gunicorn) Tasks: 2 (limit: 5856) Memory: 31.8M CGroup: /system.slice/eoleapps.service ├─171368 /usr/bin/python3 /usr/bin/gunicorn --pid /run/eoleapps.pid -c /etc/eole/flask/eoleapps.conf eoleflask.application:run(config='eoleapps') └─171375 /usr/bin/python3 /usr/bin/gunicorn --pid /run/eoleapps.pid -c /etc/eole/flask/eoleapps.conf eoleflask.application:run(config='eoleapps') oct. 16 12:08:19 scribe systemd[1]: Starting Eole flask server... oct. 16 12:08:20 scribe gunicorn[171297]: !!! oct. 16 12:08:20 scribe gunicorn[171297]: !!! WARNING: configuration file should have a valid Python extension. oct. 16 12:08:20 scribe gunicorn[171297]: !!! oct. 16 12:08:20 scribe systemd[1]: eoleapps.service: Can't open PID file /run/eoleapps.pid (yet?) after start: Operation not permitted oct. 16 12:08:20 scribe systemd[1]: Started Eole flask server.
À voir avec Cadoles car il y a de l'EOP 2.8.0 au programme du sprint en cours : #30786 !
Related issues
Associated revisions
Gunicorn configuration must end with “.py” under python3
Ref: #30873
Systemd: gunicorn configuration must end with “.py” under python3
Ref: #30873
Remove old gunicorn configuration
Ref: #30873
Remove old gunicorn configuration
Ref: #30873
Python: 2to3
Ref: #30873
Remove old gunicorn configuration
Ref: #30873
Python: 2to3 fixes execpt syntax
Ref: #30873
History
#1 Updated by Joël Cuissinat almost 3 years ago
- Related to Tâche #30869: Fusionner le code dans les versions supérieures added
#2 Updated by Joël Cuissinat almost 3 years ago
- Description updated (diff)
#3 Updated by Joël Cuissinat almost 3 years ago
- Related to Scénario #30786: Restaurer les options "Changement de mot de passe à la première connexion" sur Scribe 2.8.0 added
#4 Updated by Daniel Dehennin almost 3 years ago
Il y a quelques trucs à passer en python3
==> /var/log/eoleflask/eoleflask.log <== 2020-10-26 16:56:22,352: eoleflask - Unable to load module 'eop': No module named 'xmlrpclib' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/eoleflask/loader.py", line 89, in load_app m = __import__(module) File "/usr/lib/python3/dist-packages/eop/__init__.py", line 44, in <module> mod = importlib.import_module(module, package='eop') File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3/dist-packages/eop/modules/api/etabsapi.py", line 3, in <module> from xmlrpclib import ServerProxy ModuleNotFoundError: No module named 'xmlrpclib' 2020-10-26 16:56:22,355: eoleflask - Unable to load module 'eoe': invalid syntax (ldappasswordpersoapi.py, line 44) Traceback (most recent call last): File "/usr/lib/python3/dist-packages/eoleflask/loader.py", line 89, in load_app m = __import__(module) File "/usr/lib/python3/dist-packages/eoe/__init__.py", line 42, in <module> mod = importlib.import_module(module, package='eoe') File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "/usr/lib/python3/dist-packages/eoe/modules/api/ldappasswordpersoapi.py", line 44 except PasswordCheckError, e: ^ SyntaxError: invalid syntax
#5 Updated by Daniel Dehennin almost 3 years ago
- Status changed from Nouveau to En cours
#7 Updated by Daniel Dehennin almost 3 years ago
- Status changed from En cours to Résolu
- % Done changed from 80 to 100
J’ai refait les paquets 2.7.1 et 2.7.2.
#8 Updated by Joël Cuissinat almost 3 years ago
- Related to Tâche #29865: Adapter les scripts pre/post added
#9 Updated by Joël Cuissinat almost 3 years ago
- 2.7.1 : OK avec les paquets eop 2.7.1-10 et controle-vnc 2.7.1-6 (attention au cache !)
- 2.7.2 : OK avec les paquets eop 2.7.2-5 et controle-vnc 2.7.2-3 (attention au cache !)
- 2.8.0 : OK avec les derniers paquets eop (2.8.0-11) + EOE : OK
#10 Updated by Joël Cuissinat almost 3 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
#11 Updated by Joël Cuissinat almost 3 years ago
- Related to Tâche #30922: Le service eole-flask ne démarre pas sur 2.8.1 added