From 1e5961f75c176f6256eaa909322fb35c147c6444 Mon Sep 17 00:00:00 2001 From: lidong Date: Thu, 23 Nov 2017 15:24:28 +0800 Subject: [PATCH] Show nodelist in NodesTab of a cluster failed Change-Id: I8c987608041f7fee3d1b4c10b6daf90cb88df109 Closes-Bug: #1733833 --- senlin_dashboard/cluster/clusters/tabs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/senlin_dashboard/cluster/clusters/tabs.py b/senlin_dashboard/cluster/clusters/tabs.py index 515b538f..421af1ff 100644 --- a/senlin_dashboard/cluster/clusters/tabs.py +++ b/senlin_dashboard/cluster/clusters/tabs.py @@ -71,8 +71,9 @@ class NodesTab(tabs.TableTab): def get_nodes_data(self): cluster_id = self.tab_group.kwargs['cluster_id'] try: - cluster_nodes = senlin.node_list(self.request, - cluster_id=cluster_id) + cluster_nodes, self._more, self._prev = senlin.node_list( + self.request, + cluster_id=cluster_id) except Exception: cluster_nodes = [] exceptions.handle(self.request,