From 1353538644253081f62a6a74e299d102aa9965dd Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Tue, 13 Oct 2015 03:56:20 -0400 Subject: Make Ceph work for RPM based distributions Ceph packages need to be installed in nova, glance, and cinder. Once that is done, Ceph works like a champ! Change-Id: I296da1d04d0c1bcb729f22e65e432d53d561b49c backport: liberty Closes-Bug: #1505549 --- docker/glance/glance-base/Dockerfile.j2 | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'docker/glance') diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2 index bf079c528..3ca7e5133 100644 --- a/docker/glance/glance-base/Dockerfile.j2 +++ b/docker/glance/glance-base/Dockerfile.j2 @@ -9,11 +9,22 @@ RUN yum -y install \ python-oslo-i18n \ python-castellan \ python-cryptography \ - && yum clean all + python-rbd \ + python-rados \ + && yum clean all \ + && mkdir -p /etc/ceph/ {% endif %} {% elif install_type == 'source' %} - {% if base_distro in ['ubuntu', 'debian'] %} + {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} + +RUN yum -y install \ + python-rbd \ + python-rados \ + && yum clean all \ + && mkdir -p /etc/ceph/ + + {% elif base_distro in ['ubuntu', 'debian'] %} RUN apt-get install -y --no-install-recommends \ python-rbd \ -- cgit v1.2.3