From 52014a7805391c7e68b5e4e41434027102b42762 Mon Sep 17 00:00:00 2001 From: Arnaud Morin Date: Sun, 18 Dec 2022 14:33:37 +0100 Subject: 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 Change-Id: Icace8576dcf0085a5e51eb453cbad2ac89c7358e --- docker/mistral/mistral-api/Dockerfile.j2 | 2 -- releasenotes/notes/bug-2000915-962531e87944c6f3.yaml | 7 +++++++ 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 releasenotes/notes/bug-2000915-962531e87944c6f3.yaml 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 `__ -- cgit v1.2.3