Hi!

Applying the fix linked in https://github.com/saltstack/salt/pull/62119 resolves the ZMQ error, but unmasks another one - the salt.transport.base module. The base module is not part of 3004.1 (or .2). It was introduced with version 3005. Pulling the base.py file from https://github.com/saltstack/salt/tree/v3005/salt/transport doesn't solve it since Salt will start complaining about a missing 'ZeroMQPubServerChannel' attribute.

I've checked the Debian package and it contains a lot of patches, so it looks like the Debian version is heavily modified (diffing the upstream 3004.1 zeromq.py code against the Debian package zeromq.py confirms this).





dec 15 22:32:25 localhost salt-master[69709]: self.master.start()
dec 15 22:32:25 localhost salt-master[69709]: File "/usr/lib/python3/dist-packages/salt/master.py", line 711, in start dec 15 22:32:25 localhost salt-master[69709]: chan = salt.transport.server.PubServerChannel.factory(opts) dec 15 22:32:25 localhost salt-master[69709]: File "/usr/lib/python3/dist-packages/salt/transport/server.py", line 76, in factory dec 15 22:32:25 localhost salt-master[69709]: import salt.transport.zeromq dec 15 22:32:25 localhost salt-master[69709]: File "/usr/lib/python3/dist-packages/salt/transport/zeromq.py", line 102, in <module> dec 15 22:32:25 localhost salt-master[69709]: class PublishClient(salt.transport.base.PublishClient): dec 15 22:32:25 localhost salt-master[69709]: AttributeError: module 'salt.transport' has no attribute 'base'

Cheers

Reply via email to