Rename uwsgi-plugin-python to uwsgi-plugin-python2 in CentOS
On Queens and earlier builds, source CentOS images fail with this error: INFO:kolla.common.utils.barbican-base:No package uwsgi-plugin-python available. INFO:kolla.common.utils.barbican-base:1mError: Not tolerating missing names on install, stopping. INFO:kolla.common.utils.barbican-base:m CentOS binary builds fail with a similar error in the barbican-api image. This seems to have been caused by a rename of uwsgi-plugin-python to uwsgi-plugin-python2 [1]. That bug report claims that a virtual provides will be added to the package to make the change backwards compatible, but this does not seem to have been done yet. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1628147 Change-Id: If9b43dbf3fab6a76f47a0e4fb9213c5efa655c0d Closes-Bug: #1794039
This commit is contained in:
parent
98276e8ed8
commit
d45e2295d9
|
@ -12,7 +12,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||
'mod_ssl',
|
||||
'mod_wsgi',
|
||||
'openstack-barbican-api',
|
||||
'uwsgi-plugin-python'
|
||||
'uwsgi-plugin-python2'
|
||||
] %}
|
||||
|
||||
{{ macros.install_packages(barbican_api_packages | customizable("packages")) }}
|
||||
|
|
|
@ -18,7 +18,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||
|
||||
{% elif install_type == 'source' %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
||||
{% set barbican_base_packages = ['uwsgi-plugin-python2'] %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set barbican_base_packages = ['uwsgi-plugin-python'] %}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue