Reviewed:  https://review.openstack.org/265797
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=f767b641e8aecc4e1102f5241b9ede4b0ac46d9c
Submitter: Jenkins
Branch:    master

commit f767b641e8aecc4e1102f5241b9ede4b0ac46d9c
Author: Einar Forselv <ei...@zetta.io>
Date:   Mon Jan 11 13:07:28 2016 +0100

    Missing 'region' in service and 'name' in endpoint for EndpointFilterCatalog
    
    EndpointFilterCatalog should return a catalog consistent with the normal
    v3 catalog. This means that a service will return the 'region' property
    (same as 'region_id') for backwards compatibility. In addition each
    endpoint will return its name.
    
    Change-Id: I0f1a337dae1ee2f910d34c14624854a3c9f06358
    Closes-Bug: 1532768


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1532768

Title:
  Missing service 'region' and endpoint name for EndpointFilterCatalog

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  This is similar to :
  https://bugs.launchpad.net/keystone/+bug/1410543 : Include service name in 
filtered catalog
  (Work has been done to  collapse the catalog drivers into a single driver, 
but the progress on this has been fairly slow lately)

  This bug is meant as a quick fix to get endpoint filtering to work and
  be consistent with the normal v3 catalog.

  The current EndpointFilterCatalog are missing the following to be consistent 
with the normal v3 catalog :
  * EndpointFilterCatalog only returns 'region_id'. The normal v3 catalog also 
includes 'region' for backwards compatibility. The vast amount of tools still 
use 'region' and will fail unless it's present.
  * EndpointFilterCatalog doesn't include the endpoint's name.

  EndpointFilterCatalog currently returns the following :

  'endpoints': [{
                
'url':'https://objects.zetta.io:8443/v1/AUTH_d67f3235ece449ecaf8a9f731ca9a10c', 
                'interface': 'public',         
                'region_id': 'no-osl1',
                'id': u'6513c4a646594292a3f8cdf65a0882f3'
        }], 
        'type': 'object-store',
        'id': '7a806e12a8644d7ea67e6e4f4c287fec'
  }, 

  Normal v3 catalog returns the following

  'endpoints': [{
                'url': 
'https://objects.zetta.io:8443/v1/AUTH_d67f3235ece449ecaf8a9f731ca9a10c', 
                'interface': 'public',         
                'region_id': 'no-osl1',
                'region': 'no-osl1',
                'id': u'6513c4a646594292a3f8cdf65a0882f3'
        }], 
        'type': 'object-store',
        'name': 'swift',
        'id': '7a806e12a8644d7ea67e6e4f4c287fec'
  },

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to