← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1426611] [NEW] Serial Console has Error during Template Rendering

 

Public bug reported:

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.)

** Affects: horizon
     Importance: Undecided
     Assignee: Randy Bertram (rbertram)
         Status: New

** Changed in: horizon
     Assignee: (unassigned) => Randy Bertram (rbertram)

-- 
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):
  New

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


Follow ups

References