Bug 56650 - salt-master долго выполняются state
Summary: salt-master долго выполняются state
Status: CLOSED DUPLICATE of bug 56648
Alias: None
Product: Branch p11
Classification: Unclassified
Component: salt-master (show other bugs)
Version: unspecified
Hardware: x86_64 Linux
: P5 normal
Assignee: qa-team@altlinux.org
QA Contact: qa-p11@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-28 13:32 MSK by Pavel
Modified: 2025-10-29 09:25 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel 2025-10-28 13:32:30 MSK
salt-master 3007.5 state, которые имеют время выполнения 1-2 минуты, начинают выполнятся по несколько часов или вообще не выполнится, выдавая ошибку: error executing state.apply: pillar timed out after 180 sec.
Перезапуск службы salt-master решает проблему не некоторое время, после чего ситуация повторяется, до следующего перезапуска службы.

Лог salt-minion с запуском salt-call -l trace:

[DEBUG   ] Initializing new AsyncAuth for ('[minion-pki-folder]', 'minion-id', 'tcp://salt-master-ip:4506')
/usr/lib/python3/site-packages/salt/transport/zeromq.py:1084: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
  self.sending = asyncio.Lock(loop=self.io_loop)
[TRACE   ] ReqChannel send crypt load={'cmd': '_master_opts'}
[TRACE   ] Failed to send msg SaltReqTimeoutError('Request client send timedout')
[TRACE   ] ReqChannel send crypt load={'cmd': '_master_opts', 'nonce': '95903d66f4fd4f6f8f387a6e0a98c2b5'}
[DEBUG   ] Gathering pillar data for state run
[DEBUG   ] Determining pillar cache
[DEBUG   ] Using selector: EpollSelector
[DEBUG   ] Initializing new AsyncAuth for ('[minion-pki-folder]', 'minion-id', 'tcp://salt-master-ip:4506')
[TRACE   ] ext_pillar_extra_data = {}

Вывод ss на salt-master:

State           Recv-Q          Send-Q                   Local Address:Port                    Peer Address:Port          Process                                                                                  
LISTEN          0               1000                        salt-master-ip:4505                         0.0.0.0:*              users:(("salt-master",pid=725506,fd=24))                                                
LISTEN          0               1000                        salt-master-ip:4506                         0.0.0.0:*              users:(("salt-master",pid=725513,fd=34))    

nmap -p 4506 salt-master -Pn
Starting Nmap 7.80 ( https://nmap.org ) at 2025-10-28 13:32 +04
Nmap scan report for salt-master (ip)
Host is up (0.010s latency).

PORT     STATE SERVICE
4506/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 13.05 seconds

nmap -p 4505 salt-master -Pn
Starting Nmap 7.80 ( https://nmap.org ) at 2025-10-28 13:32 +04
Nmap scan report for salt-master (ip)
Host is up (0.010s latency).

PORT     STATE SERVICE
4505/tcp open  unknown

Nmap done: 1 IP address (1 host up) scanned in 13.04 seconds
Comment 1 Alexander Makeenkov 2025-10-29 09:25:37 MSK

*** This bug has been marked as a duplicate of bug 56648 ***