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
Task Type Bug Report
Category Packages
Status Closed
Assigned To Johannes Löthberg (demize)
Morten Linderud (Foxboron)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

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
Comment by loqs (loqs) - Monday, 20 June 2022, 20:15 GMT Comment by Dennis Schubert (DenSchub) - Monday, 20 June 2022, 20:18 GMT
As far as I can tell from a very quick test, that resolves the issue, yes!
Comment by Renato Caldas (rmsc) - Monday, 04 July 2022, 17:06 GMT
The attached patch (against the archlinux svn repo) adds the upstream patch to the tree and updates the PKGBUILD.

Could you kindly update the package with the fix?

(running a salt master in an arch VM, very painful as is)
Comment by Renato Caldas (rmsc) - Monday, 04 July 2022, 17:12 GMT
Forgot to update pkgrel, and I'm unable to delete the old patch. Sorry..

THIS patch is the correct one.

Loading...