From 6fe85bf1106086a0fc4b595f0c9eed5e0bebd781 Mon Sep 17 00:00:00 2001 From: Gorka Eguileor Date: Wed, 29 Aug 2018 18:17:55 +0200 Subject: [PATCH] Fix #9: RBD attachments not working Missing `which` command is making RBD attachments fail, add it to the docker images. --- Dockerfile | 2 +- Dockerfile-latest | 2 +- Dockerfile-release | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5978ae2..ade1986 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ LABEL maintainers="Gorka Eguileor " \ description="Cinderlib" \ version=${VERSION:-master} -RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \ +RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \ yum -y install python2-pip python-devel gcc && \ yum -y install python-rbd ceph-common git && \ # Need new setuptools version or we'll get "SyntaxError: '<' operator not allowed in environment markers" when installing Cinder diff --git a/Dockerfile-latest b/Dockerfile-latest index 83c4443..7cc2fa3 100644 --- a/Dockerfile-latest +++ b/Dockerfile-latest @@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor " \ description="Cinderlib" \ version=${VERSION:-latest} -RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \ +RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \ echo yum -y install python2-pip centos-release-openstack-${RELEASE} > /root/whatever && \ yum -y install python2-pip centos-release-openstack-${RELEASE} && \ yum -y install openstack-cinder python-rbd ceph-common && \ diff --git a/Dockerfile-release b/Dockerfile-release index 3fc6ac6..26ec4d0 100644 --- a/Dockerfile-release +++ b/Dockerfile-release @@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor " \ description="Cinderlib" \ version=${VERSION:-latest} -RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 && \ +RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \ yum -y install python2-pip centos-release-openstack-$RELEASE && \ yum -y install openstack-cinder python-rbd ceph-common && \ yum clean all && \