Repository navigation
Closed
Labels
bugbroken, incorrect, or confusing behavior
Milestone
Description
What happened?
After upgrading my master cluster from 3007.14 to 3008.2, I found that peer communication was occurring over port 55596 and not 4520 as it had in the past.
The master cluster documentation indicates that the cluster_pool_port (default: 4520) setting is used for Raft RPC between the peers, but the following code indicates that cluster_port is actually being used and defaults to port 55596. cluster_port is not part of the master configuration documentation.
salt/salt/cluster/consensus/service.py
Lines 612 to 619 in c8f7e9a
| pusher = self._peer_pushers.get(addr) | |
| if pusher is None: | |
| port = self.opts.get("cluster_port", 55596) | |
| pusher = salt.transport.tcp.PublishServer( | |
| self.opts, | |
| pull_host=addr, | |
| pull_port=port, | |
| ) |
Lines 1544 to 1552 in c8f7e9a
| @classmethod | |
| def factory(cls, opts, **kwargs): | |
| if opts.get("cluster_id"): | |
| # Cluster mode: Use TCP-based transport for peer communication while | |
| # preserving normal local IPC behavior for internal processes. | |
| port = opts.get("cluster_port", 55596) | |
| pull_path = os.path.join(opts["sock_dir"], "master_event_pull.ipc") | |
| pub_path = os.path.join(opts["sock_dir"], "master_event_pub.ipc") | |
| bind_host = opts.get("interface", "127.0.0.1") |
Type of salt install
Official deb
Major version
3008.x
What supported OS are you seeing the problem on? Can select multiple. (If bug appears on an unsupported OS, please open a GitHub Discussion instead)
debian-12
salt --versions-report output
Salt Version:
Salt: 3008.2
Python Version:
Python: 3.14.6 (main, Jun 11 2026, 02:19:05) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: 18.10.0
cryptography: 48.0.0
dateutil: 2.9.0.post0
docker-py: Not Installed
gitdb: 4.0.12
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: 1.9.2
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.1.2
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 3.00
pycrypto: Not Installed
pycryptodome: 3.23.0
pygit2: 1.19.2
python-gnupg: 0.5.6
PyYAML: 6.0.3
PyZMQ: 27.1.0
relenv: 0.22.14
smmap: 5.0.2
timelib: 0.3.0
Tornado: 6.5.7
ZMQ: 4.3.5
Salt Package Information:
Package Type: onedir
System Versions:
dist: debian 12.15 bookworm
locale: utf-8
machine: x86_64
release: 6.1.0-51-amd64
system: Linux
version: Debian GNU/Linux 12.15 bookwormMetadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behavior
Activity
Fix master-cluster peer traffic honoring cluster_pool_port (#69877)
Merge pull request #70079 from dwoz/dwoz/fix/69877-cluster-port-rename
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes
tests: catch three test suites up to recent production fixes