region field in 'new_endpoint_ref' is never effective.

Bug #1429576 reported by Dave Chen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Won't Fix
Low
Dave Chen

Bug Description

we use 'region' instead of 'region_id' in EP refer for testing.
https://github.com/openstack/keystone/blob/f6c01dd1673b290578e9fff063e27104412ffeda/keystone/tests/unit/test_catalog.py#L158

But we are trying to get region_id from the reference data, so this field and any tests depend on region_id shall never take effective.
https://github.com/openstack/keystone/blob/f6c01dd1673b290578e9fff063e27104412ffeda/keystone/catalog/backends/sql.py#L317

Dave Chen (wei-d-chen)
description: updated
Changed in keystone:
assignee: nobody → Dave Chen (wei-d-chen)
Changed in keystone:
status: New → In Progress
Dave Chen (wei-d-chen)
summary: - region field in new_endpoint_ref is never effective.
+ region field in 'new_endpoint_ref' is never effective.
description: updated
Dolph Mathews (dolph)
tags: added: low-hanging-fruit
Changed in keystone:
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystone (master)

Fix proposed to branch: master
Review: https://review.openstack.org/167534

description: updated
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystone (master)

Change abandoned by Dave Chen (<email address hidden>) on branch: master
Review: https://review.openstack.org/167534

Revision history for this message
Dave Chen (wei-d-chen) wrote :

Since the code base for those testcases have been updated dramatically, the issue is not applied to current code base. So mark it won't fix.

Changed in keystone:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.