Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
706c7cb4
Unverified
Commit
706c7cb4
authored
4 years ago
by
Florian Ruynat
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
etcd should not fail when adding an already existing member (#6587)
parent
5884eeb6
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/etcd/tasks/join_etcd_member.yml
+2
-1
2 additions, 1 deletion
roles/etcd/tasks/join_etcd_member.yml
with
2 additions
and
1 deletion
roles/etcd/tasks/join_etcd_member.yml
+
2
−
1
View file @
706c7cb4
...
...
@@ -2,7 +2,8 @@
-
name
:
Join Member | Add member to etcd cluster
# noqa 301 305
shell
:
"
{{
bin_dir
}}/etcdctl
member
add
{{
etcd_member_name
}}
--peer-urls={{
etcd_peer_url
}}"
register
:
member_add_result
until
:
member_add_result.rc ==
0
until
:
member_add_result.rc == 0 or 'Peer URLs already exists' in member_add_result.stderr
failed_when
:
member_add_result.rc != 0 and 'Peer URLs already exists' not in member_add_result.stderr
retries
:
"
{{
etcd_retries
}}"
delay
:
"
{{
retry_stagger
|
random
+
3
}}"
environment
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment