← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1426611] Re: Serial Console has Error during Template Rendering

 

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

** Changed in: horizon
    Milestone: None => kilo-3

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

Title:
  Serial Console has Error during Template Rendering

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  The Serial Console was introduced in https://review.openstack.org/#/c/144659/ .
  An error condition in an instance causes an exception to be thrown when the instance for the given id cannot be found. The result is that the Serial Console tries to display the error, but instead gets a screen that says: "Error during template rendering". "'horizon is not a registered namespace." The error is on line 9 of serial_console.html, which reads:

  <script src="{% url 'horizon:jsi18n' 'horizon' %}"></script>

  The error occurs because this line is missing from the file:

  {% load url from future %}

  For a picture of the condition, see:
  https://dl.dropboxusercontent.com/u/27291375/work/seral_console_error.PNG

  (It is easy to see why this is happening. It's harder to understand
  why it EVER works.)

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


References