Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Create a new dashboard Error

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 manage.py 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 "manage.py", line 23, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 354, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", line 346, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 394, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python2.7/site-packages/django/core/management/base.py", line 445, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python2.7/site-packages/horizon/management/commands/startdash.py", line 50, in handle
    options["extensions"].extend(["tmpl", "html", "js", "css"])
KeyError: 'extensions'

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