saltstack / saltstack/salt

[DOCS] Multi-Master DNS Retry Timeout

Open
#66,533 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
15.7k
Forks
5.6k
Avg merge
2d 44m
Merged PRs (30d)
80

Description

Description
Its not clear from the documentation that when a minion is configured in multi-master mode (therefore retry_dns must be 0) that the acceptance_wait_time parameter is used as the waiting value between DNS resolution attempts.

Suggested Fix
Add a note to both retry_dns and acceptance_wait_time parameter that the acceptance_wait_time parameter is used as the waiting value between DNS resolution attempts in multi-master mode.

Type of documentation
Salt documentation

Location or format of documentation
https://docs.saltproject.io/en/latest/ref/configuration/minion.html

Additional context
I help to manage 50 laptops we use for various events. The setup has to be flexible and work on different networks so we use multicast DNS names for resolution. When we don't use SaltStack, the minion still attempt to resolve the name. I couldn't figure out from the documentation which parameter could be used to reduce the amount of DNS requests. After looking through the code I found it was the acceptance_wait_time parameter.

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

Open the Salt minion configuration documentation at the linked page and locate the retry_dns and acceptance_wait_time parameter entries. Add the requested explanation to both entries, then verify that multi-master mode and the DNS retry waiting behavior are described consistently.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.