diff options
| author | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-08-21 12:34:27 +0300 |
|---|---|---|
| committer | Vladislav Belogrudov <vladislav.belogrudov@oracle.com> | 2015-08-21 12:34:27 +0300 |
| commit | ad2b9019aed1c72a503c6c9fe6d844d3136a2e20 (patch) | |
| tree | d4b0eccd403c01e6e525558741bc9fb04df6a8ee | |
| parent | 9ddd415486689dc0646ca106d3e96aa63f415136 (diff) | |
| download | kolla-ad2b9019aed1c72a503c6c9fe6d844d3136a2e20.tar.gz kolla-ad2b9019aed1c72a503c6c9fe6d844d3136a2e20.zip | |
Cinder ansible waits for bootstrap container on all hosts
Bootstrap task runs bootstrap container on one host but
waits for its exit on all machines in inventory. This
gives error about non-existing container id.
Change-Id: Ie06c4da470c2e109d13b029fa674373b255653f3
Closes-Bug: #1487387
| -rw-r--r-- | ansible/roles/cinder/tasks/bootstrap.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ansible/roles/cinder/tasks/bootstrap.yml b/ansible/roles/cinder/tasks/bootstrap.yml index d0b5ae6fc..a68042358 100644 --- a/ansible/roles/cinder/tasks/bootstrap.yml +++ b/ansible/roles/cinder/tasks/bootstrap.yml @@ -71,6 +71,7 @@ - name: Waiting for bootstrap container to exit command: docker wait bootstrap_cinder when: database.stdout.find('localhost | SUCCESS => ') != -1 and (database.stdout.split('localhost | SUCCESS => ')[1]|from_json).changed + run_once: True - name: Cleaning up Cinder boostrap container docker: |
