Project

General

Profile

Actions

Bug #75041

open

rgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency

Added by Kyr Shatskyy about 1 month ago. Updated 11 days ago.

Status:
Pending Backport
Priority:
Normal
Assignee:
Target version:
-
% Done:

0%

Source:
Backport:
squid tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
backport_processed
Fixed In:
v20.3.0-6038-g944f78e5ba
Released In:
Upkeep Timestamp:
2026-03-12T11:07:23+00:00

Description

Though the issue reproduced on rgw:crypt:barbican it can impact other keystone dependent tests.

https://pulpito.ceph.com/kyr-2026-02-19_21:27:26-rgw:crypt-main-distro-default-trial/

https://qa-proxy.ceph.com/teuthology/kyr-2026-02-19_21:27:26-rgw:crypt-main-distro-default-trial/59728/teuthology.log

2026-02-19T21:38:58.238 INFO:tasks.keystone.client.0:Started
2026-02-19T21:38:58.239 DEBUG:teuthology.orchestra.run.trial164:> cd /home/ubuntu/cephtest/keystone && source .tox/venv/bin/activate && sleep 15
2026-02-19T21:38:58.886 INFO:tasks.keystone.client.0.trial164.stderr:Traceback (most recent call last):
2026-02-19T21:38:58.886 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/bin/keystone-wsgi-public", line 6, in <module>
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:    from keystone.server.wsgi import initialize_public_application
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.10/site-packages/keystone/server/wsgi.py", line 14, in <module>
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:    from keystone.server.flask import core as flask_core
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.10/site-packages/keystone/server/flask/core.py", line 30, in <module>
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:    from keystone.server.flask.request_processing.middleware import auth_context
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.10/site-packages/keystone/server/flask/request_processing/middleware/auth_context.py", line 19, in <module>
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:    from keystonemiddleware import auth_token
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.10/site-packages/keystonemiddleware/auth_token/__init__.py", line 235, in <module>
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:    from keystonemiddleware._common import config
2026-02-19T21:38:58.887 INFO:tasks.keystone.client.0.trial164.stderr:  File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.10/site-packages/keystonemiddleware/_common/config.py", line 13, in <module>
2026-02-19T21:38:58.888 INFO:tasks.keystone.client.0.trial164.stderr:    import pkg_resources
2026-02-19T21:38:58.888 INFO:tasks.keystone.client.0.trial164.stderr:ModuleNotFoundError: No module named 'pkg_resources'


Related issues 3 (2 open1 closed)

Has duplicate rgw - Bug #72968: tempest: setUpClass get_credentials_provider() failing with "Connection reset by peer"DuplicateTobias Urdin

Actions
Copied to rgw-testing - Backport #75470: squid: rgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency In ProgressKyr ShatskyyActions
Copied to rgw-testing - Backport #75471: tentacle: rgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency NewKyr ShatskyyActions
Actions #1

Updated by J. Eric Ivancich 26 days ago

@Kyr Shatskyy I saw that at least one past keystone tracker was assigned to you. Are you a good person to assign this one to?

Actions #2

Updated by Kyr Shatskyy 26 days ago

J. Eric Ivancich wrote in #note-1:

@Kyr Shatskyy I saw that at least one past keystone tracker was assigned to you. Are you a good person to assign this one to?

I am not sure I have cycles for this right now.

Actions #3

Updated by Casey Bodley 25 days ago

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

https://github.com/ceph/ceph/pull/67549 resolves issues with python dependencies by bumping to 2025.2, but that removes support for the keystone-wsgi-public script we were using to run keystone. someone will need to redo that part of qa/tasks/keystone.py

Actions #4

Updated by Casey Bodley 18 days ago

  • Status changed from In Progress to Fix Under Review
  • Backport set to squid tentacle
  • Pull request ID changed from 67549 to 67660
Actions #5

Updated by Casey Bodley 18 days ago

  • Has duplicate Bug #72968: tempest: setUpClass get_credentials_provider() failing with "Connection reset by peer" added
Actions #6

Updated by J. Eric Ivancich 18 days ago

  • Assignee set to Kyr Shatskyy
Actions #7

Updated by Upkeep Bot 11 days ago

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 944f78e5ba4bf4cf55980380eac715aa534eefdb
  • Fixed In set to v20.3.0-6038-g944f78e5ba
  • Upkeep Timestamp set to 2026-03-12T11:07:23+00:00
Actions #8

Updated by Kyr Shatskyy 11 days ago

  • Copied to Backport #75470: squid: rgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency added
Actions #9

Updated by Kyr Shatskyy 11 days ago

  • Copied to Backport #75471: tentacle: rgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency added
Actions #10

Updated by Kyr Shatskyy 11 days ago

  • Tags (freeform) set to backport_processed
Actions

Also available in: Atom PDF