← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339382] Re: horizon ignores region for identity

 

** Changed in: horizon
       Status: Fix Committed => 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/1339382

Title:
  horizon ignores region for identity

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  In our setup we have multiple regions with an identity endpoint in
  each. For some reason Horizon ignores regions for idenity and just
  returns the first one in the list.

  in openstack_dashboard/api/base.py
  def get_url_for_service(service, region, endpoint_type):
      identity_version = get_version_from_service(service)
      for endpoint in service['endpoints']:
          # ignore region for identity
          if service['type'] == 'identity' or region == endpoint['region']:
              try:
  ...

  This causes the openrc file generation to include the first identity
  endpoint always and it always shows the first one in the endpoint
  list.

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


References