Project

General

Profile

Actions

Bug #73663

closed
CB YL

bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')

Bug #73663: bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')

Added by Casey Bodley about 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Urgent
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-5593-ge851e5ab38
Released In:
v21.2.0~1174
Upkeep Timestamp:
2026-10-24T01:49:13+00:00

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/


Related issues 3 (1 open — 2 closed)

Related to rgw - Bug #72057: squid: Failure in bucket_notification.test_bn.test_ps_s3_notification_kafka_idle_behaviourNewYuval Lifshitz

Actions
Copied to rgw - Backport #75154: tentacle: bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')ResolvedYuval Lifshitz

Actions
Copied to rgw - Backport #75370: squid: bucket notifications: ERROR: Failure: ModuleNotFoundError (No module named 'boto.vendored.six.moves')ResolvedYuval Lifshitz

Actions

CB Updated by Casey Bodley about 1 year ago Actions #1

  • Description updated (diff)

CB Updated by Casey Bodley about 1 year ago Actions #2

  • 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 Actions #3

YL Updated by Yuval Lifshitz about 1 year ago Actions #4

will replacing boto with boto3 in all of the bucket notifications tests fix the issue?

CB Updated by Casey Bodley about 1 year ago Actions #5

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

JI Updated by J. Eric Ivancich 11 months ago Actions #8

  • Status changed from New to In Progress
  • Pull request ID set to 66745

YL Updated by Yuval Lifshitz 10 months ago Actions #9

  • 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 Actions #10

  • Tags set to notifications

JM Updated by Joseph Mundackal 10 months ago Actions #11

Can this be backported to squid as well - so that ALL supported versions have this change?

UB Updated by Upkeep Bot 9 months ago Actions #12

  • 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 Actions #13

  • 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 Actions #14

  • Tags (freeform) set to backport_processed

YL Updated by Yuval Lifshitz 9 months ago Actions #15

  • Backport changed from tentacle to tentacle squid
  • Tags (freeform) deleted (backport_processed)

UB Updated by Upkeep Bot 9 months ago Actions #16

  • 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 Actions #17

  • Tags (freeform) set to backport_processed

JI Updated by J. Eric Ivancich 8 months ago Actions #18

  • 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 Actions #19

@Yuval Lifshitz , I think the squid backport for this is the related tracker #75370. Thanks!

UB Updated by Upkeep Bot 3 months ago Actions #20

  • 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 Actions #21

  • 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
Actions

Also available in: PDF Atom