Run Ironic Inspector as ironic-inspector user

This patch reverts changes to the Dockerfile and configuration script
that were made to support running the service using wsgi. Ironic
Inspector does not currently support running with wsgi.

Change-Id: Idc816f25c85ef7d5cd14182fe01b652876cb181a
This commit is contained in:
generalfuzz 2020-09-25 09:37:48 -07:00
parent f441c8ea5b
commit 998067b849
2 changed files with 2 additions and 2 deletions

View File

@ -58,3 +58,5 @@ RUN chmod 755 /usr/local/bin/kolla_extend_start \
{% block ironic_inspector_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER ironic-inspector

View File

@ -15,5 +15,3 @@ if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
ironic-inspector-dbsync --config-file /etc/ironic-inspector/inspector.conf upgrade
exit 0
fi
. /usr/local/bin/kolla_httpd_setup