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
(cherry picked from commit 771584cbb5)
This commit is contained in:
Rafal Wadolowski 2019-05-07 11:35:23 +02:00 committed by Mark Goddard
parent 8dbb962494
commit d8a1c3eb75
1 changed files with 8 additions and 4 deletions

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_distro in ['debian', 'ubuntu'] %}
{% 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_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set manila_share_packages = [
'ceph-common'
'ceph-common',
'sqlite'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set manila_share_packages = [
'ceph-common'
'ceph-common',
'sqlite3'
] %}
{% endif %}