Skip to content

[Bug]: cmd hangs on multiple minions, works with --batch-size 1 #68639

@liu1004010308

Description

@liu1004010308

What happened?

Description:
When running the command on multiple minions:

salt '*' ipvs.get_ipvs_rule

The command hangs and returns very slowly. However, when using batch execution:

salt '*' ipvs.get_ipvs_rule --batch-size 1

It completes normally.

Steps to Reproduce:

Have 3 or more minions.

Run salt '*' ipvs.get_ipvs_rule.

Observe that the master logs show minions returning data, but the CLI hangs until all minions finish.

Run the same command with --batch-size 1. It completes normally.

Observed Behavior:

Master accepts returns from some minions quickly, but other minions’ results appear to block.

Large return data seems to overwhelm the master event bus or IPC channels.

Expected Behavior:

Command should return results from all minions in a reasonable time without requiring batch execution.

Environment:

Salt version: (please fill)

Master OS: (please fill)

Minion OS: (please fill)

Number of minions: 3+

Additional Notes:

test.ping works fine on all minions, so the issue appears specific to ipvs.get_ipvs_rule or commands with large return data.

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)

ubuntu-24.04

salt --versions-report output

salt --versions-report output

Salt Version:
          Salt: 3007.7
 
Python Version:
        Python: 3.10.13 (main, Jan  7 2026, 14:08:28) [GCC 10.3.1]
 
Dependency Versions:
          cffi: 1.14.5
      cherrypy: Not Installed
  cryptography: 44.0.1
      dateutil: 2.8.2
     docker-py: 6.1.3
         gitdb: Not Installed
     gitpython: Not Installed
        Jinja2: 3.0.1
       libgit2: Not Installed
  looseversion: 1.3.0
      M2Crypto: Not Installed
          Mako: 1.2.2
       msgpack: 1.0.5
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     packaging: 24.1
     pycparser: 2.20
      pycrypto: 3.19.1
  pycryptodome: Not Installed
        pygit2: Not Installed
  python-gnupg: Not Installed
        PyYAML: 6.0.1
         PyZMQ: 27.0.2
        relenv: Not Installed
         smmap: Not Installed
       timelib: Not Installed
       Tornado: 6.5.3
           ZMQ: 4.3.5
 
Salt Package Information:
  Package Type: Not Installed
 
System Versions:
          dist: openeuler 22.03 LTS-SP4
        locale: utf-8
       machine: aarch64
       release: 4.19.0-arm64-server
        system: Linux
       version: openEuler 22.03 LTS-SP4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugbroken, incorrect, or confusing behaviorneeds-triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions