keystone: Add local wsgi file

It has been removed with I9fa7cd60bf27768db06f69681675fce2e55712af

Change-Id: Ib42be3d56bdb64247ac6f17b8ac1f1baa873f475
Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
This commit is contained in:
Michal Nasiadka
2025-08-06 15:57:47 +02:00
parent 63c4202d20
commit bbc842720c
2 changed files with 5 additions and 6 deletions

View File

@@ -33,6 +33,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% block keystone_source_install %}
ADD keystone-base-archive /keystone-base-source
ADD wsgi /var/lib/kolla/venv/bin/keystone-wsgi-public
{% set keystone_base_pip_packages = [
'/keystone[ldap]',
@@ -40,14 +41,10 @@ ADD keystone-base-archive /keystone-base-source
RUN ln -s keystone-base-source/* keystone \
&& {{ macros.install_pip(keystone_base_pip_packages | customizable("pip_packages")) }} \
&& mkdir -p /etc/keystone /var/www/cgi-bin/keystone \
&& cp -r /keystone/etc/* /etc/keystone/ \
&& cp /var/lib/kolla/venv/bin/keystone-wsgi-admin /var/www/cgi-bin/keystone/admin \
&& cp /var/lib/kolla/venv/bin/keystone-wsgi-public /var/www/cgi-bin/keystone/main
&& mkdir -p /etc/keystone \
&& cp -r /keystone/etc/* /etc/keystone/
{% endblock %}
RUN chmod 755 /var/www/cgi-bin/keystone/*
{{ macros.kolla_patch_sources() }}
{% block keystone_base_footer %}{% endblock %}

View File

@@ -0,0 +1,2 @@
#!/var/lib/kolla/venv/bin/python
from keystone.wsgi.api import application