diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-06-15 00:30:13 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-06-15 00:30:13 +0000 |
commit | 24d552ae33adfbbbeb7a1b51b2fe09263c8e9a95 (patch) | |
tree | b62dfd4efa8416afba2df0c41bb2b16ffc630b3e /docker/services/cinder-api.yaml | |
parent | d68a938d14f6eb9d143cd9abee9ff5e2d16ae6dd (diff) | |
parent | 248099db8c583f6e80fda24f45db74361b757128 (diff) |
Merge "Fix race conditions between containers"
Diffstat (limited to 'docker/services/cinder-api.yaml')
-rw-r--r-- | docker/services/cinder-api.yaml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/services/cinder-api.yaml b/docker/services/cinder-api.yaml index 062f5fc3..94bd66d8 100644 --- a/docker/services/cinder-api.yaml +++ b/docker/services/cinder-api.yaml @@ -87,9 +87,8 @@ outputs: owner: cinder:cinder recurse: true docker_config: - step_3: + step_2: cinder_api_init_logs: - start_order: 0 image: &cinder_api_image list_join: - '/' @@ -99,6 +98,7 @@ outputs: volumes: - /var/log/containers/cinder:/var/log/cinder command: ['/bin/bash', '-c', 'chown -R cinder:cinder /var/log/cinder'] + step_3: cinder_api_db_sync: image: *cinder_api_image net: host @@ -110,6 +110,7 @@ outputs: - {get_attr: [ContainersCommon, volumes]} - - /var/lib/config-data/cinder/etc/cinder/:/etc/cinder/:ro + - /var/log/containers/cinder:/var/log/cinder command: - '/usr/bin/bootstrap_host_exec' - 'cinder_api' |