← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1356053] Re: Doesn't properly get keystone endpoint when Keystone is configured to use templated catalog

 

Reviewed:  https://review.openstack.org/135489
Committed: https://git.openstack.org/cgit/openstack/tempest/commit/?id=6189b0a69505a3a97fc559113694b3b5a6816257
Submitter: Jenkins
Branch:    master

commit 6189b0a69505a3a97fc559113694b3b5a6816257
Author: Telles Nobrega <tellesmvn@xxxxxxxxxxxxxxx>
Date:   Tue Nov 18 23:22:17 2014 -0300

    Replacing data_processing with data-processing
    
    Changing data_processing with data-processing where needed to match the
    new defined endpoint of Sahara.
    
    Co-Authored-By: Sergey Reshetnyak <sreshetniak@xxxxxxxxxxxx>
    Co-Authored-By: Yaroslav Lobankov <ylobankov@xxxxxxxxxxxx>
    
    Closes-Bug: #1356053
    
    Change-Id: Iba45c15ed57d43a11e6fac74d75d6b2db46f6a2f


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

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

Title:
  Doesn't properly get keystone endpoint when Keystone is configured to
  use templated catalog

Status in devstack:
  In Progress
Status in heat:
  Fix Released
Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in Python client library for Sahara:
  Fix Released
Status in Sahara:
  Fix Released
Status in tempest:
  Fix Released

Bug description:
  When using the keystone static catalog file to register endpoints (http://docs.openstack.org/developer/keystone/configuration.html#file-based-service-catalog-templated-catalog), an endpoint registered (correctly) as catalog.region.data_processing.... gets read as "data-processing" by keystone.
  Thus, when Sahara looks for an endpoint, it is unable to find one for data_processing.

  This causes a problem with the commandline interface and the
  dashboard.

  Keystone seems to be converting underscores to dashes here:
  https://github.com/openstack/keystone/blob/master/keystone/catalog/backends/templated.py#L47

  modifying this line to not perform the replacement seems to work fine
  for me, but may have unintended consequences.

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