aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorliyingjun <yingjun.li@kylin-cloud.com>2018-02-28 15:21:06 +0800
committerliyingjun <yingjun.li@kylin-cloud.com>2018-03-01 17:33:57 +0800
commitcb596314146944aca3f4114242a0840d2952d382 (patch)
treed433d63e94a79c4e72aa25980828ce11dea23bea /docker
parent91ad86c8810653218c1777db2f6967dd38c6ca43 (diff)
downloadkolla-cb596314146944aca3f4114242a0840d2952d382.tar.gz
kolla-cb596314146944aca3f4114242a0840d2952d382.zip
Need to install cryptsetup for cinder
when creating encrypted volume from image, cryptsetup is needed. Change-Id: I6fab763ba2c17c42e5acf371ef5c02c92600f3e1 Closes-bug: #1752256
Diffstat (limited to 'docker')
-rw-r--r--docker/cinder/cinder-base/Dockerfile.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/cinder/cinder-base/Dockerfile.j2 b/docker/cinder/cinder-base/Dockerfile.j2
index a17aa656c..2fbf24b5b 100644
--- a/docker/cinder/cinder-base/Dockerfile.j2
+++ b/docker/cinder/cinder-base/Dockerfile.j2
@@ -12,6 +12,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set cinder_base_packages = [
'ceph-common',
'lvm2',
+ 'cryptsetup',
'openstack-cinder',
'python-automaton',
'python-oslo-vmware'
@@ -21,6 +22,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'ceph-common',
'cinder-common',
'lvm2',
+ 'cryptsetup',
'python-oslo.vmware'
] %}
{% endif %}
@@ -31,12 +33,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% set cinder_base_packages = [
'ceph-common',
'lvm2',
+ 'cryptsetup',
'qemu-img'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set cinder_base_packages = [
'ceph-common',
'lvm2',
+ 'cryptsetup',
'qemu-utils'
] %}
{% endif %}