Enabling S3 backend results in traceback

Bug #1955683 reported by James Denton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Unassigned

Bug Description

Version: OSA 24.0.0rc2
OS: Ubuntu 20.04 LTS

Enabling the s3 backend for Glance results in a traceback for glance-api due to missing dependency:

021-12-24 00:06:33.585 3776951 ERROR glance File "/openstack/venvs/glance-24.0.0/lib/python3.8/site-packages/glance_store/_drivers/s3.py", line 22, in <module>
2021-12-24 00:06:33.585 3776951 ERROR glance from boto3 import session as boto_session
2021-12-24 00:06:33.585 3776951 ERROR glance ModuleNotFoundError: No module named 'boto3'

Installing boto3 in the venv resolves the issue. Patch forthcoming.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_glance (master)
Changed in openstack-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_glance (master)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/822870
Committed: https://opendev.org/openstack/openstack-ansible-os_glance/commit/a2694d31479beb57336af2d7880db9722a4be582
Submitter: "Zuul (22348)"
Branch: master

commit a2694d31479beb57336af2d7880db9722a4be582
Author: James Denton <email address hidden>
Date: Thu Dec 23 21:13:19 2021 -0600

    Add boto3 module for s3 backend

    This patch adds the boto3 python module, which is a dependency
    for the s3 glance backend.

    Closes-Bug: #1955683
    Change-Id: I5f5a921d8a08d5dfb09e2bca71d49c85115a60aa

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_glance (stable/xena)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_glance (stable/wallaby)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_glance (stable/victoria)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_glance (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/822944
Committed: https://opendev.org/openstack/openstack-ansible-os_glance/commit/b5305adfcef6956036f90262e5cf42cc6fd59be4
Submitter: "Zuul (22348)"
Branch: stable/xena

commit b5305adfcef6956036f90262e5cf42cc6fd59be4
Author: James Denton <email address hidden>
Date: Thu Dec 23 21:13:19 2021 -0600

    Add boto3 module for s3 backend

    This patch adds the boto3 python module, which is a dependency
    for the s3 glance backend.

    Closes-Bug: #1955683
    Change-Id: I5f5a921d8a08d5dfb09e2bca71d49c85115a60aa
    (cherry picked from commit a2694d31479beb57336af2d7880db9722a4be582)

tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_glance (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/822945
Committed: https://opendev.org/openstack/openstack-ansible-os_glance/commit/5e4850477d7a2a0b63dc11b9b2ee2a9a9a26e98b
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 5e4850477d7a2a0b63dc11b9b2ee2a9a9a26e98b
Author: James Denton <email address hidden>
Date: Thu Dec 23 21:13:19 2021 -0600

    Add boto3 module for s3 backend

    This patch adds the boto3 python module, which is a dependency
    for the s3 glance backend.

    Closes-Bug: #1955683
    Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/823352
    Change-Id: I5f5a921d8a08d5dfb09e2bca71d49c85115a60aa
    (cherry picked from commit a2694d31479beb57336af2d7880db9722a4be582)

tags: added: in-stable-wallaby
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_glance (stable/victoria)

Reviewed: https://review.opendev.org/c/openstack/openstack-ansible-os_glance/+/822946
Committed: https://opendev.org/openstack/openstack-ansible-os_glance/commit/084b6b4d9dfca5002e48d8d66b5d9a5332883739
Submitter: "Zuul (22348)"
Branch: stable/victoria

commit 084b6b4d9dfca5002e48d8d66b5d9a5332883739
Author: James Denton <email address hidden>
Date: Thu Dec 23 21:13:19 2021 -0600

    Add boto3 module for s3 backend

    This patch adds the boto3 python module, which is a dependency
    for the s3 glance backend.

    Closes-Bug: #1955683
    Change-Id: I5f5a921d8a08d5dfb09e2bca71d49c85115a60aa
    (cherry picked from commit a2694d31479beb57336af2d7880db9722a4be582)

tags: added: in-stable-victoria
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_glance yoga-eom

This issue was fixed in the openstack/openstack-ansible-os_glance yoga-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_glance victoria-eom

This issue was fixed in the openstack/openstack-ansible-os_glance victoria-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_glance wallaby-eom

This issue was fixed in the openstack/openstack-ansible-os_glance wallaby-eom release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/openstack-ansible-os_glance xena-eom

This issue was fixed in the openstack/openstack-ansible-os_glance xena-eom release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.