summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiri Stransky <jistr@redhat.com>2017-02-24 10:48:53 +0100
committerJiri Stransky <jistr@redhat.com>2017-02-24 10:48:53 +0100
commit55c587d50ba22ed62ddc229037cad3c679f47360 (patch)
tree87bf48f0a40311395ec8d2a13f1e22e736be521b
parent1e1a4d415ead0310fc4d6d7ff22140a4a8326887 (diff)
Containers: workaround for neutron DB sync
Neutron DB sync didn't have permission to read the config files, we now run neutron-db-manage as root until we can find a more permanent solution. Change-Id: I502a8514adc523c7cac1da059be10480eef71cb9 Closes-Bug: #1667300
-rw-r--r--docker/services/neutron-api.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/docker/services/neutron-api.yaml b/docker/services/neutron-api.yaml
index e444f391..dfd1d5c0 100644
--- a/docker/services/neutron-api.yaml
+++ b/docker/services/neutron-api.yaml
@@ -81,6 +81,9 @@ outputs:
net: host
privileged: false
detach: false
+ # FIXME: we should make config file permissions right
+ # and run as neutron user
+ user: root
volumes:
- /var/lib/config-data/neutron/etc/neutron:/etc/neutron:ro
- /var/lib/config-data/neutron/usr/share/neutron:/usr/share/neutron:ro