← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1339382] Re: horizon ignores region for identity

 

Identity is intended to be global for a region.  Other keystone
endpoints would require re-authentication against that endpoint.
Specifying identity that way is done in local_settings.py.

See:
# For multiple regions uncomment this configuration, and add (endpoint, title).
# AVAILABLE_REGIONS = [
#     ('http://127.0.0.1:5000/v2.0', 'Region 1'),
#     ('http://10.0.2.15:5000/v2.0', 'Region 2'),
# ]

I think you have a configuration problem rather than a bug.

** Changed in: horizon
       Status: New => Invalid

-- 
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):
  Invalid

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