From de7293833eddc7cb6f1ae88023f073e93bd45f08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Andr=C3=A9?= Date: Sat, 12 Dec 2015 20:47:10 +0900 Subject: [PATCH] Add workaround to fix centos-binary-deploy gate The RDO nova package is missing a dependency on oslo-policy and this is breaking our centos-binary-deploy gate. Install the missing package in nova-base until the issue is fixed upstream. Change-Id: Iece7edd754c6f173635b0e0c437a998f3b9492d3 Closes-Bug: #1525502 --- docker/nova/nova-base/Dockerfile.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/nova/nova-base/Dockerfile.j2 b/docker/nova/nova-base/Dockerfile.j2 index aadeb25209..680c373e36 100644 --- a/docker/nova/nova-base/Dockerfile.j2 +++ b/docker/nova/nova-base/Dockerfile.j2 @@ -4,10 +4,13 @@ MAINTAINER {{ maintainer }} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} +# TODO(mandre) remove python-oslo-policy once RDO package is fixed +# https://github.com/openstack-packages/nova/blob/rpm-master/openstack-nova.spec RUN yum -y install \ openstack-nova-common \ python-keystoneclient \ python-cinderclient \ + python-oslo-policy \ python-nova \ bridge-utils \ && yum clean all