Fix #9: RBD attachments not working
Missing `which` command is making RBD attachments fail, add it to the docker images.
This commit is contained in:
parent
713fcf7659
commit
6fe85bf110
@ -5,7 +5,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
|||||||
description="Cinderlib" \
|
description="Cinderlib" \
|
||||||
version=${VERSION:-master}
|
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 python2-pip python-devel gcc && \
|
||||||
yum -y install python-rbd ceph-common git && \
|
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
|
# Need new setuptools version or we'll get "SyntaxError: '<' operator not allowed in environment markers" when installing Cinder
|
||||||
|
@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
|||||||
description="Cinderlib" \
|
description="Cinderlib" \
|
||||||
version=${VERSION:-latest}
|
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 && \
|
echo yum -y install python2-pip centos-release-openstack-${RELEASE} > /root/whatever && \
|
||||||
yum -y install python2-pip centos-release-openstack-${RELEASE} && \
|
yum -y install python2-pip centos-release-openstack-${RELEASE} && \
|
||||||
yum -y install openstack-cinder python-rbd ceph-common && \
|
yum -y install openstack-cinder python-rbd ceph-common && \
|
||||||
|
@ -6,7 +6,7 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
|||||||
description="Cinderlib" \
|
description="Cinderlib" \
|
||||||
version=${VERSION:-latest}
|
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 python2-pip centos-release-openstack-$RELEASE && \
|
||||||
yum -y install openstack-cinder python-rbd ceph-common && \
|
yum -y install openstack-cinder python-rbd ceph-common && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
|
Loading…
Reference in New Issue
Block a user