Error when trying to access /infrastructure/nodes/

Bug #1334256 reported by Ana Krivokapić
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tuskar-ui
Won't Fix
Critical
Tzu-Mainn Chen

Bug Description

Brand new devtest installation. Upon navigating to /infrastructure/nodes/, I get this traceback:

Error while rendering table rows.
Traceback (most recent call last):
  File "/opt/stack/horizon/horizon/tables/base.py", line 1595, in get_rows
    row = self._meta.row_class(self, datum)
  File "/opt/stack/horizon/horizon/tables/base.py", line 482, in __init__
    self.load_cells()
  File "/opt/stack/horizon/horizon/tables/base.py", line 508, in load_cells
    cell = table._meta.cell_class(datum, column, self)
  File "/opt/stack/horizon/horizon/tables/base.py", line 605, in __init__
    self.data = self.get_data(datum, column, row)
  File "/opt/stack/horizon/horizon/tables/base.py", line 643, in get_data
    data = column.get_data(datum)
  File "/opt/stack/horizon/horizon/tables/base.py", line 337, in get_data
    data = self.get_raw_data(datum)
  File "/opt/stack/horizon/horizon/tables/base.py", line 307, in get_raw_data
    data = self.transform(datum)
  File "/opt/stack/tuskar-ui/tuskar_ui/infrastructure/nodes/tables.py", line 114, in <lambda>
    lambda node: api.tuskar.OvercloudRole.get_by_node(node).name,
  File "/opt/stack/tuskar-ui/tuskar_ui/handle_errors.py", line 67, in wrapper
    redirect=_error_redirect)
  File "/opt/stack/tuskar-ui/tuskar_ui/handle_errors.py", line 62, in wrapper
    return func(*args, **kwargs)
TypeError: get_by_node() takes exactly 3 arguments (2 given)

Changed in tuskar-ui:
assignee: nobody → Tzu-Mainn Chen (tzumainn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tuskar-ui (master)

Fix proposed to branch: master
Review: https://review.openstack.org/102679

Changed in tuskar-ui:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tuskar-ui (master)

Reviewed: https://review.openstack.org/102679
Committed: https://git.openstack.org/cgit/openstack/tuskar-ui/commit/?id=ceaf259e44b2b2cc0234e3a79da3a6cf9455377b
Submitter: Jenkins
Branch: master

commit ceaf259e44b2b2cc0234e3a79da3a6cf9455377b
Author: Tzu-Mainn Chen <email address hidden>
Date: Thu Jun 26 02:37:33 2014 +0200

    Corrects table display of a node's role

    Change-Id: I1a37b22ed4d8a856d4be337748565eef30de44e7
    Closes-Bug: #1334256

Changed in tuskar-ui:
status: In Progress → Fix Committed
Dougal Matthews (d0ugal)
Changed in tuskar-ui:
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.