Skip to content

Commit 1aba4e7

Browse files
committed
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 <[email protected]> (cherry picked from commit 53b391d)
1 parent cfdacc2 commit 1aba4e7

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docker/glance/glance-base/Dockerfile.j2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
1515
{% if base_package_type == 'rpm' %}
1616
{% set glance_base_packages = [
1717
'openstack-glance',
18+
'python3-boto3',
1819
'python3-oslo-vmware',
1920
'python3-rados',
2021
'python3-rbd'
2122
] %}
2223
{% elif base_package_type == 'deb' %}
2324
{% set glance_base_packages = [
2425
'glance',
26+
'python3-boto3',
2527
'python3-os-brick',
2628
'python3-oslo.vmware',
2729
'python3-rados',
@@ -55,7 +57,7 @@ ADD glance-base-archive /glance-base-source
5557

5658
{% set glance_base_pip_packages = [
5759
'/glance',
58-
'glance_store[cinder,vmware,swift]'
60+
'glance_store[cinder,vmware,swift,s3]'
5961
] %}
6062

6163
# add missing rootwrap config present in glance_store repo
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
fixes:
3+
- |
4+
Fixes missing boto3 library required by glance_store.
5+
`LP#1884259 <https://launchpad.net/bugs/1884259>`__

0 commit comments

Comments
 (0)