← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1283904] Re: create_region_with_id with duplicate id raise 500 Internal Server Error

 

Reviewed:  https://review.openstack.org/84732
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=856f7df76f2b0232d1e7bc7234db8d2e5593341f
Submitter: Jenkins
Branch:    milestone-proposed

commit 856f7df76f2b0232d1e7bc7234db8d2e5593341f
Author: ruichen <kiwik.chenrui@xxxxxxxxxx>
Date:   Mon Feb 24 17:39:09 2014 +0800

    Fix create_region_with_id raise 500 Error bug
    
    1. add sql.handle_conflicts wrapper in sql backend driver.
    2. check duplicate region id in kvs backend driver.
    3. add 2 test cases to check exception.Conflict when create duplicate id region.
    
    Closes-Bug: #1283904
    
    Change-Id: Icfc5edf661501a5c134f324a76824812dbda2760


** Changed in: keystone
       Status: Fix Committed => Fix Released

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

Title:
  create_region_with_id with duplicate id raise 500 Internal Server
  Error

Status in OpenStack Identity (Keystone):
  Fix Released

Bug description:
  Create region with duplicate id raise 500 Internal Server Error

  No handle sql conflicts In catalog sql driver.

  {
      "error": {
          "message": "An unexpected error prevented the server from fulfilling your request. None",
          "code": 500,
          "title": "Internal Server Error"
      }
  }

  No check duplicate id in catalog kvs driver.

  New region will override old one in catalog kvs driver.

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


References