FS#75114 - [salt] python-pyzmq 23.x upgrade breaks salt-master
Attached to Project:
Community Packages
Opened by Dennis Schubert (DenSchub) - Monday, 20 June 2022, 01:15 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 04 July 2022, 17:28 GMT
Opened by Dennis Schubert (DenSchub) - Monday, 20 June 2022, 01:15 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 04 July 2022, 17:28 GMT
|
Details
With any python-pyzmq 23.x installed (tested with 23.1 and
23.0), starting the salt master fails with:
Process salt.transport.zeromq.<class 'method'>._publish_daemon: Traceback (most recent call last): File "/usr/lib/python3.10/multiprocessing/process.py", line 315, in _bootstrap self.run() File "/usr/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/usr/lib/python3.10/site-packages/salt/transport/zeromq.py", line 899, in _publish_daemon pub_sock.setsockopt(zmq.HWM, self.opts.get("pub_hwm", 1000)) File "zmq/backend/cython/socket.pyx", line 447, in zmq.backend.cython.socket.Socket.set File "zmq/backend/cython/socket.pyx", line 279, in zmq.backend.cython.socket._setsockopt File "zmq/backend/cython/checkrc.pxd", line 28, in zmq.backend.cython.checkrc._check_rc zmq.error.ZMQError: Invalid argument Downgrading to python-pyzmq-22.3.0-1 is a workaround for now. |
This task depends upon
Closed by Morten Linderud (Foxboron)
Monday, 04 July 2022, 17:28 GMT
Reason for closing: Fixed
Additional comments about closing: 3004.2-1
Monday, 04 July 2022, 17:28 GMT
Reason for closing: Fixed
Additional comments about closing: 3004.2-1
[1] https://github.com/saltstack/salt/commit/6ec8b90e402ff3fa8f27c7da70ece898592416bc
Could you kindly update the package with the fix?
(running a salt master in an arch VM, very painful as is)
THIS patch is the correct one.