Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

CIRCLE / cloud

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 94
  • Merge Requests 10
  • Pipelines
  • Wiki
  • Snippets
  • Members
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Closed
Open
Issue #79 opened Feb 17, 2014 by Őry Máté@orymate 
  • Report abuse
  • New issue
Report abuse New issue

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'
  • Guba Sándor @gubasandor commented Feb 18, 2014
    Owner

    fixed in 4cbe87c7

    fixed in 4cbe87c74
  • Guba Sándor @gubasandor

    Status changed to closed

    Feb 18, 2014

    Status changed to closed

    Status changed to closed
    Toggle commit list
  • Guba Sándor @gubasandor

    mentioned in issue #76 (closed)

    Feb 18, 2014

    mentioned in issue #76 (closed)

    mentioned in issue #76
    Toggle commit list
  • Kálmán Viktor @kviktor

    Status changed to reopened

    Feb 19, 2014

    Status changed to reopened

    Status changed to reopened
    Toggle commit list
  • Guba Sándor @gubasandor

    Status changed to closed by commit 66c1cf

    Feb 19, 2014

    Status changed to closed by commit 66c1cf

    Status changed to closed by commit 66c1cf
    Toggle commit list
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment
Assignee
Assign to
Pilot deploy
Milestone
Pilot deploy
Assign milestone
Time tracking
None
Due date
No due date
1
Labels
defect
Assign labels
  • View labels
3
3 participants
Reference: circle/cloud#79