[Bug 1775170] Re: [SRU] Fixing empty create swift container dialog after upgrading horizon from newton to ocata

Jared Baker 1775170 at bugs.launchpad.net
Wed Oct 10 19:28:26 UTC 2018


Hey Corey,

I believe I have found the source of my problem with bad javascript
being generated at the compress and collect static stage and it has to
do with whats in my /etc/openstack-dashboard/local_settings.py,
specifically my memcached section. We run 3 controllers and 3 instances
of memcached. If we configure our local_settings.py with the 3 memcached
servers, bad javascript is generated at the compress and collectstatic
stage. If we just use a single memcached server, the javascript
generation is just fine. Any idea why this might be? Is our syntax for
the cache stanza incorrect? There's no examples provided on the
OpenStack site on how multiple memcached servers would look in terms of
syntax. Either way, even the 'bad' stanza as written below seems to work
in our lab (in terms of javascript generation)

GOOD:
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
   'default': {
       'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
       'LOCATION': '172.25.4.17:11211',
   },
}

BAD:
SESSION_ENGINE = 'django.contrib.sessions.backends.cache'
CACHES = {
   'default': {
       'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
       'LOCATION': ['172.25.4.17:11211','172.25.4.18:11211','172.25.4.19:11211'],
   },
}

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1775170

Title:
  [SRU] Fixing empty create swift container dialog after upgrading
  horizon from newton to ocata

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive ocata series:
  Fix Released
Status in horizon package in Ubuntu:
  Invalid

Bug description:
  [Impact]

  After upgrading openstack-dashboard from newton to ocata
  Create Container dialog show us empty dialog.

  I'm sure this is needed for ocata UCA
  but not sure pike or newer version.
  because upgrading 2 steps is not recommended.
  Please let me know if the patch for the other releases are also needed.
  e.g from newton to pike or from xenial to Z A B?

  [Test Case]

  1. deploy newton env with object store
  2. check if create container dialog show us proper contents ( yes )
  3. upgrade newton to coat
  4. check if create container dialog show us proper contents ( no )

  [Regression Potential]
  After this patch, every installing or upgrading try to delete specific directories and files that no need in ocata anymore. affected file are related to newton only but if ocata has changes in that directory, that file also can be deleted. but this case unlikely happens.

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1775170/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list