X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=ci%2Fansible%2Froles%2Fosdsdb%2Fscenarios%2Fetcd.yml;h=62abfdb7739e3fa8a2bffef2f6fcb3f19d28dedd;hb=5be62de11c0423cc9314a3328147318d4dfb1954;hp=86f3a678af6d5c4077cf1b0c8bb2c5794cc6a7e8;hpb=561c0708b78eed8120b90f0221cd66730c9e8a74;p=stor4nfv.git diff --git a/ci/ansible/roles/osdsdb/scenarios/etcd.yml b/ci/ansible/roles/osdsdb/scenarios/etcd.yml index 86f3a67..62abfdb 100644 --- a/ci/ansible/roles/osdsdb/scenarios/etcd.yml +++ b/ci/ansible/roles/osdsdb/scenarios/etcd.yml @@ -25,14 +25,15 @@ register: service_etcd_status - name: run etcd daemon service - shell: nohup ./etcd &>>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: chdir: "{{ etcd_dir }}"