K2K: 'NoneType' object has no attribute 'check_output'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Low
|
Jamie Lennox |
Bug Description
When messing with keystone 2 keystone I was getting 500 Errors telling me that the signing process was failing when generating ECP assertions. When i looked into it i found it was because the federation/idp.py was being imported before the code had the chance to do a environment.
After this because of the overly generic exception handler around signing [2] this was being reported as a signing failure and a 500 Error.
I was using my own wsgi launcher rather than the /usr/local/
This should no longer be a problem when we remove eventlet as we can remove the environment code for good.
Fixes:
1) You should always use variables from environment as close to the location as possible as these values are late bound.
2) We should make a more specific error handler for the signing process. It really should only have to catch the output of the subprocess.
[1] https:/
[2] https:/
[3] http://
Changed in keystone: | |
importance: | Undecided → Low |
milestone: | none → mitaka-1 |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/251276
Review: https:/