You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
master_type failover does not failover on DNS errors #21082
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVECorerelates to code central or existential to SaltP2Priority 2ZDThe issue is related to a Zendesk customer support ticket.ZRELEASED - Berylliumbugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-criticaltop severity, seen by most users, serious issuesseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
This works as the following: if minion gets a list of masters it loops through the list trying to connect until the first success. If dns lookup fails minion retries infinitely with interval set by retry_dns config option. If retry_dns is set to 0 it works as expected: minion tries the second entry after dns lookup failed.
What's expected behavior if retry_dns is non-zero in failover case? Shall minion just ignore retry_dns in this case? Or shall it connect to the second master but still periodically check the first one?
ConfirmedSalt engineer has confirmed bug/feature - often including a MCVECorerelates to code central or existential to SaltP2Priority 2ZDThe issue is related to a Zendesk customer support ticket.ZRELEASED - Berylliumbugbroken, incorrect, or confusing behaviorfixed-pls-verifyfix is linked, bug author to confirm fixseverity-criticaltop severity, seen by most users, serious issuesseverity-medium3rd level, incorrect or bad functionality, confusing and lacks a work around
Activity
jfindlay commentedon Feb 26, 2015
@clinta, thanks for the report.
rickh563 commentedon Jun 24, 2015
ZD-342
DmitryKuzmenko commentedon Jul 13, 2015
This works as the following: if minion gets a list of masters it loops through the list trying to connect until the first success. If dns lookup fails minion retries infinitely with interval set by retry_dns config option. If retry_dns is set to 0 it works as expected: minion tries the second entry after dns lookup failed.
What's expected behavior if retry_dns is non-zero in failover case? Shall minion just ignore retry_dns in this case? Or shall it connect to the second master but still periodically check the first one?
DmitryKuzmenko commentedon Jul 13, 2015
The fix isn't for this issue but related because master list case doesn't work even if all masters in the list are accessible.
DmitryKuzmenko commentedon Jul 14, 2015
As discussed PR #25404 forces retry_dns to 0 if master_type is set to failover.