diff options
| author | Arnaud Morin <arnaud.morin@ovhcloud.com> | 2022-12-18 14:33:37 +0100 |
|---|---|---|
| committer | Arnaud Morin <arnaud.morin@ovhcloud.com> | 2023-01-03 12:56:02 +0100 |
| commit | 52014a7805391c7e68b5e4e41434027102b42762 (patch) | |
| tree | b26b171d8492e565e7ae6f088525c59a1d51dfc6 | |
| parent | a0b9a9704d5d799f99a5cfa7923cb1209da16ac3 (diff) | |
| download | kolla-52014a7805391c7e68b5e4e41434027102b42762.tar.gz kolla-52014a7805391c7e68b5e4e41434027102b42762.zip | |
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
| -rw-r--r-- | docker/mistral/mistral-api/Dockerfile.j2 | 2 | ||||
| -rw-r--r-- | releasenotes/notes/bug-2000915-962531e87944c6f3.yaml | 7 |
2 files changed, 7 insertions, 2 deletions
diff --git a/docker/mistral/mistral-api/Dockerfile.j2 b/docker/mistral/mistral-api/Dockerfile.j2 index 4c4c643ca..19fe4210d 100644 --- a/docker/mistral/mistral-api/Dockerfile.j2 +++ b/docker/mistral/mistral-api/Dockerfile.j2 @@ -16,5 +16,3 @@ RUN chmod 644 /usr/local/bin/kolla_mistral_extend_start {% block mistral_api_footer %}{% endblock %} {% block footer %}{% endblock %} - -USER mistral diff --git a/releasenotes/notes/bug-2000915-962531e87944c6f3.yaml b/releasenotes/notes/bug-2000915-962531e87944c6f3.yaml new file mode 100644 index 000000000..8e45612c5 --- /dev/null +++ b/releasenotes/notes/bug-2000915-962531e87944c6f3.yaml @@ -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>`__ |
