Skip to content

[BUG] Syndic Masters forward events to only one upstream master #58193

Open

Description

@MasonEdgel

Description
When running salt-syndic with multiple upstream masters, events are only forwarded to a single master at random. This happens regardless of the syndic_forward_all_events config option added with #38086.

Setup
Run n salt masters in multi-master configuration, run a syndic master connecting to all top-level masters, and connect at least one minion to the syndic master.

Steps to Reproduce the behavior
Upon targeting minions connected to the syndic master from a top-level master, minions returns only succeed approximately 1/n times.

Expected behavior
Minion returns should always succeed unless a breakdown in communication has occurred.

Screenshots
N/A

Versions Report

Master Versions Salt Version: Salt: 3000.3

Dependency Versions:
cffi: 1.14.0
cherrypy: unknown
dateutil: Not Installed
docker-py: Not Installed
gitdb: 4.0.5
gitpython: 3.1.2
Jinja2: 2.8.1
libgit2: 0.28.2
M2Crypto: 0.35.2
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: 2.20
pycrypto: 2.6.1
pycryptodome: 3.9.7
pygit2: 0.28.2
Python: 3.6.8 (default, Aug 7 2019, 17:28:10)
python-gnupg: Not Installed
PyYAML: 3.12
PyZMQ: 15.3.0
smmap: 3.0.4
timelib: Not Installed
Tornado: 4.5.3
ZMQ: 4.1.4

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

Syndic Versions Salt Version: Salt: 3001

Dependency Versions:
cffi: 1.14.0
cherrypy: Not Installed
dateutil: Not Installed
docker-py: Not Installed
gitdb: Not Installed
gitpython: Not Installed
Jinja2: 2.11.1
libgit2: 0.28.2
M2Crypto: 0.35.2
Mako: Not Installed
msgpack-pure: Not Installed
msgpack-python: 0.6.2
mysql-python: Not Installed
pycparser: 2.20
pycrypto: Not Installed
pycryptodome: Not Installed
pygit2: 0.28.2
Python: 3.6.8 (default, Apr 2 2020, 13:34:55)
python-gnupg: Not Installed
PyYAML: 3.13
PyZMQ: 17.0.0
smmap: Not Installed
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-957.5.1.el7.x86_64
system: Linux
version: CentOS Linux 7 Core

Additional context
N/A

Activity

  1. added
    bug
    on Aug 13, 2020
  2. changed the title [-][BUG][/-] [+][BUG] Syndic Masters forward events to only one upstream master[/+] on Aug 13, 2020
  3. MasonEdgel commented on Aug 13, 2020

    @MasonEdgel
    Author

    I have attached a quick workaround in the above PR, which handles publishing in a way similarly to calls. I'm not very familiar with salt's asynchronous programming style, so I'm not sure what potential ramifications doing things in this way could have.

  4. sagetherage commented on Aug 13, 2020

    @sagetherage
    Contributor

    Thanks for the PR! I will have this put through our triage process and we will take a look at that PR.

  5. added
    severity-high
    and removed on Aug 14, 2020
  6. removed their assignment
    on Aug 14, 2020
  7. added this to the Magnesium milestone on Aug 14, 2020
  8. added
    Magnesium
    on Aug 14, 2020
  9. sagetherage commented on Aug 14, 2020

    @sagetherage
    Contributor

    @Ch3LL since this has a PR associated with it and you are the reviewer on the PR I am assigning it to you as in progress for Magnesium. Thanks for the triage effort!

  10. removed
    Magnesium
    on Oct 8, 2020
  11. modified the milestones: Magnesium, Approved on Oct 8, 2020
  12. added
    needs-testcase
    on Oct 8, 2020
  13. added
    Phosphorus v3005.0
    on Jun 18, 2021
  14. removed
    Phosphorus v3005.0
    on Mar 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-testcaseseverity-high

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions