← 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

 

** Also affects: heat
   Importance: Undecided
       Status: New

** Changed in: heat
     Assignee: (unassigned) => Sergey Reshetnyak (sreshetniak)

-- 
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 - openstack dev environments:
  In Progress
Status in Fuel: OpenStack installer that works:
  Confirmed
Status in Orchestration API (Heat):
  In Progress
Status in OpenStack Dashboard (Horizon):
  In Progress
Status in Python client library for Sahara (ex. Savanna):
  Fix Released
Status in OpenStack Data Processing (Sahara):
  In Progress
Status in Tempest:
  In Progress

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