Tâche #33690
Scénario #33762: EOLE 2.9 : L'EAD3 doit être fonctionnel
revoir salt-api en 2.9
100%
Description
janv. 18 11:14:55 eolebase salt-api-ead3[43619]: return _func_or_method(*args, **kwargs) janv. 18 11:14:55 eolebase salt-api-ead3[43619]: File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/__init__.py", line 126, in start janv. 18 11:14:55 eolebase salt-api-ead3[43619]: http_server = salt.ext.tornado.httpserver.HTTPServer(get_application(__opts__), **kwargs) janv. 18 11:14:55 eolebase salt-api-ead3[43619]: File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/__init__.py", line 42, in get_application janv. 18 11:14:55 eolebase salt-api-ead3[43619]: from . import saltnado janv. 18 11:14:55 eolebase salt-api-ead3[43619]: File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/saltnado.py", line 229, in <module> janv. 18 11:14:55 eolebase salt-api-ead3[43619]: salt.utils.zeromq.install_zmq() janv. 18 11:14:55 eolebase salt-api-ead3[43619]: AttributeError: module 'salt.utils.zeromq' has no attribute 'install_zmq' janv. 18 11:14:55 eolebase salt-api[43619]: 2022-01-18 11:14:55,773 [salt.utils.process:1039][ERROR ][43619] An un-handled exception from the multiprocessing process 'RunNetapi-164' was caught: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/salt/utils/process.py", line 1034, in wrapped_run_func return run_func() File "/usr/lib/python3/dist-packages/salt/client/netapi.py", line 27, in run netapi_func() File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 149, in __call__ return self.loader.run(run_func, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1201, in run return self._last_context.run(self._run_as, _func_or_method, *args, **kwargs) File "/usr/lib/python3/dist-packages/salt/loader/lazy.py", line 1216, in _run_as return _func_or_method(*args, **kwargs) File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/__init__.py", line 126, in start http_server = salt.ext.tornado.httpserver.HTTPServer(get_application(__opts__), **kwargs) File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/__init__.py", line 42, in get_application from . import saltnado File "/usr/lib/python3/dist-packages/salt/netapi/rest_eole/saltnado.py", line 229, in <module> salt.utils.zeromq.install_zmq() AttributeError: module 'salt.utils.zeromq' has no attribute 'install_zmq'
Associated revisions
Blacken salt
Basé sur le commit "Blacken salt" de salt
0b2a5613b345f17339cb90e60b407199b3d26980
Ref #33690
Typos et coding style
Basé sur les commits de salt 'Fix various spelling mistakes in master branch'
ebd3ebe67ed1c89377156e4a2478560c406f9235
'Fix typo (`Minon` → `Minion`)'
830277e4673aa6444c86725e817d47b23268a40d
'Fix strings'
76e50885b07621e9e4c16bc3f1ebc16c93983b90
'More code style fixes'
02bb9f5e8adce6dd917a4c04d4aec6c9e49a18eb
' Run pre-commit hooks on changes'
4e3082bb8633f9e532d59bd99354b4c58fc353c9
Ref #33690
Drop py2 and six
Basé sur les commits de salt 'Run pre-commit hooks on changes'
4e3082bb8633f9e532d59bd99354b4c58fc353c9
'Drop Py2 and six on salt/netapi/rest_tornado/saltnado.py'
520b52dd9224b432dcb3e3e62e45b64b12fb3b98
'Pyupgrade and drop six'
d9b50659b2be467f31d59245e70202fbabc83092
Ref #33690
saltnado: don't use gather_job_timeout as a timeout signal in job_not_running
Basé sur le commit de salt 'saltnado: don't use gather_job_timeout as a timeout signal in job_not_running'
1f640fc69a5fc844c138cb68014993c5b1afeb7d
Ref #33690
Save local client SaltAPIHandler::job_not_running
Basé sur le commit de salt 'Save local client SaltAPIHandler::job_not_running'
f4c668b4d7b0b9b72147a35612babaf94928d9f8
Ref #33690
Remove install_zmq and serial ref
Basé sur les commits de salt 'Remove install_zmq and ZMQDefaultLoop'
bc4ca20f359e5c1d7aaef84945824c792c3bafe6
'Remove serial ref'
997de8c4a745c5a0b58f460113e19eda944980e7
Ref #33690
Upgrade saltnado depuis salt
Version 3004rc1 + les 3 commits suivants de master:
Basé sur les commits de salt 'Fix saltnado tests'
3828c7c5e7c7a21fb2635baab134b91ff904dc38
'Extract loop into function'
2850e546f63a220b33f082ec2610f4bc0762558e
'Fix saltnado infinite loop'
5bfa7af5471cb3f59b48b4842637cf5511ff756a
Ref #33690
Oubli lors du portage en version 3000
Ref #33690
History
#1 Updated by Joël Cuissinat about 1 year ago
- Parent task changed from #33643 to #33762
#2 Updated by Laurent Gourvenec about 1 year ago
- Status changed from Nouveau to En cours
- Assigned To set to Laurent Gourvenec
- % Done changed from 0 to 60
#3 Updated by Laurent Gourvenec about 1 year ago
- Status changed from En cours to À valider
- Assigned To deleted (
Laurent Gourvenec) - % Done changed from 60 to 100
Upgrade de saltnado vers la 3004 avec en prime 3 commits de master qui semblent corriger des soucis.
#4 Updated by Laurent Gourvenec about 1 year ago
- Assigned To set to Laurent Gourvenec
#5 Updated by Ludwig Seys about 1 year ago
- Status changed from À valider to Résolu
#6 Updated by Joël Cuissinat about 1 year ago
- Status changed from Résolu to Fermé
- Remaining (hours) set to 0.0
Super ;)
Tous les commits concernent le projet project:eole-saltstack