Dashboard throws exception if no nodes are available
File "/home/cloud/circle/circle/dashboard/views.py" in get_context_data
94. 'running': Node.get_state_count(True, True),
File "/home/cloud/circle/circle/vm/models/node.py" in get_state_count
212. if i.online == online])
File "/home/cloud/circle/circle/common/models.py" in x
125. result = method(instance, *args, **kwargs)
File "/home/cloud/circle/circle/vm/models/node.py" in online
61. return self.remote_query(vm_tasks.ping, timeout=1, default=False)
File "/home/cloud/circle/circle/vm/models/node.py" in remote_query
128. queue=self.get_remote_queue_name('vm'), expires=timeout + 60)
File "/home/cloud/circle/circle/common/models.py" in x
125. result = method(instance, *args, **kwargs)
File "/home/cloud/circle/circle/vm/models/node.py" in get_remote_queue_name
117. if vm_tasks.check_queue(self.host.hostname, queue_id):
File "/home/cloud/circle/circle/vm/tasks/vm_tasks.py" in check_queue
10. node_workers = [v for k, v in inspect.active_queues().iteritems()]
Exception Type: AttributeError at /dashboard/
Exception Value: 'NoneType' object has no attribute 'iteritems'
-
Owner
fixed in 4cbe87c7
-
Status changed to closed
Toggle commit list -
-
Status changed to reopened
Toggle commit list -
Status changed to closed by commit 66c1cf
Toggle commit list
Please
register
or
sign in
to comment