From 771584cbb5ecd089d273078ae68fb92ece42e47f Mon Sep 17 00:00:00 2001 From: Rafal Wadolowski Date: Tue, 7 May 2019 11:35:23 +0200 Subject: [PATCH] Add sqlite package to manila-share The docker image was built without sqlite package, which is required for nfs backend. Without this package manila-share fails to start. Change-Id: I2f7d8c283393ca947a1d51c6e3cd20e888fbc3e4 Closes-Bug: #1824511 --- docker/manila/manila-share/Dockerfile.j2 | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docker/manila/manila-share/Dockerfile.j2 b/docker/manila/manila-share/Dockerfile.j2 index 64f86ecbbb..cf58a36f01 100644 --- a/docker/manila/manila-share/Dockerfile.j2 +++ b/docker/manila/manila-share/Dockerfile.j2 @@ -10,12 +10,14 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% set manila_share_packages = [ 'openstack-manila-share', - 'ceph-common' + 'ceph-common', + 'sqlite' ] %} {% elif base_package_type == 'deb' %} {% set manila_share_packages = [ 'manila-share', - 'ceph-common' + 'ceph-common', + 'sqlite3' ] %} {% endif %} @@ -25,11 +27,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% elif install_type == 'source' %} {% if base_package_type == 'rpm' %} {% set manila_share_packages = [ - 'ceph-common' + 'ceph-common', + 'sqlite' ] %} {% elif base_package_type == 'deb' %} {% set manila_share_packages = [ - 'ceph-common' + 'ceph-common', + 'sqlite3' ] %} {% endif %}