Bug #73663
closedbucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')
0%
Description
on ubuntu 24 with python 3.12, test_bn.py fails with:
Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves') ... ERROR
======================================================================
ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/nose/failure.py", line 40, in runTest
raise self.exc_val.with_traceback(self.tb)
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/nose/loader.py", line 422, in loadTestsFromName
module = self.importer.importFromPath(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/nose/importer.py", line 100, in importFromPath
return self.importFromDir(dir_path, fqname)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/nose/importer.py", line 152, in importFromDir
mod = load_module(part_fqname, fh, filename, desc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/nose/importer.py", line 69, in load_module
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 995, in exec_module
File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/test_bn.py", line 13, in <module>
import boto
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/boto/__init__.py", line 27, in <module>
from boto.pyami.config import Config, BotoConfigLocations
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/boto/pyami/config.py", line 29, in <module>
from boto.compat import expanduser, ConfigParser, NoOptionError, NoSectionError, StringIO
File "/home/ubuntu/cephtest/ceph/src/test/rgw/bucket_notification/virtualenv/lib/python3.12/site-packages/boto/compat.py", line 52, in <module>
from boto.vendored.six.moves import filter, http_client, map, _thread, \
ModuleNotFoundError: No module named 'boto.vendored.six.moves'
from https://pulpito.ceph.com/cbodley-2025-10-28_18:56:35-rgw:notifications-wip-cbodley-testing-distro-default-gibba/
CB Updated by Casey Bodley about 1 year ago
- Description updated (diff)
CB Updated by Casey Bodley about 1 year ago
- Assignee set to Yuval Lifshitz
@Yuval Lifshitz just making sure this is on your radar, things will break once we add ubuntu24/rocky10 to the qa suites after tentacle ships
MK Updated by Mark Kogan about 1 year ago
a workaround to install python 3.11.11 on RHEL 10 is detailed in:
https://tracker.ceph.com/issues/72500#note-8
YL Updated by Yuval Lifshitz about 1 year ago
will replacing boto with boto3 in all of the bucket notifications tests fix the issue?
CB Updated by Casey Bodley about 1 year ago
Yuval Lifshitz wrote in #note-4:
will replacing boto with boto3 in all of the bucket notifications tests fix the issue?
yep, just need to drop the boto dependency
HV Updated by Hoai-Thu Vuong 11 months ago
please update Pull request id to https://github.com/ceph/ceph/pull/66745
JI Updated by J. Eric Ivancich 11 months ago
- Status changed from New to In Progress
- Pull request ID set to 66745
YL Updated by Yuval Lifshitz 10 months ago
- Status changed from In Progress to Fix Under Review
- Backport set to tentacle
- Pull request ID changed from 66745 to 67387
YL Updated by Yuval Lifshitz 10 months ago
- Tags set to notifications
JM Updated by Joseph Mundackal 10 months ago
Can this be backported to squid as well - so that ALL supported versions have this change?
UB Updated by Upkeep Bot 9 months ago
- Status changed from Fix Under Review to Pending Backport
- Merge Commit set to e851e5ab38b68d841f016dac938a4c824bd156be
- Fixed In set to v20.3.0-5593-ge851e5ab38
- Upkeep Timestamp set to 2026-02-25T08:53:48+00:00
UB Updated by Upkeep Bot 9 months ago
- Copied to Backport #75154: tentacle: bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves') added
UB Updated by Upkeep Bot 9 months ago
- Tags (freeform) set to backport_processed
YL Updated by Yuval Lifshitz 9 months ago
- Backport changed from tentacle to tentacle squid
- Tags (freeform) deleted (
backport_processed)
UB Updated by Upkeep Bot 9 months ago
- Copied to Backport #75370: squid: bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves') added
UB Updated by Upkeep Bot 9 months ago
- Tags (freeform) set to backport_processed
JI Updated by J. Eric Ivancich 8 months ago
- Related to Bug #72057: squid: Failure in bucket_notification.test_bn.test_ps_s3_notification_kafka_idle_behaviour added
JI Updated by J. Eric Ivancich 8 months ago ยท Edited
@Yuval Lifshitz , I think the squid backport for this is the related tracker #75370. Thanks!
UB Updated by Upkeep Bot 3 months ago
- Status changed from Pending Backport to Resolved
- Tags (freeform) deleted (
backport_processed) - Upkeep Timestamp changed from 2026-02-25T08:53:48+00:00 to 2026-08-27T18:26:45+00:00
UB Updated by Upkeep Bot about 1 month ago
- Released In set to v21.2.0~1174
- Upkeep Timestamp changed from 2026-08-27T18:26:45+00:00 to 2026-10-24T01:49:13+00:00