<div dir="ltr">Thanks Julie,<div> 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.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jan 15, 2015 at 9:59 PM, Julie Pichon <span dir="ltr"><<a href="mailto:jpichon@redhat.com" target="_blank">jpichon@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15/01/15 03:43, mad Engineer wrote:<br>
> Hello All,<br>
> Dashboard was working fine ,strangely after a failed<br>
> instance resize and removing that instance,(instance-resize directory<br>
> was till there) dashboard is returning http error code 500.<br>
><br>
> error log shows: OverflowError: cannot convert float infinity to integer<br>
><br>
> using icehouse on centos6.6.<br>
<br>
</span>This looks like [1] or [2], which do have fixes backported to Icehouse<br>
although not released yet. You should be able to resolve things by<br>
manually fixing in the database whichever quota value accidentally went<br>
below 0 for a given "in use" resource (the CLI nova/cinder<br>
absolute-limits calls should give an idea which value is causing the issue).<br>
<br>
Cheers,<br>
<br>
Julie<br>
<br>
[1] <a href="https://bugs.launchpad.net/horizon/+bug/1370869" target="_blank">https://bugs.launchpad.net/horizon/+bug/1370869</a><br>
[2] <a href="https://bugs.launchpad.net/horizon/+bug/1386687" target="_blank">https://bugs.launchpad.net/horizon/+bug/1386687</a><br>
<div><div class="h5"><br>
> [Thu Jan 15 03:41:34 2015] [error] Internal Server Error: /dashboard/project/<br>
> [Thu Jan 15 03:41:34 2015] [error] Traceback (most recent call last):<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line<br>
> 134, in get_response<br>
> [Thu Jan 15 03:41:34 2015] [error] response = response.render()<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/response.py", line<br>
> 104, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] self._set_content(self.rendered_content)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/response.py", line<br>
> 81, in rendered_content<br>
> [Thu Jan 15 03:41:34 2015] [error] content = template.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 140,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self._render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134,<br>
> in _render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 123, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return compiled_parent._render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134,<br>
> in _render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 62, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] result = block.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 123, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return compiled_parent._render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134,<br>
> in _render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 62, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] result = block.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 62, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] result = block.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 62, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] result = block.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 155, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return<br>
> self.render_template(self.template, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/loader_tags.py",<br>
> line 137, in render_template<br>
> [Thu Jan 15 03:41:34 2015] [error] output = template.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 140,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self._render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134,<br>
> in _render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/defaulttags.py",<br>
> line 460, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return str(int(round(ratio)))<br>
> [Thu Jan 15 03:41:34 2015] [error] OverflowError: cannot convert float<br>
> infinity to integer<br>
> [Thu Jan 15 03:41:34 2015] [error] output = template.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 140,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self._render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 134,<br>
> in _render<br>
> [Thu Jan 15 03:41:34 2015] [error] return self.nodelist.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 823,<br>
> in render<br>
> [Thu Jan 15 03:41:34 2015] [error] bit = self.render_node(node, context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/base.py", line 837,<br>
> in render_node<br>
> [Thu Jan 15 03:41:34 2015] [error] return node.render(context)<br>
> [Thu Jan 15 03:41:34 2015] [error] File<br>
> "/usr/lib/python2.6/site-packages/django/template/defaulttags.py",<br>
> line 460, in render<br>
> [Thu Jan 15 03:41:34 2015] [error] return str(int(round(ratio)))<br>
> [Thu Jan 15 03:41:34 2015] [error] OverflowError: cannot convert float<br>
> infinity to integer<br>
><br>
</div></div>> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br>
<br>
</blockquote></div><br></div>