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. 04e5ead7c0/setup.cfg (L76)
2. I203134837319080ead96da69048baf90086d2117

Closes-Bug: #1884259
Change-Id: I199185e24cedd2e282c53460a24aeffc83478a12
Signed-off-by: Maksim Malchuk <maksim.malchuk@gmail.com>
This commit is contained in:
Maksim Malchuk 2021-06-22 00:57:16 +03:00
parent a4a0d40f4b
commit 53b391d361
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes missing boto3 library required by glance_store.
`LP#1884259 <https://launchpad.net/bugs/1884259>`__