project delete returns 501 NotImplemented with templated catalog
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Sam Morrison | ||
Mitaka |
Fix Released
|
High
|
Sam Morrison |
Bug Description
Have upgraded to Mitaka and getting a 501 when deleting a project. This happens in both v2 and v3 api. The project actually deletes.
Am using stable/mitaka branch and the sql backend
$ keystone tenant-create --name deleteme
+------
| Property | Value |
+------
| description | |
| enabled | True |
| id | 5fafe2512fb3404
| name | deleteme |
+------
$ keystone tenant-delete 5fafe2512fb3404
The action you have requested has not been implemented. (HTTP 501) (Request-ID: req-7ad5ee51-
$ keystone tenant-get 5fafe2512fb3404
No tenant with a name or ID of '5fafe2512fb340
In logs:
2016-05-09 12:06:40.265 16723 WARNING keystone.
2016-05-09 12:06:40.269 16723 INFO eventlet.
summary: |
- project delete returns 501 NotImplemented + project delete returns 501 NotImplemented with templated catalog |
Changed in keystone: | |
milestone: | none → newton-2 |
importance: | Undecided → High |
I have tracked it down to a call in keystone/ resource/ core.py under the _post_delete_ cleanup_ project
The culprit is:
notifications. Audit.deleted( self._PROJECT, project_id, initiator)
Commenting out this line fixes it.
I haven't configured any notifications so maybe this is why the NotImplemented is thrown?