← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1496725] [NEW] Trace when display event tabs in heat section

 

Public bug reported:

python-heatclient-0.6.0-1.el7.noarch
python-django-appconf-0.6-1.el7.noarch
python-django-1.8.3-1.el7.noarch
python-django-compressor-1.4-3.el7.noarch
python-django-horizon-2015.1.0-7.el7.noarch
python-django-bash-completion-1.8.3-1.el7.noarch
python-django-pyscss-1.0.5-2.el7.noarch
python-django-openstack-auth-1.2.0-4.el7.noarch


2015-09-17 07:31:13,120 10568 ERROR django.request Internal Server Error: /dashboard/project/stacks/stack/ff039c79-26cf-4a74-b34a-b059c678e795/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
    return view_func(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
    return handler(request, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 72, in get
    return self.handle_tabbed_response(context["tab_group"], context)
  File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 65, in handle_tabbed_response
    return http.HttpResponse(tab_group.selected.render())
  File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 323, in render
    return render_to_string(self.get_template_name(self.request), context)
  File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 99, in render_to_string
    return template.render(context, request)
  File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
    output = self.filter_expression.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
    obj = self.var.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 847, in _resolve_lookup
    current = current()
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1276, in render
    return table_template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 576, in render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 576, in render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 56, in render
    result = self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 56, in render
    result = self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 217, in render
    nodelist.append(node.render(context))
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
    output = self.filter_expression.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
    obj = self.var.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 847, in _resolve_lookup
    current = current()
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 603, in render
    {"row": self})
  File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 99, in render_to_string
    return template.render(context, request)
  File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 444, in render
    return strip_spaces_between_tags(self.nodelist.render(context).strip())
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 217, in render
    nodelist.append(node.render(context))
  File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 159, in render
    return template.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 211, in render
    return self._render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 329, in render
    return nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 329, in render
    return nodelist.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
    return node.render(context)
  File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
    output = self.filter_expression.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
    obj = self.var.resolve(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
    value = self._resolve_lookup(context)
  File "/usr/lib/python2.7/site-packages/django/template/base.py", line 825, in _resolve_lookup
    current = getattr(current, bit)
  File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 59, in attr_string
    return flatatt(self.get_final_attrs())
  File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 42, in get_final_attrs
    final_attrs['class'] = self.get_final_css()
  File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 47, in get_final_css
    default = " ".join(self.get_default_classes())
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 786, in get_default_classes
    if not self.url:
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 750, in url
    url = self.column.get_link_url(self.datum)
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 429, in get_link_url
    return self.link(datum)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/stacks/mappings.py", line 121, in resource_to_url
    mapping = resource_urls.get(resource.resource_type, {})
  File "/usr/lib/python2.7/site-packages/heatclient/openstack/common/apiclient/base.py", line 494, in __getattr__
    raise AttributeError(k)
AttributeError: resource_type

** 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/1496725

Title:
  Trace when display event tabs in heat section

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  python-heatclient-0.6.0-1.el7.noarch
  python-django-appconf-0.6-1.el7.noarch
  python-django-1.8.3-1.el7.noarch
  python-django-compressor-1.4-3.el7.noarch
  python-django-horizon-2015.1.0-7.el7.noarch
  python-django-bash-completion-1.8.3-1.el7.noarch
  python-django-pyscss-1.0.5-2.el7.noarch
  python-django-openstack-auth-1.2.0-4.el7.noarch

  
  2015-09-17 07:31:13,120 10568 ERROR django.request Internal Server Error: /dashboard/project/stacks/stack/ff039c79-26cf-4a74-b34a-b059c678e795/
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 132, in get_response
      response = wrapped_callback(request, *callback_args, **callback_kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
      return view_func(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 71, in view
      return self.dispatch(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 89, in dispatch
      return handler(request, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 72, in get
      return self.handle_tabbed_response(context["tab_group"], context)
    File "/usr/lib/python2.7/site-packages/horizon/tabs/views.py", line 65, in handle_tabbed_response
      return http.HttpResponse(tab_group.selected.render())
    File "/usr/lib/python2.7/site-packages/horizon/tabs/base.py", line 323, in render
      return render_to_string(self.get_template_name(self.request), context)
    File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 99, in render_to_string
      return template.render(context, request)
    File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
      return self.template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
      return self._render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
      output = self.filter_expression.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
      obj = self.var.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
      value = self._resolve_lookup(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 847, in _resolve_lookup
      current = current()
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1276, in render
      return table_template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
      return self.template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
      return self._render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 576, in render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 576, in render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 56, in render
      result = self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 56, in render
      result = self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 217, in render
      nodelist.append(node.render(context))
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
      output = self.filter_expression.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
      obj = self.var.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
      value = self._resolve_lookup(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 847, in _resolve_lookup
      current = current()
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 603, in render
      {"row": self})
    File "/usr/lib/python2.7/site-packages/django/template/loader.py", line 99, in render_to_string
      return template.render(context, request)
    File "/usr/lib/python2.7/site-packages/django/template/backends/django.py", line 74, in render
      return self.template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 209, in render
      return self._render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 444, in render
      return strip_spaces_between_tags(self.nodelist.render(context).strip())
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 217, in render
      nodelist.append(node.render(context))
    File "/usr/lib/python2.7/site-packages/django/template/loader_tags.py", line 159, in render
      return template.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 211, in render
      return self._render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 201, in _render
      return self.nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 329, in render
      return nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/defaulttags.py", line 329, in render
      return nodelist.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 903, in render
      bit = self.render_node(node, context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 79, in render_node
      return node.render(context)
    File "/usr/lib/python2.7/site-packages/django/template/debug.py", line 89, in render
      output = self.filter_expression.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 647, in resolve
      obj = self.var.resolve(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 787, in resolve
      value = self._resolve_lookup(context)
    File "/usr/lib/python2.7/site-packages/django/template/base.py", line 825, in _resolve_lookup
      current = getattr(current, bit)
    File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 59, in attr_string
      return flatatt(self.get_final_attrs())
    File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 42, in get_final_attrs
      final_attrs['class'] = self.get_final_css()
    File "/usr/lib/python2.7/site-packages/horizon/utils/html.py", line 47, in get_final_css
      default = " ".join(self.get_default_classes())
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 786, in get_default_classes
      if not self.url:
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 750, in url
      url = self.column.get_link_url(self.datum)
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 429, in get_link_url
      return self.link(datum)
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/stacks/mappings.py", line 121, in resource_to_url
      mapping = resource_urls.get(resource.resource_type, {})
    File "/usr/lib/python2.7/site-packages/heatclient/openstack/common/apiclient/base.py", line 494, in __getattr__
      raise AttributeError(k)
  AttributeError: resource_type

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


Follow ups