← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1483860] Re: Keystone version discovery is broken if you configure admin_endpoint and public_endpoint in conf file

 

Change was abandoned, no recent activity, and affects Juno (which is
EOL) and Kilo (which is nearing EOL), marking as opinion for now.

** Changed in: keystone
       Status: In Progress => Opinion

** Changed in: keystone
     Assignee: Haneef Ali (haneef) => (unassigned)

-- 
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/1483860

Title:
  Keystone version discovery is broken if you configure admin_endpoint
  and public_endpoint in conf file

Status in OpenStack Identity (keystone):
  Opinion

Bug description:
  Keystone version discovery is broken if you configure  admin_endpoint
  and public_endpoint in conf file.  Version discovery is supposed to
  return the configured endpoint, but it will always return  "admin"
  endpoint.  This bug is in Juno/Kilo/master.  This is only applicable
  for v3

  
  In master
  ----------
  Please have a look at https://github.com/openstack/keystone/blob/master/keystone/service.py#L130

  V3 doesn't have public and admin factories. There is only one factory
  and we are installing  only  Version("public"), so it is always going
  to return public_endpoint configured in  conf file

  Juno
  ------
  In juno it is bit different
  https://github.com/openstack/keystone/blob/stable/juno/keystone/service.py#L114

  We are installing both "Version(Public") and Version("Admin")  at /v3.
  First will take prcedence and here we will always get "admin"
  endpoint.

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


References