Project

General

Profile

Bug #45692

keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 ...

Added by Kefu Chai 2 months ago. Updated 21 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
nautilus, octopus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description


2020-05-25T06:02:30.703 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 CRITICAL keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 (/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages), Requirement.parse('jsonschema!=2.5.0,<3.0.0,>=2.0.0'), {'keystone'})
2020-05-25T06:02:30.703 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone Traceback (most recent call last):
2020-05-25T06:02:30.704 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/bin/keystone-wsgi-public", line 35, in <module>
2020-05-25T06:02:30.704 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     server = wss.make_server(args.host, args.port, initialize_public_application())
2020-05-25T06:02:30.704 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 134, in initialize_public_application
2020-05-25T06:02:30.704 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     config_files=_get_config_files())
2020-05-25T06:02:30.705 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 66, in initialize_application
2020-05-25T06:02:30.705 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     startup_application_fn=loadapp)
2020-05-25T06:02:30.705 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/common.py", line 49, in setup_backends
2020-05-25T06:02:30.705 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     res = startup_application_fn()
2020-05-25T06:02:30.706 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 63, in loadapp
2020-05-25T06:02:30.706 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     'config:%s' % find_paste_config(), name)
2020-05-25T06:02:30.706 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/version/service.py", line 52, in loadapp
2020-05-25T06:02:30.706 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     controllers.latest_app = deploy.loadapp(conf, name=name)
2020-05-25T06:02:30.707 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
2020-05-25T06:02:30.707 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     return loadobj(APP, uri, name=name, **kw)
2020-05-25T06:02:30.707 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
2020-05-25T06:02:30.707 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     return context.create()
2020-05-25T06:02:30.707 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 715, in create
2020-05-25T06:02:30.708 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     return self.object_type.invoke(self)
2020-05-25T06:02:30.708 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 150, in invoke
2020-05-25T06:02:30.708 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     **context.local_conf)
2020-05-25T06:02:30.708 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/util.py", line 55, in fix_call
2020-05-25T06:02:30.709 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     val = callable(*args, **kw)
2020-05-25T06:02:30.709 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/urlmap.py", line 31, in urlmap_factory
2020-05-25T06:02:30.709 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     app = loader.get_app(app_name, global_conf=global_conf)
2020-05-25T06:02:30.709 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 356, in get_app
2020-05-25T06:02:30.710 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     name=name, global_conf=global_conf).create()
2020-05-25T06:02:30.710 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 368, in app_context
2020-05-25T06:02:30.710 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     APP, name=name, global_conf=global_conf)
2020-05-25T06:02:30.710 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 455, in get_context
2020-05-25T06:02:30.711 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     global_additions=global_additions)
2020-05-25T06:02:30.711 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 564, in _pipeline_app_context
2020-05-25T06:02:30.711 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     APP, pipeline[-1], global_conf)
2020-05-25T06:02:30.711 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 459, in get_context
2020-05-25T06:02:30.712 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     section)
2020-05-25T06:02:30.712 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 481, in _context_from_use
2020-05-25T06:02:30.712 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     object_type, name=use, global_conf=global_conf)
2020-05-25T06:02:30.712 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 412, in get_context
2020-05-25T06:02:30.712 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     global_conf=global_conf)
2020-05-25T06:02:30.713 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 302, in loadcontext
2020-05-25T06:02:30.713 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     global_conf=global_conf)
2020-05-25T06:02:30.713 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 334, in _loadegg
2020-05-25T06:02:30.713 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     return loader.get_context(object_type, name, global_conf)
2020-05-25T06:02:30.714 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 625, in get_context
2020-05-25T06:02:30.714 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     object_type, name=name)
2020-05-25T06:02:30.714 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 645, in find_egg_entry_point
2020-05-25T06:02:30.714 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     pkg_resources.require(self.spec)
2020-05-25T06:02:30.715 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 901, in require
2020-05-25T06:02:30.715 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     needed = self.resolve(parse_requirements(requirements))
2020-05-25T06:02:30.715 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/pkg_resources/__init__.py", line 792, in resolve
2020-05-25T06:02:30.715 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone     raise VersionConflict(dist, req).with_context(dependent_req)
2020-05-25T06:02:30.715 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 (/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages), Requirement.parse('jsonschema!=2.5.0,<3.0.0,>=2.0.0'), {'keystone'})
2020-05-25T06:02:30.716 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21408 ERROR keystone ESC[00m
2020-05-25T06:02:30.716 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 CRITICAL keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 (/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages), Requirement.parse('jsonschema!=2.5.0,<3.0.0,>=2.0.0'), {'keystone'})
2020-05-25T06:02:30.716 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone Traceback (most recent call last):
2020-05-25T06:02:30.716 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/bin/keystone-wsgi-admin", line 35, in <module>
2020-05-25T06:02:30.717 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     server = wss.make_server(args.host, args.port, initialize_admin_application())
2020-05-25T06:02:30.717 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 129, in initialize_admin_application
2020-05-25T06:02:30.717 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     config_files=_get_config_files())
2020-05-25T06:02:30.717 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 66, in initialize_application
2020-05-25T06:02:30.718 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     startup_application_fn=loadapp)
2020-05-25T06:02:30.718 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/common.py", line 49, in setup_backends
2020-05-25T06:02:30.718 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     res = startup_application_fn()
2020-05-25T06:02:30.719 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/server/wsgi.py", line 63, in loadapp
2020-05-25T06:02:30.719 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     'config:%s' % find_paste_config(), name)
2020-05-25T06:02:30.719 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/keystone/version/service.py", line 52, in loadapp
2020-05-25T06:02:30.719 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     controllers.latest_app = deploy.loadapp(conf, name=name)
2020-05-25T06:02:30.720 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 253, in loadapp
2020-05-25T06:02:30.720 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     return loadobj(APP, uri, name=name, **kw)
2020-05-25T06:02:30.720 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone   File "/home/ubuntu/cephtest/keystone/.tox/venv/lib/python3.6/site-packages/paste/deploy/loadwsgi.py", line 278, in loadobj
2020-05-25T06:02:30.720 INFO:tasks.keystone.client.0.smithi167.stdout:2020-05-25 06:02:30.702 21411 ERROR keystone     return context.create()
...
rgw/tempest/{clusters/fixed-1.yaml frontend/beast.yaml tasks/rgw_tempest.yaml ubuntu_latest.yaml}

/a/kchai-2020-05-25_05:27:30-rgw-nautilus-distro-basic-smithi/5090981


Related issues

Copied to rgw-testing - Backport #45811: nautilus: keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 ... Resolved
Copied to rgw-testing - Backport #45840: octopus: keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 ... Resolved

History

#1 Updated by Kefu Chai 2 months ago

  • Status changed from New to Pending Backport
  • Backport set to nautilus, octopus
  • Pull request ID set to 35226

#2 Updated by Kefu Chai 2 months ago

  • Copied to Backport #45811: nautilus: keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 ... added

#3 Updated by Nathan Cutler 2 months ago

  • Copied to Backport #45840: octopus: keystone [-] Unhandled error: pkg_resources.ContextualVersionConflict: (jsonschema 3.2.0 ... added

#5 Updated by Nathan Cutler 21 days ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Also available in: Atom PDF