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
This commit is contained in:
Rafal Wadolowski 2019-05-07 11:35:23 +02:00 committed by Mark Goddard
parent 98a946f9d5
commit 771584cbb5

View File

@ -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 %}