Skip to content
Snippets Groups Projects
Commit 6cc84e38 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Make oslo.log work correctly on RDO platforms"

parents 8bbc45c3 00151b23
No related branches found
No related tags found
No related merge requests found
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
{% if install_type == 'source' %}
{% if base_distro in ['fedora', 'centos', 'oraclelinux', 'rhel'] %}
RUN yum -y install patch \
&& yum clean all
{% endif %}
{% if install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
curl \
......@@ -50,11 +48,11 @@ RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
python-openstackclient \
MySQL-python
{% endif %}
# TODO(sdake): Remove a backport of a patch which is not yet in the packaging
# to make oslo.log work properly once the patch is in oslo.log
# NB: Please remove patch from the list of packages for both
# RPM and APT.
COPY 0001-Fix-unintended-assignment-of-syslog.patch /
RUN patch -p1 -d /usr/lib/python2.7/site-packages < /0001-Fix-unintended-assignment-of-syslog.patch
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment