-
Notifications
You must be signed in to change notification settings - Fork 5.5k
Open
Labels
Description
Description
Upgrade salt deb packages on minion computer to 3007.4 (latest available currently) and on restarting the salt-minion service, it doesn't connect to the master.
Logs:
Jun 13 12:15:21 chorale salt-minion[436232]: [ERROR ] Exception in callback functools.partial(<bound method IOLoop._discard_future_result of <tornado.platform.asyncio.AsyncI>
Jun 13 12:15:21 chorale salt-minion[436232]: Traceback (most recent call last):
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/ioloop.py", line 750, in _run_callback
Jun 13 12:15:21 chorale salt-minion[436232]: ret = callback()
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/ioloop.py", line 774, in _discard_future_result
Jun 13 12:15:21 chorale salt-minion[436232]: future.result()
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 779, in run
Jun 13 12:15:21 chorale salt-minion[436232]: yielded = self.gen.throw(exc)
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/crypt.py", line 821, in _authenticate
Jun 13 12:15:21 chorale salt-minion[436232]: creds = yield self.sign_in(channel=channel)
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 766, in run
Jun 13 12:15:21 chorale salt-minion[436232]: value = future.result()
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/tornado/gen.py", line 785, in run
Jun 13 12:15:21 chorale salt-minion[436232]: yielded = self.gen.send(value)
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/crypt.py", line 961, in sign_in
Jun 13 12:15:21 chorale salt-minion[436232]: ret = self.handle_signin_response(sign_in_payload, payload)
Jun 13 12:15:21 chorale salt-minion[436232]: File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/crypt.py", line 1002, in handle_signin_response
Jun 13 12:15:21 chorale salt-minion[436232]: payload["session"], self.opts["encryption_algorithm"]
Jun 13 12:15:21 chorale salt-minion[436232]: KeyError: 'session'
Jun 13 12:16:20 chorale salt-minion[436232]: [ERROR ] Minion unable to successfully connect to a Salt Master.
Setup
- [ x ] VM (KVM, but likely any deb installed instance, and maybe wider)
- [ x ] onedir (I think)
deb [signing-etc] https://packages.broadcom.com/artifactory/saltproject-deb/ stable main
Steps to Reproduce the behavior
Take existing salt network, upgrade salt-minion.
Expected behavior
Connect to master.
Versions Report
salt --versions-report
(Provided by running salt --versions-report. Please also mention any differences in master/minion versions.)Updated minion
Salt Version:
Salt: 3007.4
Python Version:
Python: 3.10.17 (main, Jun 9 2025, 20:41:48) [GCC 11.2.0]
Dependency Versions:
cffi: 1.16.0
cherrypy: 18.8.0
cryptography: 42.0.5
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.19.3
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.4.2
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: debian 13.0 trixie
locale: utf-8
machine: x86_64
release: 6.12.25-amd64
system: Linux
version: Debian GNU/Linux 13.0 trixie
Master
Salt Version:
Salt: 3007.3
Python Version:
Python: 3.10.17 (main, May 11 2025, 04:07:13) [GCC 11.2.0]
Dependency Versions:
cffi: 1.16.0
cherrypy: 18.8.0
cryptography: 42.0.5
dateutil: 2.8.2
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 3.1.6
libgit2: Not Installed
looseversion: 1.3.0
M2Crypto: Not Installed
Mako: Not Installed
msgpack: 1.0.7
msgpack-pure: Not Installed
mysql-python: Not Installed
packaging: 24.0
pycparser: 2.21
pycrypto: Not Installed
pycryptodome: 3.19.1
pygit2: Not Installed
python-gnupg: 0.5.2
PyYAML: 6.0.1
PyZMQ: 25.1.2
relenv: 0.19.2
smmap: Not Installed
timelib: 0.3.0
Tornado: 6.4.2
ZMQ: 4.3.4
Salt Package Information:
Package Type: onedir
System Versions:
dist: debian 12.11 bookworm
locale: utf-8
machine: x86_64
release: 6.1.0-35-amd64
system: Linux
version: Debian GNU/Linux 12.11 bookworm
ingolf-wagner, anurag-bug, christophlsa, baby-gnu, dotslashdash and 12 more