endless loop when deleting region
Bug #1383676 reported by
wanghong
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
wanghong |
Bug Description
Reproduce:
1. create region A
2. create region B with parent A
3. update the parent of A to B
4. delete A or B
The error message:
{"error": {"message": "An unexpected error prevented the server from fulfilling your request: maximum recursion depth exceeded while getting the str of an object (Disable debug mode to suppress these details.)", "code": 500, "title": "Internal Server Error"}}
I have two solutions:
1. check circle when creating or updating region
2. do not allow the update of `parent_region_id`
I prefer the second one, it is simple enough. Any suggestion?
Changed in keystone: | |
assignee: | nobody → wanghong (w-wanghong) |
Changed in keystone: | |
importance: | Undecided → High |
Changed in keystone: | |
status: | New → Triaged |
tags: | added: juno-backport-potential |
Changed in keystone: | |
milestone: | none → kilo-1 |
Changed in keystone: | |
assignee: | wanghong (w-wanghong) → Morgan Fainberg (mdrnstm) |
Changed in keystone: | |
milestone: | kilo-1 → kilo-2 |
Changed in keystone: | |
assignee: | Morgan Fainberg (mdrnstm) → wanghong (w-wanghong) |
Changed in keystone: | |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-2 → 2015.1.0 |
To post a comment you must log in.
I would vote for the first option and include a circular deletion check as well - basically if you hit the first region in the list you're deleting, break out and perform the deletions.