Skip to content

Commit

Permalink
keystone: Fix requests-kerberos installation
Browse files Browse the repository at this point in the history
Since it was bundled with plugins installation, and we did not
have any plugins in keystone container - it was not installed
at all.

Adding in libkrb5 dependencies for requests-kerberos.

Closes-Bug: #2078305
Change-Id: I51c69d0673280e351daa410d943f769d33a10d6c
  • Loading branch information
mnasiadka committed Aug 29, 2024
1 parent 779a9a3 commit 082d90c
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/keystone/keystone/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,27 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{% if base_package_type == 'rpm' %}
{% set keystone_packages = [
'krb5-devel',
'mod_auth_gssapi',
] %}
{% elif base_package_type == 'deb' %}
{% set keystone_packages = [
'libapache2-mod-auth-gssapi',
'libkrb5-dev',
] %}
{% endif %}
{{ macros.install_packages(keystone_packages | customizable("packages")) }}

{% set keystone_pip_packages = [
'requests-kerberos',
] %}

RUN {{ macros.install_pip(keystone_pip_packages | customizable("pip_packages")) }}

ADD plugins-archive /

{% set keystone_plugins_pip_packages = [
'/plugins/*',
'requests-kerberos',
] %}

COPY keystone_bootstrap.sh /usr/local/bin/kolla_keystone_bootstrap
Expand Down

0 comments on commit 082d90c

Please sign in to comment.