← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1325099] Re: Index.html is not correctly created when using startpanel command

 

** Changed in: horizon
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1325099

Title:
  Index.html is not correctly created when using startpanel command

Status in OpenStack Dashboard (Horizon):
  Fix Released
Status in “horizon” package in Ubuntu:
  Invalid

Bug description:
  Bug reason: the index.html generated through  the startpanel command
  is not correct

  Steps to reproduce:

  0) pull latest horizon code
  1) run ./stack
  2) run ./run_tests.sh -m startpanel alarms --dashboard openstack_dashboard.dashboards.admin --target=auto command inside horizon folder in order to create/add a new panel called "alarms" on the dashboard admin section
  3) change the dashboard.py file and add the new panel to the list.
  4) open horizon dashboard within a browser and navigate to admin/alarms panel

  Expected result:
  * a blank panel with the name "Alarms"

  Actual result
  TemplateDoesNotExist at /admin/alarms/
  admin/base.html

  Request Method: 	GET
  Request URL: 	http://localhost/admin/alarms/
  Django Version: 	1.6.5
  Exception Type: 	TemplateDoesNotExist
  Exception Value: 	

  admin/base.html

  Exception Location: 	/usr/local/lib/python2.7/dist-packages/django/template/loader.py in find_template, line 131
  Python Executable: 	/usr/bin/python
  Python Version: 	2.7.3

  Horizon screen logs: http://paste.openstack.org/show/82240/

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1325099/+subscriptions