-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt: fix unsafe approach for etcd `initial-cluster-state
Initially, we set etcd cluster state to new when the member list from the pillars is empty. This approach is not optimal since if for what ever reason we are not able to retrieve the list. Now, we raise an error when setting the cluster state to `existing` if we are unable to obtain a list of members. Also, we only set to `new` state only during a bootstrap.
- Loading branch information
Showing
2 changed files
with
7 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters