← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1271235] [NEW] User Defined Regions not supported

 

Public bug reported:

According to the API Spec, we should be able to create a region with a specific id:
https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#create-region-with-specific-id-put-regionsuser_defined_region_id

I don't believe this will work with the code I'm seeing at: 
https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L150

A unique id is assigned everytime.

Also, looking at the tests that were submitted with the code drop, there were not tests for user defined ids:
https://review.openstack.org/#/c/63570/7/keystone/tests/test_v3_catalog.py

** Affects: keystone
     Importance: Undecided
         Status: Triaged

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

Title:
  User Defined Regions not supported

Status in OpenStack Identity (Keystone):
  Triaged

Bug description:
  According to the API Spec, we should be able to create a region with a specific id:
  https://github.com/openstack/identity-api/blob/master/openstack-identity-api/v3/src/markdown/identity-api-v3.md#create-region-with-specific-id-put-regionsuser_defined_region_id

  I don't believe this will work with the code I'm seeing at: 
  https://github.com/openstack/keystone/blob/master/keystone/catalog/controllers.py#L150

  A unique id is assigned everytime.

  Also, looking at the tests that were submitted with the code drop, there were not tests for user defined ids:
  https://review.openstack.org/#/c/63570/7/keystone/tests/test_v3_catalog.py

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


Follow ups

References