Ask Your Question

Create a new dashboard Error

asked 2016-01-17 05:24:30 -0500

anonymous user


Hi there. I've just installed an rdo openstack kilo. Then I wanted to create a new dashboard by command line.

[root@ops001 ~]# cd /usr/share/openstack-dashboard
[root@ops001 openstack-dashboard]# python startdash testdashboard --target openstack_dashboard/dashboards/testdashboard
WARNING:root:"dashboards" and "default_dashboard" in (local_)settings is DEPRECATED now and may be unsupported in some future release. The preferred way to specify the order of dashboards and the default dashboard is the pluggable dashboard mechanism (in /usr/share/openstack-dashboard/openstack_dashboard/enabled, /usr/share/openstack-dashboard/openstack_dashboard/local/enabled).
Traceback (most recent call last):
  File "", line 23, in <module>
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 354, in execute_from_command_line
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 346, in execute
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/site-packages/django/core/management/", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/site-packages/horizon/management/commands/", line 50, in handle
    options["extensions"].extend(["tmpl", "html", "js", "css"])
KeyError: 'extensions'

I couldn't fix the problem. Who can help?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-04-21 04:28:54 -0500

solodok gravatar image

This is not the answer

edit flag offensive delete link more

answered 2016-03-01 01:15:42 -0500

mrunge gravatar image

IIRC, that code for creating a new dashboard is has been broken around that time. Nobody really uses it, that's the main issue, so we (Horizon upstream) don't get a feedback on this, sorry. You may have better luck with using '--dashboard=<dash-python-path>'

as well.

edit flag offensive delete link more



Thomas Li gravatar imageThomas Li ( 2016-04-21 04:30:53 -0500 )edit

I do not think this is the answer. May be you can provide some hints how to generate new Dashboard skeleton? I've the same options["extensions"].extend(["tmpl", "html", "js", "css"]) KeyError: 'extensions' by following (

solodok gravatar imagesolodok ( 2016-04-21 04:32:35 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-01-17 05:24:30 -0500

Seen: 602 times

Last updated: Mar 01 '16