keystonemidleware dependency should be > 4.0.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Itxaka Serrano |
Bug Description
Right now keystonemiddleware requirement is as follows:
keystonemiddlew
Unfortunately, 4.0.0 (which is the minimum) wont work due to a breaking change that changes the _BaseAuthProtocol class to BaseAuthProtocol[0] and that class is used at keystone/
This was done in the change from 4.0.0 to 4.1.0 but the requirements were never bumped. Thus using latest keystone from master and keystonemiddleware == 4.0.0 results in failure:
2016-09-13 17:06:05.465591 Traceback (most recent call last):
2016-09-13 17:06:05.465603 File "/usr/bin/
2016-09-13 17:06:05.465619 application = initialize_
2016-09-13 17:06:05.465624 File "/usr/lib/
2016-09-13 17:06:05.465632 config_
2016-09-13 17:06:05.465636 File "/usr/lib/
2016-09-13 17:06:05.465641 startup_
2016-09-13 17:06:05.465645 File "/usr/lib/
2016-09-13 17:06:05.465651 res = startup_
2016-09-13 17:06:05.465654 File "/usr/lib/
2016-09-13 17:06:05.465659 'config:%s' % find_paste_
2016-09-13 17:06:05.465663 File "/usr/lib/
2016-09-13 17:06:05.465702 controllers.
2016-09-13 17:06:05.465709 File "/usr/lib/
2016-09-13 17:06:05.465841 return loadobj(APP, uri, name=name, **kw)
2016-09-13 17:06:05.465853 File "/usr/lib/
2016-09-13 17:06:05.465868 return context.create()
2016-09-13 17:06:05.465876 File "/usr/lib/
2016-09-13 17:06:05.465897 return self.object_
2016-09-13 17:06:05.465903 File "/usr/lib/
2016-09-13 17:06:05.465909 **context.
2016-09-13 17:06:05.465921 File "/usr/lib/
2016-09-13 17:06:05.465969 val = callable(*args, **kw)
2016-09-13 17:06:05.465980 File "/usr/lib/
2016-09-13 17:06:05.466084 app = loader.
2016-09-13 17:06:05.466101 File "/usr/lib/
2016-09-13 17:06:05.466124 name=name, global_
2016-09-13 17:06:05.466138 File "/usr/lib/
2016-09-13 17:06:05.466146 APP, name=name, global_
2016-09-13 17:06:05.466152 File "/usr/lib/
2016-09-13 17:06:05.466171 global_
2016-09-13 17:06:05.466177 File "/usr/lib/
2016-09-13 17:06:05.466192 for name in pipeline[:-1]]
2016-09-13 17:06:05.466197 File "/usr/lib/
2016-09-13 17:06:05.466217 section)
2016-09-13 17:06:05.466243 File "/usr/lib/
2016-09-13 17:06:05.466265 object_type, name=use, global_
2016-09-13 17:06:05.466272 File "/usr/lib/
2016-09-13 17:06:05.466289 global_
2016-09-13 17:06:05.466294 File "/usr/lib/
2016-09-13 17:06:05.466320 global_
2016-09-13 17:06:05.466337 File "/usr/lib/
2016-09-13 17:06:05.466344 return loader.
2016-09-13 17:06:05.466350 File "/usr/lib/
2016-09-13 17:06:05.466369 object_type, name=name)
2016-09-13 17:06:05.466375 File "/usr/lib/
2016-09-13 17:06:05.466393 possible.
2016-09-13 17:06:05.466404 File "/usr/lib/
2016-09-13 17:06:05.466735 return self.resolve()
2016-09-13 17:06:05.466750 File "/usr/lib/
2016-09-13 17:06:05.466772 module = __import_
2016-09-13 17:06:05.466779 File "/usr/lib/
2016-09-13 17:06:05.466835 from keystone.
2016-09-13 17:06:05.466857 File "/usr/lib/
2016-09-13 17:06:05.466952 class AuthContextMidd
2016-09-13 17:06:05.466971 AttributeError: 'module' object has no attribute 'BaseAuthProtocol'
A simple fix would be to change the requirement to blacklist 4.0.0
[0] https:/
[1] https:/
Changed in keystone: | |
assignee: | nobody → tamil vanan (tamilhce) |
status: | New → In Progress |
tags: | added: rc-potential |
Changed in keystone: | |
assignee: | Itxaka Serrano (itxakaserrano) → Steve Martinelli (stevemar) |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → Itxaka Serrano (itxakaserrano) |
milestone: | none → newton-rc1 |
Changed in keystone: | |
assignee: | Itxaka Serrano (itxakaserrano) → Boris Bobrov (bbobrov) |
Changed in keystone: | |
assignee: | Boris Bobrov (bbobrov) → Itxaka Serrano (itxakaserrano) |
tags: | added: rc-potential |
Changed in keystone: | |
assignee: | Itxaka Serrano (itxakaserrano) → Steve Martinelli (stevemar) |
Changed in keystone: | |
assignee: | Steve Martinelli (stevemar) → Itxaka Serrano (itxakaserrano) |
Fix proposed to branch: master /review. openstack. org/369598
Review: https:/