← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368361] [NEW] Horizon fails to start if 'exceptions' entry missing from HORIZON_CONFIG

 

Public bug reported:

Steps to reproduce:
1. Copy openstack_dashboard/local/local_settings.py.example to local_settings.py
2. Comment out the 'exceptions' entry of HORIZON_CONFIG  (lines 65-67)
3. Start horizon. It throws a stack trace ending with:

  File "/data/projects/horizon/openstack_dashboard/settings.py", line 308, in <module>
    ], HORIZON_CONFIG, INSTALLED_APPS)
  File "/data/projects/horizon/openstack_dashboard/utils/settings.py", line 120, in update_dashboards
    horizon_config['exceptions'].update(exceptions)
KeyError: 'exceptions'

** Affects: horizon
     Importance: Low
     Assignee: Gary W. Smith (gary-w-smith)
         Status: New


** Tags: horizon-core

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

Title:
  Horizon fails to start if 'exceptions' entry missing from
  HORIZON_CONFIG

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Steps to reproduce:
  1. Copy openstack_dashboard/local/local_settings.py.example to local_settings.py
  2. Comment out the 'exceptions' entry of HORIZON_CONFIG  (lines 65-67)
  3. Start horizon. It throws a stack trace ending with:

    File "/data/projects/horizon/openstack_dashboard/settings.py", line 308, in <module>
      ], HORIZON_CONFIG, INSTALLED_APPS)
    File "/data/projects/horizon/openstack_dashboard/utils/settings.py", line 120, in update_dashboards
      horizon_config['exceptions'].update(exceptions)
  KeyError: 'exceptions'

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


Follow ups

References