← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1950659] Re: horizon always assumes keystone admin endpoint is configured

 

Reviewed:  https://review.opendev.org/c/openstack/horizon/+/835172
Committed: https://opendev.org/openstack/horizon/commit/35a490f4ec734156d8573d43d7ac3225379433c7
Submitter: "Zuul (22348)"
Branch:    master

commit 35a490f4ec734156d8573d43d7ac3225379433c7
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date:   Fri Mar 25 14:08:17 2022 +0900

    Do not assume keystone admin endpoint
    
    keystone does not distinguish public and admin endpoints since
    Train [1], so there is no need to use a separate endpoint for
    keystone admin operations. admin endpoint still can be configured
    but there is no functional difference anymore from other endpoints.
    We do not need to require admin endpoint and can use an endpoint
    specified by OPENSTACK_ENDPOINT_TYPE for all API operations.
    
    This commit reverts commit f9bab3fe195eb13635aa70cb910d94df98d66cf3
    as we no longer need the workaround.
    
    [1] https://review.opendev.org/c/openstack/keystone/+/664246
    
    Closes-Bug: #1950659
    Change-Id: I2660fd2df8081e1d2d9c84626037f94bd9d137a5


** Changed in: horizon
       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/1950659

Title:
  horizon always assumes keystone admin endpoint is configured

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Some horizon integration tests[1]  start failing after devstack stops
  creating default keystone admin endpoint[2].

  (amotoki)
  horizon always assume keystone admin endpoint is configured. Otherwise horizon does not work. keystone does not distinguish public and admin endpoints anymore after Train
  and there is no functional difference from other endpoints.
  There is no need that horizon requires 'admin' endpoint is configured.
  It is better to use OPENSTACK_ENDPOINT_TYPE setting (which defaults to 'publicURL') for all operations.

  [1] https://paste.openstack.org/show/810942/
  [2] https://review.opendev.org/c/openstack/devstack/+/777345

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



References