← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1723072] [NEW] Better errors when config files are inaccessible

 

Public bug reported:

When Horizon can't access some of its configuration files, it ignores
them and falls back to the default settings instead of raising any
errors. Unfortunately, since the default settings don't allow
connections from any hosts, this results in a very confusing "Error 400"
message, which is very hard to debug (it's raised by Django itself very
early in the processing of the request).

Also, it's easy to miss the fact that some of the files are ignored due
to wrong permissions.

We should really think about crashing with an explicit error in such a
situation, or at least logging an error in the log files.

** Affects: horizon
     Importance: Wishlist
         Status: New

** Changed in: horizon
   Importance: Undecided => Wishlist

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

Title:
  Better errors when config files are inaccessible

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When Horizon can't access some of its configuration files, it ignores
  them and falls back to the default settings instead of raising any
  errors. Unfortunately, since the default settings don't allow
  connections from any hosts, this results in a very confusing "Error
  400" message, which is very hard to debug (it's raised by Django
  itself very early in the processing of the request).

  Also, it's easy to miss the fact that some of the files are ignored
  due to wrong permissions.

  We should really think about crashing with an explicit error in such a
  situation, or at least logging an error in the log files.

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