Repository navigation
Closed
Labels
bugbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems
Description
What happened?
In master cluster mode, salt/channel/server.py passes opts["interface"] to socket.bind(). However, before that, in salt/cli/daemons.py IPv6 addresses are rewritten in bracketed form (e.g. [2000::1]). socket.bind() does not accept such addresses and the server does not start.
From the client side, salt/transport/tcp.py guesses family by looking for a colon in an address. Obviously this doesn't work with domain names: if I provide cluster_peers: [peer.example.org], and I have peer.example.org → 2000::1, Salt doesn't find : in peer.example.org and tries to connect to it via IPv4, also unsuccessfully. Instead, Salt must call getaddrinfo and only then choose the family.
Type of salt install
pip (pypi)
Major version
3007.x, 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)
ubuntu-24.04
salt --versions-report output
Salt Version:
Salt: 3008.3-1
Python Version:
Python: 3.14.7 (main, Sep 30 2026, 03:35:11) [GCC 11.2.0]
Dependency Versions:
cffi: 2.0.0
cherrypy: 18.10.0
cryptography: 50.0.1
dateutil: 2.9.0.post0
docker-py: Not Installed
gitdb: 4.0.12
gitpython: 3.2.0
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.2.1
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 3.00
pycrypto: Not Installed
pycryptodome: 3.23.0
pygit2: Not Installed
python-gnupg: 0.5.6
PyYAML: 6.0.3
PyZMQ: 27.1.0
relenv: 0.22.27
smmap: 5.0.2
timelib: 0.3.0
Tornado: 6.5.10
ZMQ: 4.3.5
Salt Package Information:
Package Type: onedir
System Versions:
dist: ubuntu 24.04.5 noble
locale: utf-8
machine: x86_64
release: 5.15.179-15.2
system: Linux
version: Ubuntu 24.04.5 nobleMetadata
Metadata
Assignees
Labels
bugbroken, incorrect, or confusing behaviorseverity-high2nd top severity, seen by most users, causes major problems
Activity
welcome commentedon Oct 26, 2026
Hi there! Welcome to the Salt Community! Thank you for making your first contribution. We have a lengthy process for issues and PRs. Someone from the Core Team will follow up as soon as possible. In the meantime, here's some information that may help as you continue your Salt journey.
Please be sure to review our Code of Conduct. Also, check out some of our community resources including:
There are lots of ways to get involved in our community. Every month, there are around a dozen opportunities to meet with other contributors and the Salt Core team and collaborate in real time. The best way to keep track is by subscribing to the Salt Community Events Calendar.
If you have additional questions, email us at [email protected]. We're glad you've joined our community and look forward to doing awesome things with you!
Address cluster peers correctly on IPv6
Address cluster peers correctly on IPv6
Address cluster peers correctly on IPv6 (#70560)
dwoz commentedon Oct 30, 2026
Closing as completed — implemented by merged PR #70560.
tests: make pool-puller bracket-strip regression tolerate post-bind e…
tests: make pool-puller bracket-strip regression tolerate post-bind e…
tests: make pool-puller bracket-strip regression tolerate post-bind e…