Bug 1271433
| Summary: | Horizon fails to load | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Marius Cornea <mcornea> | ||||||
| Component: | rdo-manager | Assignee: | Giulio Fidente <gfidente> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | yeylon <yeylon> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | Liberty | CC: | apevec, dmsimard, gfidente, jtrowbri, mburns, morazi, mrunge, srevivo | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | Liberty | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | openstack-tripleo-heat-templates-0.8.7-1.el7 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2016-03-30 23:02:37 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Matthias, Can we get some help understanding the root cause here? Unfortunately, the traceback does not tell anything useful. First rule, to get a more usable trace would be to enable debug: /etc/openstack-dashboard/local_settings set DEBUG = True and restart httpd Probably unrelated, there has been a rc2 release, which had many bugs fixed. I strongly recommend to test that version. Created attachment 1083298 [details]
debug trace.html
Looks like we are configuring memcached for horizon incorrectly. I verified that if I put a single value for CACHES['LOCATION'] like:
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': '192.0.2.18:11211',
}
}
I was able to get a login page.
Extracting from debug trace what does not work:
CACHES
{'default': {'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
'LOCATION': ['192.0.2.18:11211',
'192.0.2.17:11211',
'192.0.2.19:11211']}}
Notes from IRC: python-django-1.8.4-1.el7.noarch https://docs.djangoproject.com/en/1.8/topics/cache/ <trown> gfidente: confirmed setting .memcached.MemcachedCache allowed it to start with list <gfidente> should be https://review.openstack.org/235418 CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': '127.0.0.1:11211',
}
}
is correct, but be sure to install
python-memcached
Move to modified only when build is done in CBS. |
Created attachment 1082653 [details] horizon traceback Description of problem: I'm running an RDO Manager deployment with 3 ctrls and 1 compute and overcloud Horizon is throwing a 500 error. Version-Release number of selected component (if applicable): python-django-horizon-8.0.0.0-rc1.el7.centos.noarch openstack-dashboard-8.0.0.0-rc1.el7.centos.noarch How reproducible: 100% Steps to Reproduce: 1. Run a deployment with 3 controllers and 1 compute with network isolation 2. Access Horizon on the public VIP Actual results: Something went wrong! screen Expected results: Login prompt shows up Additional info: Attaching tracebak.