Code Review
/
stor4nfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
fix etcd startup arguments
[stor4nfv.git]
/
ci
/
ansible
/
roles
/
osdsdb
/
scenarios
/
etcd.yml
diff --git
a/ci/ansible/roles/osdsdb/scenarios/etcd.yml
b/ci/ansible/roles/osdsdb/scenarios/etcd.yml
index
9c3352b
..
62abfdb
100644
(file)
--- a/
ci/ansible/roles/osdsdb/scenarios/etcd.yml
+++ b/
ci/ansible/roles/osdsdb/scenarios/etcd.yml
@@
-25,14
+25,14
@@
register: service_etcd_status
\r
\r
- name: run etcd daemon service
\r
register: service_etcd_status
\r
\r
- name: run etcd daemon service
\r
- shell: nohup ./etcd --advertise-client-urls http://{{ etcd_host }}:{{ etcd_port }} --listen-client-urls http://{{ etcd_host }}:{{ etcd_port }} -
advertise-client-urls http://{{ etcd_host }}:{{ etcd_peer_port }} -
listen-peer-urls http://{{ etcd_host }}:{{ etcd_peer_port }} &>>etcd.log &
\r
+ shell: nohup ./etcd --advertise-client-urls http://{{ etcd_host }}:{{ etcd_port }} --listen-client-urls http://{{ etcd_host }}:{{ etcd_port }} -listen-peer-urls http://{{ etcd_host }}:{{ etcd_peer_port }} &>>etcd.log &
\r
become: true
\r
args:
\r
chdir: "{{ etcd_dir }}"
\r
when: service_etcd_status.rc != 0
\r
\r
- name: check etcd cluster health
\r
become: true
\r
args:
\r
chdir: "{{ etcd_dir }}"
\r
when: service_etcd_status.rc != 0
\r
\r
- name: check etcd cluster health
\r
- shell: ./etcdctl cluster-health
\r
+ shell: ./etcdctl
--endpoints http://{{ etcd_host }}:{{ etcd_port }}
cluster-health
\r
become: true
\r
ignore_errors: true
\r
args:
\r
become: true
\r
ignore_errors: true
\r
args:
\r