Skip to content

Commit

Permalink
Merge "Pass rabbitmq apt preferences into kolla-toolbox" into stable/…
Browse files Browse the repository at this point in the history
…2024.1
  • Loading branch information
Zuul authored and openstack-gerrit committed Aug 1, 2024
2 parents 745c911 + 14081a8 commit dd701c4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker/kolla-toolbox/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build

{{ 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' %}
{% set kolla_toolbox_packages = [
'crudini',
Expand Down
1 change: 1 addition & 0 deletions docker/kolla-toolbox/apt_preferences_rabbitmq.debian
1 change: 1 addition & 0 deletions docker/kolla-toolbox/apt_preferences_rabbitmq.ubuntu
Original file line number Diff line number Diff line change
@@ -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>`__

0 comments on commit dd701c4

Please sign in to comment.