Switch trove-api to wsgi running under apache.
Drop 'USER trove' from trove-api, trove-api runs under apache needs run as root Change-Id: I8882484b32a3a3fbde52f58c1209e8c127ea9931
This commit is contained in:
parent
ab70c7618b
commit
1bb082d35a
@ -12,5 +12,3 @@ RUN chmod 644 /usr/local/bin/kolla_trove_extend_start
|
||||
|
||||
{% block trove_api_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
USER trove
|
||||
|
@ -6,3 +6,5 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||
trove-manage db_sync
|
||||
exit 0
|
||||
fi
|
||||
|
||||
. /usr/local/bin/kolla_httpd_setup
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
upgrade:
|
||||
- |
|
||||
Switch trove-api to wsgi running under apache. Replace trove
|
||||
user with root user in trove-api image, services running under
|
||||
apache need root privilege.
|
Loading…
Reference in New Issue
Block a user