← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1383676] [NEW] endless loop when deleting region

 

Public bug reported:

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?

** Affects: keystone
     Importance: Undecided
     Assignee: wanghong (w-wanghong)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => wanghong (w-wanghong)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1383676

Title:
  endless loop when deleting region

Status in OpenStack Identity (Keystone):
  New

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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1383676/+subscriptions


Follow ups

References