summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDi Xu <di.xu@arm.com>2018-04-27 13:36:44 +0800
committerDi Xu <di.xu@arm.com>2018-05-15 15:23:02 +0800
commit5be62de11c0423cc9314a3328147318d4dfb1954 (patch)
tree93adbe25e3cdcd505fb02ac4bf07d4171ba9a9a2
parentfebcef6118cdc8f9e5a21969c7a8d8d9637dbc14 (diff)
fix etcd startup arguments
Change-Id: I34c399b309986fc7bfb25af8104843ec9b9dd9c0 Signed-off-by: Di Xu <di.xu@arm.com>
-rw-r--r--ci/ansible/roles/osdsdb/scenarios/etcd.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ci/ansible/roles/osdsdb/scenarios/etcd.yml b/ci/ansible/roles/osdsdb/scenarios/etcd.yml
index 9c3352b..62abfdb 100644
--- a/ci/ansible/roles/osdsdb/scenarios/etcd.yml
+++ b/ci/ansible/roles/osdsdb/scenarios/etcd.yml
@@ -25,14 +25,14 @@
register: service_etcd_status
- name: run etcd daemon service
- 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 &
+ 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 &
become: true
args:
chdir: "{{ etcd_dir }}"
when: service_etcd_status.rc != 0
- name: check etcd cluster health
- shell: ./etcdctl cluster-health
+ shell: ./etcdctl --endpoints http://{{ etcd_host }}:{{ etcd_port }} cluster-health
become: true
ignore_errors: true
args: