saltstack / saltstack/salt

job will loop in syndic cluster mode

Open
#52,320 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Multi-Master needs-testcase severity-medium
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description of Issue/Question

Syndic will rebroadcast job when masterofmaster create new job. In syndic cluster mode, the create job event will infinite rebroadcast

Setup

Salt: 2019.2.0

MultiMaster with syndic in cluster mode:

order_master: True
syndic_mode: cluster

syndic_master:
  - master-01
  - master-02
  - master-03
Steps to Reproduce Issue

Execute command in any one master:

salt '*' test.ping
Versions Report

Salt: 2019.2.0

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

Reproduce the issue with the shown order_master and syndic cluster configuration, then run salt '*' test.ping from a master. Trace the syndic create-job event as it is rebroadcast; done means the job executes without infinite rebroadcast in cluster mode.

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.