← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1780974] Re: Horizon broken for multi region setup

 

[Expired for devstack because there has been no activity for 60 days.]

** Changed in: devstack
       Status: Incomplete => Expired

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

Title:
  Horizon broken for multi region setup

Status in devstack:
  Expired
Status in OpenStack Dashboard (Horizon):
  Won't Fix

Bug description:
  Hi,

  Devstack supports multi-region setup according to
  https://docs.openstack.org/devstack/latest/configuration.html#multi-
  region-setup.

  However, when using this setup, with a stable/queens (did not test
  master branch), user may be unable to log into horizon. The following
  message is displayed in /var/log/apache2/horizon_error.log :

  --- snip ---
  2018-07-10 13:06:52.280635 ERROR openstack_auth.backend Using signed cookies as SESSION_ENGINE with OPENSTACK_KEYSTONE_MULTIDOMAIN_SUPPORT is enabled. This disables the ability to perform identity operations due to cookie size constraints.
  --- snip ---

  User can manually change the session engine and the cache backend by
  editing /opt/stack/horizon/openstack_dashboard/settings.py, adding the
  following lines at the end (SESSION_ENGINE may be already being
  defined earlier) and restarting apache

  --- snip ---
  SESSION_ENGINE = 'django.contrib.sessions.backends.cache'

  CACHES = {
      'default': {
          'BACKEND': 'django.core.cache.backends.filebased.FileBasedCache',
          'LOCATION': '/var/tmp/django_cache',
      }
  }
  --- snip ---

  It may be nice that devstack automatically perform this kind of
  configuration (maybe with a better cache backend) when the
  REGION_NAME, KEYSTONE_REGION_NAME, or MULTI_REGION are changed, or at
  least to document it in
  https://docs.openstack.org/devstack/latest/configuration.html#multi-
  region-setup (as it may be hard to detect when a region is added).

  Cheers,

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