← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1846245] [NEW] Relocating flavors panel to a different dashboard via Pluggable Settings causes TemplateSyntaxError

 

Public bug reported:

Steps to reproduce:

@Openstack Rocky

1 Change PANEL_DASHBOARD = 'admin' to PANEL_DASHBOARD = 'project' in openstack_dashboard/enabled/_2150_admin_flavors_panel.py
2 Log into Horizon. The menu shows up in Project > Compute instead of Admin > Compute
3 Click on the Flavors menu link. 

Result:
=> An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.
=> In the apache log we find:
ERROR horizon.tables.base Error while rendering table rows
{...Stack trace ...} 
TemplateSyntaxError: u'flavors' is not a registered namespace inside 'horizon:admin'

Expected Result:
The flavors panel

i.e. : Logged in with a domain admin account

Full trace: http://paste.openstack.org/show/780567/

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
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/1846245

Title:
  Relocating flavors panel to a different dashboard via Pluggable
  Settings causes TemplateSyntaxError

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:

  @Openstack Rocky

  1 Change PANEL_DASHBOARD = 'admin' to PANEL_DASHBOARD = 'project' in openstack_dashboard/enabled/_2150_admin_flavors_panel.py
  2 Log into Horizon. The menu shows up in Project > Compute instead of Admin > Compute
  3 Click on the Flavors menu link. 

  Result:
  => An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.
  => In the apache log we find:
  ERROR horizon.tables.base Error while rendering table rows
  {...Stack trace ...} 
  TemplateSyntaxError: u'flavors' is not a registered namespace inside 'horizon:admin'

  Expected Result:
  The flavors panel

  i.e. : Logged in with a domain admin account

  Full trace: http://paste.openstack.org/show/780567/

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