Skip to content

Commit fca4a08

Browse files
markgoddardyoctozepto
authored andcommitted
Fix multiple issues
Both issues affect Train and earlier releases. 1. Fix monasca-grafana by pinning more Ruby gems childprocess 3.0.0 and ffi 1.13.0 depend on Ruby 2.3. 2. Bump bifrost to 6.0.4 Bifrost had a fix to stop using the master branch of DIB which dropped support for Python 2. 3. Drop docker-client from OracleLinux sensu-client image The package fails to install due to a missing dependency on subscription-manager. Change-Id: Ida7e20833360bbca69c6aafc4f5d7cb375bb106f Closes-Bug: #1882070 (cherry picked from commit 3784d32)
1 parent 4b77682 commit fca4a08

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docker/monasca/monasca-grafana/Dockerfile.j2

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ ARG monasca_grafana_url=https://github.com/monasca/grafana/archive/$monasca_graf
5353
# NOTE(yoctozepto): Update npm to 6.x version to avoid issues with metadata parsing.
5454
# NPM installs itself in /usr/local/bin (the default in Ubuntu) which is not in the PATH.
5555
# This is forced for all distros to avoid conflicts with native packages.
56-
RUN gem install rake:"~>12" fpm \
56+
# NOTE(mgoddard): childprocess 3.0.0 and ffi 1.13.0 depend on Ruby 2.3.
57+
RUN gem install rake:"~>12" ffi:"<1.13.0" childprocess:"<2.0.0" fpm \
5758
&& curl -sSL -o /tmp/monasca-grafana.tgz ${monasca_grafana_url} \
5859
&& mkdir -p ${monasca_grafana_build_path} \
5960
&& tar --strip 1 -xvf /tmp/monasca-grafana.tgz -C ${monasca_grafana_build_path} \

docker/sensu/sensu-client/Dockerfile.j2

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,18 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
99
{% set sensu_client_packages = [
1010
'ceph-common',
1111
'cyrus-sasl-devel',
12-
'docker-client',
1312
'gcc-c++',
1413
'make',
1514
'mariadb',
1615
'ntp',
1716
'ruby-devel'
1817
] %}
18+
{% if base_distro != 'oraclelinux' %}
19+
# NOTE(mgoddard): Installing docker-client fails on OracleLinux.
20+
{% set sensu_client_packages = sensu_client_packages + [
21+
'docker-client',
22+
] %}
23+
{% endif %}
1924

2025
{% if distro_python_version.startswith('3') %}
2126
{% set sensu_client_packages = sensu_client_packages + [

kolla/common/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@
315315
'bifrost-base': {
316316
'type': 'url',
317317
'location': ('$tarballs_base/bifrost/'
318-
'bifrost-6.0.3.tar.gz')},
318+
'bifrost-6.0.4.tar.gz')},
319319
'blazar-base': {
320320
'type': 'url',
321321
'location': ('$tarballs_base/blazar/'

0 commit comments

Comments
 (0)