[Openstack] OverflowError: cannot convert float infinity to integer

mad Engineer themadengin33r at gmail.com
Thu Jan 15 03:43:35 UTC 2015


Hello All,
             Dashboard was working fine ,strangely after a failed
instance resize and removing that instance,(instance-resize directory
was till there) dashboard is returning http error code 500.

error log shows: OverflowError: cannot convert float infinity to integer

using icehouse on centos6.6.

[Thu Jan 15 03:41:34 2015] [error] Internal Server Error: /dashboard/project/
[Thu Jan 15 03:41:34 2015] [error] Traceback (most recent call last):
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line
134, in get_response
[Thu Jan 15 03:41:34 2015] [error]     response = response.render()
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/response.py", line
104, in render
[Thu Jan 15 03:41:34 2015] [error]     self._set_content(self.rendered_content)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/response.py", line
81, in rendered_content
[Thu Jan 15 03:41:34 2015] [error]     content = template.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 140,
in render
[Thu Jan 15 03:41:34 2015] [error]     return self._render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 134,
in _render
[Thu Jan 15 03:41:34 2015] [error]     return self.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 123, in render
[Thu Jan 15 03:41:34 2015] [error]     return compiled_parent._render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 134,
in _render
[Thu Jan 15 03:41:34 2015] [error]     return self.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 62, in render
[Thu Jan 15 03:41:34 2015] [error]     result = block.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 123, in render
[Thu Jan 15 03:41:34 2015] [error]     return compiled_parent._render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 134,
in _render
[Thu Jan 15 03:41:34 2015] [error]     return self.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 62, in render
[Thu Jan 15 03:41:34 2015] [error]     result = block.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 62, in render
[Thu Jan 15 03:41:34 2015] [error]     result = block.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 62, in render
[Thu Jan 15 03:41:34 2015] [error]     result = block.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 155, in render
[Thu Jan 15 03:41:34 2015] [error]     return
self.render_template(self.template, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/loader_tags.py",
line 137, in render_template
[Thu Jan 15 03:41:34 2015] [error]     output = template.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 140,
in render
[Thu Jan 15 03:41:34 2015] [error]     return self._render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 134,
in _render
[Thu Jan 15 03:41:34 2015] [error]     return self.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/defaulttags.py",
line 460, in render
[Thu Jan 15 03:41:34 2015] [error]     return str(int(round(ratio)))
[Thu Jan 15 03:41:34 2015] [error] OverflowError: cannot convert float
infinity to integer
[Thu Jan 15 03:41:34 2015] [error]     output = template.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 140,
in render
[Thu Jan 15 03:41:34 2015] [error]     return self._render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 134,
in _render
[Thu Jan 15 03:41:34 2015] [error]     return self.nodelist.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 823,
in render
[Thu Jan 15 03:41:34 2015] [error]     bit = self.render_node(node, context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/base.py", line 837,
in render_node
[Thu Jan 15 03:41:34 2015] [error]     return node.render(context)
[Thu Jan 15 03:41:34 2015] [error]   File
"/usr/lib/python2.6/site-packages/django/template/defaulttags.py",
line 460, in render
[Thu Jan 15 03:41:34 2015] [error]     return str(int(round(ratio)))
[Thu Jan 15 03:41:34 2015] [error] OverflowError: cannot convert float
infinity to integer




More information about the Openstack mailing list