diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-05-30 13:52:28 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-05-30 13:52:28 +0000 |
commit | 5f374b863d66256d222c638a927c8455a9d10fc8 (patch) | |
tree | 68c654312d03d29352c0a8c2420e160bed40ebbd /docker/services/gnocchi-api.yaml | |
parent | 847a1fe79333f3eb18672a88a5212cbd395b94bf (diff) | |
parent | 51da97d04a2cbc81ad4b56a8a91c6dd43d5afe81 (diff) |
Merge "docker bootstrap service commands"
Diffstat (limited to 'docker/services/gnocchi-api.yaml')
-rw-r--r-- | docker/services/gnocchi-api.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/services/gnocchi-api.yaml b/docker/services/gnocchi-api.yaml index 9b474731..e59d6095 100644 --- a/docker/services/gnocchi-api.yaml +++ b/docker/services/gnocchi-api.yaml @@ -100,13 +100,14 @@ outputs: net: host detach: false privileged: false + user: root volumes: list_concat: - {get_attr: [ContainersCommon, volumes]} - - /var/lib/config-data/gnocchi/etc/gnocchi/:/etc/gnocchi/:ro - /var/log/containers/gnocchi:/var/log/gnocchi - command: ["/usr/bin/gnocchi-upgrade", "--skip-storage"] + command: "/usr/bin/bootstrap_host_exec gnocchi_api su gnocchi -s /bin/bash -c '/usr/bin/gnocchi-upgrade --skip-storage'" step_4: gnocchi_api: image: *gnocchi_image |