Pass rabbitmq apt preferences into kolla-toolbox
If the latest and targeted rabbitmq-server dependencies mismatch, kolla-toolbox will fail to build. Closes-Bug: #2066171 Change-Id: I64e9442545d98364585e3c632ae9142cd6b4f9bf
This commit is contained in:
parent
25f357ecc8
commit
006ccee101
@ -18,6 +18,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
|||||||
|
|
||||||
{{ macros.enable_extra_repos(['crb', 'erlang', 'openvswitch', 'rabbitmq']) }}
|
{{ macros.enable_extra_repos(['crb', 'erlang', 'openvswitch', 'rabbitmq']) }}
|
||||||
|
|
||||||
|
{% block rabbitmq_apt_preferences %}
|
||||||
|
{% if base_package_type == 'deb' %}
|
||||||
|
COPY apt_preferences_rabbitmq.{{ base_distro }} /etc/apt/preferences.d/rabbitmq
|
||||||
|
{% endif %}
|
||||||
|
{% endblock %}
|
||||||
|
|
||||||
{% if base_package_type == 'rpm' %}
|
{% if base_package_type == 'rpm' %}
|
||||||
{% set kolla_toolbox_packages = [
|
{% set kolla_toolbox_packages = [
|
||||||
'crudini',
|
'crudini',
|
||||||
|
1
docker/kolla-toolbox/apt_preferences_rabbitmq.debian
Symbolic link
1
docker/kolla-toolbox/apt_preferences_rabbitmq.debian
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../rabbitmq/apt_preferences_rabbitmq.debian
|
1
docker/kolla-toolbox/apt_preferences_rabbitmq.ubuntu
Symbolic link
1
docker/kolla-toolbox/apt_preferences_rabbitmq.ubuntu
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
../rabbitmq/apt_preferences_rabbitmq.debian
|
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes an issue where kolla-toolbox will fail to build due to mismatched
|
||||||
|
rabbitmq-server dependencies.
|
||||||
|
`LP#2066171 <https://launchpad.net/bugs/2066171>`__
|
Loading…
Reference in New Issue
Block a user