Add driver dependencies to containers
We already had dependencies for RBD, Kaminario, and Pure storage in our containers. This patch adds requirements for Fujitsu Eternus and IBM XIV: - pywbem - pyxcli - pyOpenSSL
This commit is contained in:
parent
c8fc95260c
commit
c1bbf1537c
|
@ -7,15 +7,15 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
||||||
version=${VERSION:-master}
|
version=${VERSION:-master}
|
||||||
|
|
||||||
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
|
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 openssl-devel pywbem && \
|
||||||
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
|
||||||
pip install 'setuptools>=38.6.0' && \
|
pip install 'setuptools>=38.6.0' && \
|
||||||
git clone 'https://github.com/openstack/cinder.git' && \
|
git clone 'https://github.com/openstack/cinder.git' && \
|
||||||
pip install --no-cache-dir cinder/ && \
|
pip install --no-cache-dir cinder/ && \
|
||||||
pip install --no-cache-dir 'krest>=1.3.0' 'purestorage>=1.6.0' && \
|
pip install --no-cache-dir 'krest>=1.3.0' 'purestorage>=1.6.0' 'pyxcli>=1.1.5' 'pyOpenSSL>=1.0.0' && \
|
||||||
rm -rf cinder && \
|
rm -rf cinder && \
|
||||||
yum -y remove git python-devel gcc && \
|
yum -y remove git python-devel gcc openssl-devel && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum
|
rm -rf /var/cache/yum
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,9 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
||||||
version=${VERSION:-latest}
|
version=${VERSION:-latest}
|
||||||
|
|
||||||
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
|
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} pywbem && \
|
||||||
yum -y install python2-pip centos-release-openstack-${RELEASE} && \
|
yum -y install openstack-cinder python-rbd ceph-common python2-pyOpenSSL && \
|
||||||
yum -y install openstack-cinder python-rbd ceph-common && \
|
pip install --no-cache-dir 'krest>=1.3.0' 'purestorage>=1.6.0' 'pyxcli>=1.1.5' && \
|
||||||
pip install --no-cache-dir 'krest>=1.3.0' 'purestorage>=1.6.0' && \
|
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum
|
rm -rf /var/cache/yum
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@ LABEL maintainers="Gorka Eguileor <geguileo@redhat.com>" \
|
||||||
version=${VERSION:-latest}
|
version=${VERSION:-latest}
|
||||||
|
|
||||||
RUN yum -y install targetcli iscsi-initiator-utils device-mapper-multipath epel-release lvm2 which && \
|
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 pywbem && \
|
||||||
yum -y install openstack-cinder python-rbd ceph-common && \
|
yum -y install openstack-cinder python-rbd ceph-common python2-pyOpenSSL && \
|
||||||
yum clean all && \
|
yum clean all && \
|
||||||
rm -rf /var/cache/yum && \
|
rm -rf /var/cache/yum && \
|
||||||
pip install --no-cache-dir --process-dependency-links cinderlib 'krest>=1.3.0' 'purestorage>=1.6.0'
|
pip install --no-cache-dir --process-dependency-links cinderlib 'krest>=1.3.0' 'purestorage>=1.6.0' 'pyxcli>=1.1.5'
|
||||||
|
|
||||||
# Define default command
|
# Define default command
|
||||||
CMD ["bash"]
|
CMD ["bash"]
|
||||||
|
|
Loading…
Reference in New Issue