aboutsummaryrefslogtreecommitdiff
path: root/docker/glance
diff options
context:
space:
mode:
authorMaksim Malchuk <maksim.malchuk@gmail.com>2021-06-22 00:57:16 +0300
committerMaksim Malchuk <maksim.malchuk@gmail.com>2021-07-27 22:05:19 +0000
commit53b391d3612a322ad13e1ec65e2ed9ba7e94a3c1 (patch)
tree05796702ff8752dd6dada2a0cb140aa913e73276 /docker/glance
parenta4a0d40f4b419bc3dbb2e9d420276770d7e0c482 (diff)
downloadkolla-53b391d3612a322ad13e1ec65e2ed9ba7e94a3c1.tar.gz
kolla-53b391d3612a322ad13e1ec65e2ed9ba7e94a3c1.zip
Add boto3 as s3 dependency for Glance container
boto3 library is needed [1] for glance_store and didn't installed yet since [2] adds s3 support back. this change adds both binary and source parts to install boto3 library. 1. https://github.com/openstack/glance_store/blob/04e5ead7c000211a4c10104ed2bb65c9df7681ae/setup.cfg#L76 2. I203134837319080ead96da69048baf90086d2117 Closes-Bug: #1884259 Change-Id: I199185e24cedd2e282c53460a24aeffc83478a12 Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
Diffstat (limited to 'docker/glance')
-rw-r--r--docker/glance/glance-base/Dockerfile.j24
1 files changed, 3 insertions, 1 deletions
diff --git a/docker/glance/glance-base/Dockerfile.j2 b/docker/glance/glance-base/Dockerfile.j2
index 5a691473f..dbc19dcbc 100644
--- a/docker/glance/glance-base/Dockerfile.j2
+++ b/docker/glance/glance-base/Dockerfile.j2
@@ -15,6 +15,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_package_type == 'rpm' %}
{% set glance_base_packages = [
'openstack-glance',
+ 'python3-boto3',
'python3-oslo-vmware',
'python3-rados',
'python3-rbd'
@@ -22,6 +23,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% elif base_package_type == 'deb' %}
{% set glance_base_packages = [
'glance',
+ 'python3-boto3',
'python3-os-brick',
'python3-oslo.vmware',
'python3-rados',
@@ -55,7 +57,7 @@ ADD glance-base-archive /glance-base-source
{% set glance_base_pip_packages = [
'/glance',
- 'glance_store[cinder,vmware,swift]'
+ 'glance_store[cinder,vmware,swift,s3]'
] %}
# add missing rootwrap config present in glance_store repo