← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1532768] [NEW] Missing service 'region' and endpoint name for EndpointFilterCatalog

 

Public bug reported:

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'
},

** Affects: keystone
     Importance: Undecided
     Assignee: Einar Forselv (eforselv)
         Status: New

** Changed in: keystone
     Assignee: (unassigned) => Einar Forselv (eforselv)

-- 
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):
  New

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


Follow ups