Add systool binary for cinder-volume container

systool is used when using FC driver backend[0].

[0]
https://github.com/openstack/os-brick/blob/master/os_brick/initiator/linuxfc.py#L94

Closes-Bug: #1711490
Change-Id: I4f2a6ff30ec31b835eacf89ea07493e60fa29b2c
This commit is contained in:
Jeffrey Zhang 2017-08-18 11:41:47 +08:00
parent e7a8f3f5bb
commit 5075cdb342

View File

@ -10,6 +10,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
'nfs-utils',
'python-rtslib',
'scsi-target-utils',
'sysfsutils',
'targetcli'
] %}
{{ macros.install_packages(cinder_volume_packages | customizable("packages")) }}
@ -22,6 +23,7 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/tgtd.conf
{% set cinder_volume_packages = [
'nfs-common',
'python-rtslib',
'sysfsutils',
'targetcli',
'thin-provisioning-tools',
'tgt'