master_type set to 'failover' but 'master' is not of type list but of type <type 'str'> #23611
Labels
Bug
broken, incorrect, or confusing behavior
Core
relates to code central or existential to Salt
fixed-pls-verify
fix is linked, bug author to confirm fix
P2
Priority 2
severity-medium
3rd level, incorrect or bad functionality, confusing and lacks a work around
Milestone
master_type: failover should be more tolerant to "master: " config enter. It's far too easy to take down all your minions and be stuck without salt to manage minions when trying to convert to a failover model.
Doing this results in an error:
In /etc/salt/minion:
While I know my config is technical wrong, I think the coding should be defensive and tolerant, because if I use a list of 1 entry it works.
In /etc/salt/minion:
To further reinforce why I think this should become more tolerant, salt-bootstrap sets the stage for failure.
salt-bootstrap -A results in a config as:
Which also makes it much more challenging to roll out salt-minion config to migrate to failover via salt without this issue fixed. I've already lost control of all my minions twice because of the lack of tolerance from salt-minion and having it just exit.
The text was updated successfully, but these errors were encountered: