Skip to content
Snippets Groups Projects
Commit 717ed63b authored by Jeff Peeler's avatar Jeff Peeler
Browse files

Fix up ironic Dockerfiles to build

The dockerfiles for each of these containers were hacked to force
install the most recent version of the package, even though the newer
version had a lower version number. Delorean has fixed the issue by
bumping the epoch, so the hack is no longer required.

backport: liberty

Change-Id: I8d9c071d84e53280d3cadfceb9034bb96f64f3a3
Closes-bug: #1503785
parent f6107f09
No related branches found
No related tags found
No related merge requests found
......@@ -4,10 +4,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# Install delorean version even though version number is less
# http://lists.openstack.org/pipermail/openstack-dev/2015-August/073100.html
RUN VER_TO_GET=$(yum --showduplicates list openstack-ironic-api | awk '/delorean/ {print $2}') \
&& yum -y install openstack-ironic-api-$VER_TO_GET \
RUN yum -y install openstack-ironic-api \
&& yum clean all
{% endif %}
......
......@@ -4,10 +4,7 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# Install delorean version even though version number is less
# http://lists.openstack.org/pipermail/openstack-dev/2015-August/073100.html
RUN VER_TO_GET=$(yum --showduplicates list openstack-ironic-conductor | awk '/delorean/ {print $2}') \
&& yum -y install openstack-ironic-conductor-$VER_TO_GET \
RUN yum -y install openstack-ironic-conductor \
&& yum clean all
{% 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