Do not use mistral user for mistral-api

Mistral-api is started using wsgi and apache2 in the
container need to start with the root user, like nova-api.

Closes-bug: #2000915

Signed-off-by: Arnaud Morin <arnaud.morin@ovhcloud.com>
Change-Id: Icace8576dcf0085a5e51eb453cbad2ac89c7358e
This commit is contained in:
Arnaud Morin 2022-12-18 14:33:37 +01:00
parent a0b9a9704d
commit 52014a7805
2 changed files with 7 additions and 2 deletions

View File

@ -16,5 +16,3 @@ RUN chmod 644 /usr/local/bin/kolla_mistral_extend_start
{% block mistral_api_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER mistral

View File

@ -0,0 +1,7 @@
---
fixes:
- |
Fixes starting mistral-api not starting.
`root` user needs to be used when starting mistral-api using apache2.
Previously, the `mistral` user was used, but it lacks some permissions.
`LP#2000915 <https://launchpad.net/bugs/2000915>`__