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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1775170

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

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to