From b939770afa655b5ab7d32812cad247727c447a3a Mon Sep 17 00:00:00 2001
From: weiyu <weiyu@unitedstack.com>
Date: Thu, 7 Jan 2016 12:31:31 +0800
Subject: [PATCH] openstack-cinder for centos-binary

openstack-cinder package is missing a dependency on
python-oslo-policy. Add it to Kolla until RDO packaging is fixed.

Change-Id: I29a1b24e9508f186fa3be5ea6f138b2bd163f8b3
Closes-Bug: 1469891
---
 docker/cinder/cinder-base/Dockerfile.j2 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2
index fa15022556..c2e091e527 100644
--- a/docker/cinder/cinder-base/Dockerfile.j2
+++ b/docker/cinder/cinder-base/Dockerfile.j2
@@ -4,10 +4,12 @@ MAINTAINER {{ maintainer }}
 {% if install_type == 'binary' %}
     {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
 
+# TODO(Martin) remove python-oslo-policy once RDO package is fixed
 RUN yum -y install openstack-cinder \
     python-automaton \
     lvm2 \
     ceph-common \
+    python-oslo-policy \
   && yum clean all \
   && mkdir -p /etc/ceph