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
https:/ /review. opendev. org/c/openstack /devstack/ +/1004804 addresses this