using pysaml2 version 3.0.0 breaks keystone in kilo release 2015.1.0
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Marcos Simental | ||
Kilo |
Fix Released
|
High
|
Unassigned |
Bug Description
pysaml2 version 3.0.0 it's a major change as specified in [1]:
"2)All parts of the package is now collected in one module. This is a change that breaking change compared to earlier releases hence the major version change.".
when running keystone release 2015.1.0 with python package pysaml2 version 3.0.0 breaks it with the following error:
File "/usr/lib/
return pkg_resources.
File "/usr/lib/
return self.resolve()
File "/usr/lib/
module = __import_
File "/usr/lib/
from keystone.
File "/usr/lib/
from keystone.
File "/usr/lib/
import xmldsig
ImportError: No module named xmldsig
This is due to the new location for xmldsig module:
xmldsig -> saml2/xmldsig
done in commit [2].
Possible fixes are:
1) require pysaml2 version <3.0.0
2) cherry-pick patch from kesytone master branch with the proper fix [3]
[1] - https:/
[2] - https:/
[3] - https:/
Changed in keystone: | |
assignee: | nobody → Marcos Simental (mrkzmrkz) |
tags: | removed: kilo-backport-potential |
Changed in keystone: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in keystone: | |
milestone: | none → liberty-2 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | liberty-2 → 8.0.0 |
Didn't https:/ /review. openstack. org/#/c/ 184598/ fix this?