Fix oslo.log pinning

This sed rule won't adjust anything once oslo.log is fixed upstream.
But for this particular version it will fix things.

Change-Id: Id9e85ac8466c04e2c62231531d419c0838ec89e3
Related-Bug: #1499620
This commit is contained in:
Sam Yaple 2015-10-21 13:33:06 +00:00
parent 5edb512616
commit 82c80b7adf
1 changed files with 5 additions and 0 deletions

View File

@ -74,7 +74,12 @@ RUN apt-get install -y --no-install-recommends \
{% endif %}
ADD openstack-base-archive /openstack-base-source
# TODO(SamYaple): Remove the sed once openstack/requirements is updated. This
# is to work around the issue with oslo.log and syslog.
# Related-Bug: #1499620
RUN ln -s openstack-base-source/* /requirements \
&& sed -i 's/oslo.log===1.11.0/oslo.log===1.12.1/' requirements/upper-constraints.txt \
&& curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py \
&& python get-pip.py \
&& rm get-pip.py \