
The tgtd process was not being started in the cinder-volume container. This results in iSCSI not being avialable for Cinder to operate against. Unfortunately cinder doesn't report the problem because LVM is responsible for the iSCSI mapping. Co-Authored-By: Ryan Hallisey <rhallise@redhat.com> Closes-Bug: 1473090 Closes-Bug: 1469323 Change-Id: Ie3403c5c3f81beb48960e838b4274e0c5796e387
12 lines
360 B
Docker
12 lines
360 B
Docker
FROM %%KOLLA_NAMESPACE%%/%%KOLLA_PREFIX%%cinder-base:%%KOLLA_TAG%%
|
|
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
|
|
|
# Install required packages
|
|
RUN yum install -y lvm2 scsi-target-utils && yum clean all
|
|
|
|
# Add start scripts
|
|
COPY tgtd.sh volume-group-create.sh config-internal.sh config-external.sh /opt/kolla/
|
|
COPY start.sh /start.sh
|
|
|
|
CMD ["/start.sh"]
|