saltstack / saltstack/salt

Minion status through Syndic not reported correctly on Master

Open
#63,071 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-triage Salt-Syndic
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description
It appears the bug reported in #25028 has returned in 3005.1. When running 'salt-run manage.status' on the MoM, only "up" minions are displayed, despite multiple down minions behind the Syndic. When run from the Syndic we see multiple minions that are down.

Setup
Single Master-of-Masters and single Syndic both running 3005.1. All minions also running 3005.1.

Steps to Reproduce the behavior
On MoM check status (in this example minion1 and minion2 are connected to the MoM and minion3-5 are connected to the Syndic):

# salt-run manage.status
down:
up:
    - minion1
    - minion2
    - minion4
    - minion5

On Syndic check status:

# salt-run manage.status
down:
    - minion3
up:
    - minion4
    - minion5

Expected behavior
Expect to see the down minions when running manage.status from the MoM.

Versions Report

salt --versions-report
# salt --versions-report
Salt Version:
          Salt: 3005.1

Dependency Versions:
          cffi: Not Installed
      cherrypy: unknown
      dateutil: Not Installed
     docker-py: Not Installed
         gitdb: 0.6.4
     gitpython: 1.0.2
        Jinja2: 2.11.1
       libgit2: Not Installed
      M2Crypto: 0.35.2
          Mako: Not Installed
       msgpack: 0.6.2
  msgpack-pure: Not Installed
  mysql-python: Not Installed
     pycparser: Not Installed
      pycrypto: Not Installed
  pycryptodome: Not Installed
        pygit2: Not Installed
        Python: 3.6.8 (default, Nov 16 2020, 16:55:22)
  python-gnupg: Not Installed
        PyYAML: 3.13
         PyZMQ: 18.0.1
         smmap: 0.9.0
       timelib: Not Installed
       Tornado: 4.5.3
           ZMQ: 4.1.4

System Versions:
          dist: centos 7 Core
        locale: UTF-8
       machine: x86_64
       release: 3.10.0-1160.76.1.el7.x86_64
        system: Linux
       version: CentOS Linux 7 Core

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with salt-run manage.status on the Master-of-Masters and the Syndic using the 3005.1 setup described. Trace how status results from the Syndic are handled by the MoM, then verify that down minions appear in the MoM output as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
distributed-systems, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.