yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #47722
[Bug 1555187] Re: keystone fails to start in kilo due to pysaml2 4.0.4 release
g-r cap is here for kilo: https://review.openstack.org/#/c/290613/
** Changed in: keystone/kilo
Assignee: (unassigned) => Matt Riedemann (mriedem)
** Changed in: keystone/kilo
Importance: Undecided => High
** Changed in: keystone
Status: Triaged => Invalid
** Changed in: keystone/kilo
Status: New => In Progress
** Tags added: pysaml
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1555187
Title:
keystone fails to start in kilo due to pysaml2 4.0.4 release
Status in OpenStack Identity (keystone):
Invalid
Status in OpenStack Identity (keystone) kilo series:
In Progress
Bug description:
http://logs.openstack.org/66/278466/8/check/gate-heat-dsvm-functional-
orig-mysql-
lbaasv1/26b4f7d/logs/apache/keystone.txt.gz#_2016-03-09_14_12_14_814037
2016-03-09 14:12:14.807391 mod_wsgi (pid=27348): Exception occurred processing WSGI script '/var/www/keystone/main'.
2016-03-09 14:12:14.807440 Traceback (most recent call last):
2016-03-09 14:12:14.807474 File "/var/www/keystone/main", line 25, in <module>
2016-03-09 14:12:14.807536 application = wsgi_server.initialize_application(name)
2016-03-09 14:12:14.807552 File "/opt/stack/new/keystone/keystone/server/wsgi.py", line 51, in initialize_application
2016-03-09 14:12:14.807574 startup_application_fn=loadapp)
2016-03-09 14:12:14.807586 File "/opt/stack/new/keystone/keystone/server/common.py", line 43, in setup_backends
2016-03-09 14:12:14.807603 res = startup_application_fn()
2016-03-09 14:12:14.807615 File "/opt/stack/new/keystone/keystone/server/wsgi.py", line 48, in loadapp
2016-03-09 14:12:14.807632 'config:%s' % config.find_paste_config(), name)
2016-03-09 14:12:14.807643 File "/opt/stack/new/keystone/keystone/service.py", line 45, in loadapp
2016-03-09 14:12:14.807740 controllers.latest_app = deploy.loadapp(conf, name=name)
2016-03-09 14:12:14.807757 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
2016-03-09 14:12:14.808057 return loadobj(APP, uri, name=name, **kw)
2016-03-09 14:12:14.808096 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
2016-03-09 14:12:14.808122 return context.create()
2016-03-09 14:12:14.808135 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
2016-03-09 14:12:14.808152 return self.object_type.invoke(self)
2016-03-09 14:12:14.808162 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
2016-03-09 14:12:14.808176 **context.local_conf)
2016-03-09 14:12:14.808187 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
2016-03-09 14:12:14.808277 val = callable(*args, **kw)
2016-03-09 14:12:14.808300 File "/usr/local/lib/python2.7/dist-packages/paste/urlmap.py", line 31, in urlmap_factory
2016-03-09 14:12:14.808447 app = loader.get_app(app_name, global_conf=global_conf)
2016-03-09 14:12:14.808465 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
2016-03-09 14:12:14.808485 name=name, global_conf=global_conf).create()
2016-03-09 14:12:14.808494 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 362, in app_context
2016-03-09 14:12:14.808508 APP, name=name, global_conf=global_conf)
2016-03-09 14:12:14.808516 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 450, in get_context
2016-03-09 14:12:14.808529 global_additions=global_additions)
2016-03-09 14:12:14.808538 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 562, in _pipeline_app_context
2016-03-09 14:12:14.808552 for name in pipeline[:-1]]
2016-03-09 14:12:14.808560 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 458, in get_context
2016-03-09 14:12:14.808573 section)
2016-03-09 14:12:14.808582 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 517, in _context_from_explicit
2016-03-09 14:12:14.808595 value = import_string(found_expr)
2016-03-09 14:12:14.808606 File "/usr/local/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 22, in import_string
2016-03-09 14:12:14.808621 return pkg_resources.EntryPoint.parse("x=" + s).load(False)
2016-03-09 14:12:14.808640 File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2202, in load
2016-03-09 14:12:14.810590 return self.resolve()
2016-03-09 14:12:14.810636 File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2208, in resolve
2016-03-09 14:12:14.810691 module = __import__(self.module_name, fromlist=['__name__'], level=0)
2016-03-09 14:12:14.810711 File "/opt/stack/new/keystone/keystone/contrib/federation/routers.py", line 17, in <module>
2016-03-09 14:12:14.810904 from keystone.contrib.federation import controllers
2016-03-09 14:12:14.810929 File "/opt/stack/new/keystone/keystone/contrib/federation/controllers.py", line 29, in <module>
2016-03-09 14:12:14.811187 from keystone.contrib.federation import idp as keystone_idp
2016-03-09 14:12:14.811213 File "/opt/stack/new/keystone/keystone/contrib/federation/idp.py", line 23, in <module>
2016-03-09 14:12:14.811528 from saml2 import client_base
2016-03-09 14:12:14.811554 File "/usr/local/lib/python2.7/dist-packages/saml2/client_base.py", line 11, in <module>
2016-03-09 14:12:14.811952 from saml2.entity import Entity
2016-03-09 14:12:14.811975 File "/usr/local/lib/python2.7/dist-packages/saml2/entity.py", line 13, in <module>
2016-03-09 14:12:14.812649 from saml2.metadata import ENDPOINTS
2016-03-09 14:12:14.812682 File "/usr/local/lib/python2.7/dist-packages/saml2/metadata.py", line 2, in <module>
2016-03-09 14:12:14.813043 from saml2.algsupport import algorithm_support_in_metadata
2016-03-09 14:12:14.813075 File "/usr/local/lib/python2.7/dist-packages/saml2/algsupport.py", line 2, in <module>
2016-03-09 14:12:14.813176 from saml2.sigver import get_xmlsec_binary
2016-03-09 14:12:14.813193 File "/usr/local/lib/python2.7/dist-packages/saml2/sigver.py", line 18, in <module>
2016-03-09 14:12:14.813979 from future.backports.urllib.parse import urlencode
2016-03-09 14:12:14.814037 ImportError: No module named future.backports.urllib.parse
Upstream issue reported: https://github.com/rohe/pysaml2/issues/320
This is due to a new dependency on the future package, which is not in
stable/kilo global-requirements.
We should probably just cap pysaml2 in stable/kilo at <4.0.4.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1555187/+subscriptions
References