yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07519
[Bug 1261572] Re: Keystoneclient import fails in python3
** Also affects: solum
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1261572
Title:
Keystoneclient import fails in python3
Status in OpenStack Identity (Keystone):
New
Status in Solum - Application Lifecycle Management:
New
Bug description:
When application imports keystoneclient.auth_token this import fails
because xmlrpclib module was renamed in python 3.
Here is a stack trace:
3 | Traceback (most recent call last):
2013-11-28 18:27:12.653 | File "./solum/tests/api/base.py", line 37, in setUp
2013-11-28 18:27:12.653 | 'debug': False
2013-11-28 18:27:12.653 | File "/home/jenkins/workspace/gate-solum-python33/.tox/py33/lib/python3.3/site-packages/pecan/testing.py", line 35, in load_test_app
2013-11-28 18:27:12.653 | return TestApp(load_app(config))
2013-11-28 18:27:12.653 | File "/home/jenkins/workspace/gate-solum-python33/.tox/py33/lib/python3.3/site-packages/pecan/core.py", line 157, in load_app
2013-11-28 18:27:12.654 | module = __import__(package_name, fromlist=['app'])
2013-11-28 18:27:12.654 | File "./solum/api/app.py", line 20, in <module>
2013-11-28 18:27:12.654 | from solum.api import auth
2013-11-28 18:27:12.654 | File "./solum/api/auth.py", line 19, in <module>
2013-11-28 18:27:12.654 | from keystoneclient.middleware import auth_token
2013-11-28 18:27:12.654 | File "/home/jenkins/workspace/gate-solum-python33/.tox/py33/lib/python3.3/site-packages/keystoneclient/middleware/auth_token.py", line 161, in <module>
2013-11-28 18:27:12.654 | from keystoneclient.openstack.common import jsonutils
2013-11-28 18:27:12.655 | File "/home/jenkins/workspace/gate-solum-python33/.tox/py33/lib/python3.3/site-packages/keystoneclient/openstack/common/jsonutils.py", line 42, in <module>
2013-11-28 18:27:12.655 | import xmlrpclib
2013-11-28 18:27:12.655 | ImportError: No module named 'xmlrpclib'
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1261572/+subscriptions
References