← Back to team overview

yahoo-eng-team team mailing list archive

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

 

Public bug reported:

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.

** Affects: keystone
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to 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 Keystone:
  New

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


Follow ups