diff options
author | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-01-25 16:54:54 +0800 |
---|---|---|
committer | chenshuai@huawei.com <chenshuai@huawei.com> | 2016-01-25 16:55:37 +0800 |
commit | efa46a5b06c8c138aadbf396f6431acd7b606ed9 (patch) | |
tree | 3e244b9c60fab194e6938f3d8a868d8ddeb83e41 /deploy/adapters/ansible/roles | |
parent | 6c1adf0e4c442d1a97bb1d4ee5043937e6e596c8 (diff) |
bugfix: odl cluster function problem
JIRA:COMPASS-285
Change-Id: I78eebc04576141dc48961e0beeb9408b28b10793
Signed-off-by: chenshuai@huawei.com <chenshuai@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles')
-rwxr-xr-x | deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml | 4 | ||||
-rwxr-xr-x | deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml | 22 |
2 files changed, 14 insertions, 12 deletions
diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml index 1eb517b8..3bb9d9be 100755 --- a/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml +++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/main.yml @@ -9,4 +9,6 @@ include: openvswitch.yml when: groups['odl']|length !=0 and inventory_hostname not in groups['odl'] - +- name: Wait 5 minutes after odl deployment + shell: sleep 300 + when: groups['odl']|length !=0 diff --git a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml index 147338c7..6d43b9ef 100755 --- a/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml +++ b/deploy/adapters/ansible/roles/odl_cluster/tasks/odl_controller.yml @@ -95,22 +95,22 @@ ########################################################################################################## ################################# OpenDayLight Cluster Configuration ################################# ########################################################################################################## -- name: create initial directory - shell: > - mkdir -p {{ odl_home }}/configuration/initial; +#- name: create initial directory +# shell: > +# mkdir -p {{ odl_home }}/configuration/initial; -- name: create akka config - template: - src: akka.conf - dest: "{{ odl_home }}/configuration/initial/akka.conf" +#- name: create akka config +# template: +# src: akka.conf +# dest: "{{ odl_home }}/configuration/initial/akka.conf" # notify: # - restart odl service -- name: create module-shards config - template: - src: module-shards.conf - dest: "{{ odl_home }}/configuration/initial/module-shards.conf" +#- name: create module-shards config +# template: +# src: module-shards.conf +# dest: "{{ odl_home }}/configuration/initial/module-shards.conf" # notify: # - restart odl service |