[Openstack] OverflowError: cannot convert float infinity to integer
mad Engineer
themadengin33r at gmail.com
Thu Feb 12 05:13:30 UTC 2015
Thanks Julie,
From the bug report,it looks like changes are for
nova.py and cinder.py.Will changing these two files fixes this issue or do
i need to make changes in more files.Thanks for your help Julie Pichon.
On Thu, Jan 15, 2015 at 9:59 PM, Julie Pichon <jpichon at redhat.com> wrote:
> On 15/01/15 03:43, mad Engineer wrote:
> > 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.
>
> This looks like [1] or [2], which do have fixes backported to Icehouse
> although not released yet. You should be able to resolve things by
> manually fixing in the database whichever quota value accidentally went
> below 0 for a given "in use" resource (the CLI nova/cinder
> absolute-limits calls should give an idea which value is causing the
> issue).
>
> Cheers,
>
> Julie
>
> [1] https://bugs.launchpad.net/horizon/+bug/1370869
> [2] https://bugs.launchpad.net/horizon/+bug/1386687
>
> > [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
> >
> > _______________________________________________
> > Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> > Post to : openstack at lists.openstack.org
> > Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150212/88c32cd7/attachment.html>
More information about the Openstack
mailing list