Keystone returns HTTP 400 as SQLAlchemy raises None exceptions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
With RDO-Icehouse (m2 testday packages) on RHEL-6.5,
negative Tempest identity tests fails as Keystone responds with HTTP 400.
For example test tempest.
> Request: POST http://
> Request Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<Token omitted>'}
> Request Body: {"project": {"enabled": true, "description": null, "name": "project-
> Response Status: 400
> Response Headers: {'content-length': '143', 'date': 'Tue, 04 Feb 2014 07:47:53 GMT', 'content-type': 'application/json', 'vary': 'X-Auth-Token', 'connection': 'close'}
> Response Body: {"error": {"message": "exceptions must be old-style classes or derived from BaseException, not NoneType", "code": 400, "title": "Bad Request"}}
In keystone.log the exception can be seen as
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
> keystone.
Deployed with packstack, no related configuration changes.
Installed packages:
> openstack-
> python-
> python-
> python-
> python-
> python-libs.x86_64 2.6.6-51.el6
This is NOT reproducible on Fedora20 with versions:
> openstack-
> python-
> python-
> python-
> python-
> python-libs.x86_64 2.7.5-9.fc20
Neither it happened on Fedora19/20 or RHEL-6.5 with devstack/tempest master branches.
This seems as related to eventlet/tpool etc issues, here with SQLAlchemy.
For example like https:/
Changed in keystone: | |
status: | New → Incomplete |
keystone.log
APIv2 deprecation warnings filtered out with: filtered. log
> cat keystone.log | grep -v 'Deprecated: v2 API is deprecated as of Icehouse in favor of v3 API and may be removed in K.' > keystone_