Error rendering _project_list.html
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
David Lyle |
Bug Description
On a fresh DevStack installation, I'm never able to login with either admin or demo account. The landing page breaks with the following message:
-------
Error during template rendering
In template /opt/stack/
Reverse for ''switch_tenants'' with arguments '(u'8e34c787db6
-------
The page cites the error location content as : <a href="{% url 'switch_tenants' project.id %}?next={{ dashboard_url }}">
The error is generated from django's defaulttags.py in render, line 426. The django error is as follows:
-------
NoReverseMatch at /project/
Reverse for ''switch_tenants'' with arguments '(u'8e34c787db6
Request Method: GET
Request URL: http://
Django Version: 1.4.13
Exception Type: NoReverseMatch
Exception Value:
Reverse for ''switch_tenants'' with arguments '(u'8e34c787db6
Exception Location: /usr/lib/
Python Executable: /usr/bin/python
-------
Changed in horizon: | |
importance: | Undecided → Medium |
milestone: | none → juno-rc1 |
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | juno-rc1 → 2014.2 |
I have the same error after a fresh installation. I get:
2014-09-22 13:54:47.380 | ' /opt/devstack/ local.conf local.sh ]] DIR=/opt/ stack/status status/ stack ]] status/ stack/* .failure'
2014-09-22 13:54:47.386 | + [[ -x /opt/devstack/
2014-09-22 13:54:47.386 | + service_check
2014-09-22 13:54:47.386 | + local service
2014-09-22 13:54:47.386 | + local failures
2014-09-22 13:54:47.386 | + SCREEN_NAME=stack
2014-09-22 13:54:47.386 | + SERVICE_
2014-09-22 13:54:47.386 | + [[ ! -d /opt/stack/
2014-09-22 13:54:47.391 | ++ ls '/opt/stack/
2014-09-22 13:54:47.397 | ++ /bin/true
2014-09-22 13:54:47.405 | + failures=
2014-09-22 13:54:47.405 | + '[' -n '' ']'
Horizon is now available at http:// 192.168. 3.20/ 192.168. 3.20:5000/ v2.0/
Keystone is serving at http://
Examples on using novaclient command line is in exercise.sh
The default users are: admin and demo
The password: root123
This is your host ip: 192.168.3.20
You are using Q_AGENT_ EXTRA_AGENT_ OPTS to pass configuration into /etc/neutron/ neutron. conf. neutron. conf section in local.conf: EXTRA_AGENT_ OPTS will be removed early in the 'K' development cycle
Please convert that configuration in localrc to a /etc/neutron/
Q_AGENT_
[[post- config| /$Q_PLUGIN_ CONF_FILE] ]
[DEFAULT]
tunnel_types=vxlan
And the Summary says:
2014-09-22 13:33:40.649 | stack.sh log /opt/stack/ logs/stack. sh.log. 2014-09- 22-133340 EXTRA_AGENT_ OPTS is used
2014-09-22 13:33:40.649 | Installing package prerequisites
2014-09-22 13:36:22.189 | Installing OpenStack project source
2014-09-22 13:42:46.487 | Installing Tempest
2014-09-22 13:42:52.897 | Starting rsyslog
2014-09-22 13:42:53.061 | Starting RabbitMQ
2014-09-22 13:42:55.129 | Configuring and starting MySQL
2014-09-22 13:42:56.512 | Enabling MySQL query logging
2014-09-22 13:43:04.050 | Starting Keystone
2014-09-22 13:47:52.041 | Configuring and starting Horizon
2014-09-22 13:48:10.208 | Configuring Glance
2014-09-22 13:48:14.246 | Configuring Neutron
2014-09-22 13:48:36.876 | Configuring Swift
2014-09-22 13:48:51.807 | Configuring Cinder
2014-09-22 13:48:56.620 | Configuring Nova
2014-09-22 13:49:20.498 | Starting Swift
2014-09-22 13:50:00.687 | Starting Glance
2014-09-22 13:50:10.762 | Uploading images
2014-09-22 13:50:34.074 | Starting Nova API
2014-09-22 13:50:41.272 | Starting Neutron
2014-09-22 13:51:00.288 | Creating initial neutron network elements
2014-09-22 13:51:25.614 | Starting Nova
2014-09-22 13:51:52.421 | Starting Cinder
2014-09-22 13:52:16.423 | Configuring Heat
2014-09-22 13:52:20.530 | Starting Heat
2014-09-22 13:54:17.119 | Initializing Tempest
2014-09-22 13:54:47.433 | WARNING: Q_AGENT_
2014-09-22 13:54:47.433 | stack.sh completed in 1281 seconds.
But still have the same error message:
NoReverseMatch at /admin/ b45b6aeccc58f4a 4e862f' ,)' and keyword arguments '{}' not found. 192.168. 3.20/admin/ b45b6aeccc58f4a 4e862f' ,)' and keyword arguments '{}' not found. python2. 6/site- packages/ django/ template/ defaul. ..
Reverse for ''switch_tenants'' with arguments '(u'01bea6d9e59
Request Method: GET
Request URL: http://
Django Version: 1.4.13
Exception Type: NoReverseMatch
Exception Value:
Reverse for ''switch_tenants'' with arguments '(u'01bea6d9e59
Exception Location: /usr/lib/