cinder-tempest-plugin-cbak-s3 is failing due to missing boto3 library

Bug #2168180 reported by Takashi Kajinami
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Takashi Kajinami

Bug Description

Volume backup tests in cinder-tempest-plugin-cbak-s3 are consistently failing.
These failures are caused by initialization failure of s3 backup driver, due to missing boto3 library.

https://zuul.opendev.org/t/openstack/build/e530ab61a856465fad6c69861c1e8bdc

Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall [-] Fixed interval looping call 'cinder.backup.manager.BackupManager._setup_backup_driver' failed: cinder.exception.BackupDriverException: Backup driver reported an error: boto3 python library not found
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall Traceback (most recent call last):
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall File "/opt/stack/data/venv/lib/python3.12/site-packages/oslo_service/backend/_common/loopingcall.py", line 175, in _run_loop
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall result = func(*self.args, **self.kw)
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall ^^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall File "/opt/stack/cinder/cinder/backup/manager.py", line 162, in _setup_backup_driver
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall backup_service = self.service(context=ctxt)
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall ^^^^^^^^^^^^^^^^^^^^^^^^^^
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall File "/opt/stack/cinder/cinder/backup/drivers/s3.py", line 178, in __init__
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall raise exception.BackupDriverException(reason=msg)
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall cinder.exception.BackupDriverException: Backup driver reported an error: boto3 python library not found
Sep 21 16:40:58.047800 np9fea976c38364 cinder-backup[84395]: ERROR oslo.service.backend._common.loopingcall

The library was made optional recently but current devstack lacks the step to install it.
https://review.opendev.org/c/openstack/cinder/+/902104

Changed in devstack:
assignee: nobody → Takashi Kajinami (kajinamit)
Revision history for this message
Eric Harney (eharney) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/devstack/+/1006968

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

Reviewed: https://review.opendev.org/c/openstack/devstack/+/1006968
Committed: https://opendev.org/openstack/devstack/commit/f6248dc12988b5bf03970122bfc78bc975e53681
Submitter: "Zuul (22348)"
Branch: master

commit f6248dc12988b5bf03970122bfc78bc975e53681
Author: Takashi Kajinami <email address hidden>
Date: Thu Sep 24 00:09:59 2026 +0900

    cinder: Install dependencies for backup drivers

    The dependencies for backup drivers are now optional and should be
    installed explicitly.

    Closes-Bug: #2168180
    Depends-on: https://review.opendev.org/c/openstack/cinder/+/902104
    Depends-on: https://review.opendev.org/c/openstack/cinder/+/926868
    Change-Id: I37167f8dd854641c1df46cbf3b9d5b73e7348068
    Signed-off-by: Takashi Kajinami <email address hidden>

Changed in devstack:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to devstack (stable/2026.2)

Fix proposed to branch: stable/2026.2
Review: https://review.opendev.org/c/openstack/devstack/+/1007116

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to devstack (stable/2026.2)

Reviewed: https://review.opendev.org/c/openstack/devstack/+/1007116
Committed: https://opendev.org/openstack/devstack/commit/0fb9685c1bf22cd0b4d576d7a74f64195ad934fe
Submitter: "Zuul (22348)"
Branch: stable/2026.2

commit 0fb9685c1bf22cd0b4d576d7a74f64195ad934fe
Author: Takashi Kajinami <email address hidden>
Date: Thu Sep 24 00:09:59 2026 +0900

    cinder: Install dependencies for backup drivers

    The dependencies for backup drivers are now optional and should be
    installed explicitly.

    Closes-Bug: #2168180
    Depends-on: https://review.opendev.org/c/openstack/cinder/+/902104
    Depends-on: https://review.opendev.org/c/openstack/cinder/+/926868
    Change-Id: I37167f8dd854641c1df46cbf3b9d5b73e7348068
    Signed-off-by: Takashi Kajinami <email address hidden>
    (cherry picked from commit f6248dc12988b5bf03970122bfc78bc975e53681)

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.