Project

General

Profile

Actions

Bug #76361

open
SA

rocky10: ModuleNotFoundError: No module named 'boto.vendored.six.moves'

Bug #76361: rocky10: ModuleNotFoundError: No module named 'boto.vendored.six.moves'

Added by Shraddha Agrawal 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

Found this error in rocky10 runs:

2026-04-30T09:49:52.155 INFO:teuthology.orchestra.run.trial016.stdout:py: commands[0]> python -m pytest -v -m 'not fails_on_rgw'
2026-04-30T09:49:52.240 INFO:teuthology.orchestra.run.trial016.stdout:============================= test session starts ==============================
2026-04-30T09:49:52.241 INFO:teuthology.orchestra.run.trial016.stdout:platform linux -- Python 3.12.12, pytest-9.0.3, pluggy-1.6.0 -- /home/ubuntu/cephtest/ragweed.client.0/.tox/py/bin/python
2026-04-30T09:49:52.241 INFO:teuthology.orchestra.run.trial016.stdout:cachedir: .tox/py/.pytest_cache
2026-04-30T09:49:52.241 INFO:teuthology.orchestra.run.trial016.stdout:rootdir: /home/ubuntu/cephtest/ragweed.client.0
2026-04-30T09:49:52.241 INFO:teuthology.orchestra.run.trial016.stdout:configfile: pytest.ini
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:collecting ... collected 0 items / 1 error
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:==================================== ERRORS ====================================
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:___________________ ERROR collecting ragweed/tests/tests.py ____________________
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:ImportError while importing test module '/home/ubuntu/cephtest/ragweed.client.0/ragweed/tests/tests.py'.
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:Hint: make sure your test modules/packages have valid Python names.
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:Traceback:
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:/usr/lib64/python3.12/importlib/__init__.py:90: in import_module
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:    return _bootstrap._gcd_import(name[level:], package, level)
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:ragweed/tests/tests.py:2: in <module>
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:    import ragweed.framework
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:ragweed/framework.py:3: in <module>
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:    import boto
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:.tox/py/lib/python3.12/site-packages/boto/__init__.py:27: in <module>
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:    from boto.pyami.config import Config, BotoConfigLocations
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:.tox/py/lib/python3.12/site-packages/boto/pyami/config.py:29: in <module>
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:    from boto.compat import expanduser, ConfigParser, NoOptionError, NoSectionError, StringIO
2026-04-30T09:49:52.315 INFO:teuthology.orchestra.run.trial016.stdout:.tox/py/lib/python3.12/site-packages/boto/compat.py:52: in <module>
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:    from boto.vendored.six.moves import filter, http_client, map, _thread, \
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:E   ModuleNotFoundError: No module named 'boto.vendored.six.moves'
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:=========================== short test summary info ============================
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:ERROR ragweed/tests/tests.py
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
2026-04-30T09:49:52.316 INFO:teuthology.orchestra.run.trial016.stdout:=============================== 1 error in 0.06s ===============================

Related issues 2 (2 open — 0 closed)

Related to crimson - Feature #75823: rocky10 support In ProgressShraddha Agrawal

Actions
Is duplicate of rgw-testing - Bug #72500: ragweed: ModuleNotFoundError: No module named 'boto.vendored.six.moves' on ubuntu 24.04/python3.12In ProgressMark Kogan

Actions

SA Updated by Shraddha Agrawal 7 months ago Actions #1

JP Updated by Jose J Palacios Perez 7 months ago Actions #3

I spotted the following, not sure if would help with this issue:

  • On a recent teuthology run for crimson-rados using centos 9, the version of Python still is 3.9, whereas Rocky 10 uses 3.12:
    # /a/jjperez-2026-04-28_12:15:59-crimson-rados-wip-perezjos-crimson-only-28-04-2026-PR68340-distro-debug-trial//182552/teuthology.log
      python3-devel                   x86_64  3.9.25-5.el9
    
  • It seems confusing that I thought rocky10 was based on RHEL, wereas the path noted above refers to Ubuntu instead?:
    2026-04-30T09:49:52.241 INFO:teuthology.orchestra.run.trial016.stdout:rootdir: /home/ubuntu/cephtest/ragweed.client.0
    

SA Updated by Shraddha Agrawal 7 months ago Actions #4

  • Description updated (diff)

SA Updated by Shraddha Agrawal 7 months ago ยท Edited Actions #5

  • Project changed from crimson to rgw
  • Subject changed from rocky10: ModuleNotFoundError: No module named 'boto.vendored.six.moves' to ModuleNotFoundError: No module named 'boto.vendored.six.moves'

SA Updated by Shraddha Agrawal 7 months ago Actions #6

  • Project changed from rgw to crimson
  • Subject changed from ModuleNotFoundError: No module named 'boto.vendored.six.moves' to rocky10: ModuleNotFoundError: No module named 'boto.vendored.six.moves'

MB Updated by Matan Breizman 7 months ago Actions #7

  • Is duplicate of Bug #72500: ragweed: ModuleNotFoundError: No module named 'boto.vendored.six.moves' on ubuntu 24.04/python3.12 added

MB Updated by Matan Breizman 7 months ago Actions #8

Marked as duplicate of: https://tracker.ceph.com/issues/72500
If this issue persists on non Crimson/rgw suite let's move this to rgw as a rocky10 issue.

Actions

Also available in: PDF Atom