Bug #75041
openrgw:crypt:barbican fails with ModuleNotFoundError: No module named 'pkg_resources' because of keystone dependency
0%
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/
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'
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?
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.
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
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
Updated by Casey Bodley 18 days ago
- Has duplicate Bug #72968: tempest: setUpClass get_credentials_provider() failing with "Connection reset by peer" added
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
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
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