salt icon indicating copy to clipboard operation
salt copied to clipboard

[Bug]: salt-master restart salt-minion failed

Open typuc opened this issue 2 months ago • 3 comments

What happened?

1,My SaltStack version is 3007.1, 2,I have configured a dual-master setup. When executing salt 192.168.16.111 service.restart salt-minion on the master, the client fails to restart. 3,However, when I log in to the target server locally and run systemctl start salt-minion, it starts normally.

2025-10-22 18:39:12,145 [salt.utils.parsers:1062][WARNING ][3685221] Minion received a SIGTERM. Exiting. 2025-10-22 18:41:42,595 [salt.utils.process:1004][ERROR ][3693562] An un-handled exception from the multiprocessing process 'ProcessPayload(jid=20251022103912033171)' was caught: Traceback (most recent call last): File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/utils/process.py", line 999, in wrapped_run_func return run_func() File "/opt/saltstack/salt/lib/python3.10/multiprocessing/process.py", line 108, in run self._target(*self._args, **self._kwargs) File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1920, in _target run_func(minion_instance, opts, data) File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1917, in run_func return Minion._thread_return(minion_instance, opts, data) File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 2153, in _thread_return minion_instance._return_pub(ret) File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 2384, in _return_pub ret_val = self._send_req_sync(load, timeout=timeout) File "/opt/saltstack/salt/lib/python3.10/site-packages/salt/minion.py", line 1647, in _send_req_sync raise TimeoutError("Request timed out") TimeoutError: Request timed out

Type of salt install

Official deb

Major version

3007.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)

rhel-8

salt --versions-report output

Salt Version:
          Salt: 3007.1
 
Python Version:
        Python: 3.10.14 (main, Apr  3 2024, 21:30:09) [GCC 11.2.0]
 
Dependency Versions:
          cffi: 1.16.0
      cherrypy: unknown
      dateutil: 2.8.2
     docker-py: Not Installed
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.1.4
       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: 23.1
     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.16.0
         smmap: Not Installed
       timelib: 0.3.0
       Tornado: 6.3.3
           ZMQ: 4.3.4
 
Salt Package Information:
  Package Type: onedir
 
System Versions:
          dist: alinux 3 OpenAnolis Edition
        locale: utf-8
       machine: x86_64
       release: 5.10.134-18.al8.x86_64
        system: Linux
       version: Alibaba Cloud Linux 3 OpenAnolis Edition

typuc avatar Oct 22 '25 10:10 typuc

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!

welcome[bot] avatar Oct 22 '25 10:10 welcome[bot]

my system version : Alibaba Cloud Linux 3 OpenAnolis Edition ( 5.10.134-18.al8.x86_64)

typuc avatar Oct 22 '25 10:10 typuc

Have you tried Salt 3007.7? A similar bug (or maybe this bug) was fixed in that version: https://github.com/saltstack/salt/blob/v3007.9/CHANGELOG.md

hailfinger avatar Nov 28 '25 22:11 hailfinger