<div dir="ltr">It looks like a problem with the opennebula-sunstone package:<div><br></div><div><span style="font-family:arial,sans-serif;font-size:13px">Issue #2482 has been updated by Bill Campbell.</span><ul style="font-family:arial,sans-serif;font-size:13px">
</ul><p style="font-family:arial,sans-serif;font-size:13px">As an aside, I was able to solve this problem by purging and reinstalling the 4.4 beta sunstone package. Maybe some residual left over from the previous version?</p>
<p style="font-family:arial,sans-serif;font-size:13px">Could you check if this solves the problem?</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 21 November 2013 15:47, Michael <span dir="ltr"><<a href="mailto:michael@onlinefusion.co.uk" target="_blank">michael@onlinefusion.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Ach, sent a reply before checking and
finding your response.<br>
<br>
Upgraded from <br>
CentOS-6-opennebula-4.2.0-1<br>
to<br>
CentOS-6-opennebula-4.3.85-1<br>
Via rpm last night.<span class="HOEnZb"><font color="#888888"><br>
<br>
-Michael</font></span><div><div class="h5"><br>
<br>
On 21/11/2013 14:34, Daniel Molina wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Lets try to find out the problem:</div>
* Could you send the whole stack trace, you will get it if the
dev tools are opened when the error occurs.
<div> * From what version did you upgrade?</div>
<div> * how did you upgrade packages, source?</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 21 November 2013 13:15, Michael <span dir="ltr"><<a href="mailto:michael@onlinefusion.co.uk" target="_blank">michael@onlinefusion.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi Daniel,<br>
<br>
Cleared the cache and I'm now getting (Also get this in
other browsers I tried before clearing the cache):<br>
<br>
<span>Uncaught
TypeError: Property 'numeric-' of object
#<Object> is not a function</span><span> </span><span>jquery.dataTables.min.js:84</span><br>
<br>
The dashboard now does not have graphs, Virtual
machines, templates, hosts, datastores show as empty (No
data available in table), Images are all still there and
can be seen on all of the browsers.<br>
<br>
onetemplate list on the control panel command line shows
all of the templates.<br>
onevm list on the control panel also shows all running
VM.<br>
onedatastore list also shows all of the datastores
correctly.<br>
<br>
Ran a fsck on the onedb (MySQL) and it came back fine,
restarted openenbula and sunstone without errors.<br>
<br>
oned logs<br>
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo invoked, -2, -1, -1, -1<br>
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0
VirtualMachinePoolInfo result SUCCESS,
"<VM_POOL><VM><ID>190..."<br>
<br>
When I tail -f on it while checking the VM tab which is
empty, sunstone logs nothing erroneous.<span><font color="#888888"><br>
<br>
-Michael</font></span>
<div>
<div><br>
<br>
On 21/11/2013 11:52, Daniel Molina wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr"><br>
<div class="gmail_extra">
<div class="gmail_quote">On 21 November 2013
12:43, Michael <span dir="ltr"><<a href="mailto:michael@onlinefusion.co.uk" target="_blank">michael@onlinefusion.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Thanks Daniel,<br>
<br>
I've disabled oneflow for now, enabled
it when I was looking around to see what
might be the problem and forgot I had
(I'll look at setting that up later).<br>
<br>
On opening openenbula sunstone I'm
getting a lot of JQMIGRATE warnings.<br>
<div><span><span>JQMIGRATE: Logging is
active</span> <span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:20</span></span></div>
<div> <span><span>JQMIGRATE:
jQuery.fn.live() is deprecated</span>
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:39</span></span></div>
<div>
<ol style="list-style-type:none;margin:0px;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span>console.trace()
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:41</span></span></li>
</ol>
</div>
<div> <span><span>JQMIGRATE:
jQuery.fn.attr('selected') may use
property instead of attribute</span>
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:39</span></span></div>
<div>
<ol style="list-style-type:none;margin:0px;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span>console.trace()
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:41</span></span></li>
</ol>
</div>
<div> <span><span>JQMIGRATE:
jQuery.fn.attr('checked') may use
property instead of attribute</span>
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:39</span></span></div>
<div>
<ol style="list-style-type:none;margin:0px;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span>console.trace()
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:41</span></span></li>
</ol>
</div>
<div> <span><span>JQMIGRATE:
jQuery.fn.die() is deprecated</span>
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:39</span></span></div>
<div>
<ol style="list-style-type:none;margin:0px;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span>console.trace()
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:41</span></span></li>
</ol>
</div>
<div> <span><span>JQMIGRATE:
jQuery.fn.toggle(handler,
handler...) is deprecated</span> <span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-migrate-1.1.0.js:39</span></span></div>
<div>
<ol style="list-style-type:none;margin:0px;outline:none;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span>console.trace()
</span></li>
</ol>
</div>
<br>
On opening a template I get nothing and
"No data available in table" in Storage,
Network and Scheduling. On clicking
refresh or on the empty table it throws
a:<br>
<br>
<div>
<div>
<div style="clear:right;border-top-width:1px;border-top-style:solid;border-top-color:rgb(240,240,240);padding:1px 22px 1px 0px;margin-left:24px;min-height:16px;display:-webkit-flex">
<ol style="list-style-type:none;margin:0px;padding-left:0px;font-size:inherit;line-height:12px">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word"><span><span>Uncaught
TypeError: Cannot read
property '4' of null</span>
<span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">templates-tab.js:1620</span></span></li>
<ol style="margin:0px;min-width:100%;list-style-type:none;font-size:inherit;line-height:12px;display:block;padding:0px 0px 0px 12px!important">
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word">
<div><span>(anonymous
function)</span><span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">templates-tab.js:1620</span></div>
</li>
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word">
<div><span>b.event.dispatch</span><span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-1.9.1.min.js:3</span></div>
</li>
<li title="" style="padding:0px 0px 0px 14px;margin-top:1px;word-wrap:break-word">
<div><span>v.handle</span><span style="float:right;text-align:right;max-width:100%;margin-left:4px;color:rgb(84,84,84)">jquery-1.9.1.min.js:3</span></div>
<span><font color="#888888">
</font></span></li>
<span><font color="#888888"> </font></span>
</ol>
<span><font color="#888888"> </font></span>
</ol>
<span><font color="#888888"> </font></span></div>
<span><font color="#888888"> </font></span></div>
<span><font color="#888888"> </font></span></div>
<span><font color="#888888"> <span><br>
</span><br>
</font></span></div>
</div>
</blockquote>
<div><br>
</div>
<div>It seems the browser has cached the
templates-tab.js file and you are using the
old 4.2 template-tab.js:</div>
<div><a href="https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620" target="_blank">https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620</a><br>
</div>
<div><br>
</div>
<div>Could you try clearing the browser cache
or using an incognito window?</div>
<div><br>
</div>
<div>In the final one-4.4 cache issues will be
fixed, I have included this commit to fix
it:</div>
<div> <a href="http://dev.opennebula.org/issues/2308" target="_blank">http://dev.opennebula.org/issues/2308</a><br>
</div>
<div><br>
</div>
<div>Cheers</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div><span><font color="#888888"> -Michael</font></span>
<div>
<div><br>
<br>
On 21/11/2013 11:11, Daniel Molina
wrote:<br>
</div>
</div>
</div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">Hi Michael,
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On 20
November 2013 20:50, Michael <span dir="ltr"><<a href="mailto:michael@onlinefusion.co.uk" target="_blank">michael@onlinefusion.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
Upgraded to latest 4.4 beta
2 and I'm now unable to
manage templates, can see
Images/Networks/Datastores
fine in their respective
panels but the ajax that
pulls in the data for
selection on a template
seems to be broken.<br>
Also getting a "Failed to
load resource: the server
responded with a status of
503 (Service Unavailable) <a href="http://#ip_address%23:9869/service_template?timeout=true" target="_blank">http://#ip_address#:9869/service_template?timeout=true</a>"
periodically in the console
log, any info I've found so
far doesn't seem to apply as
otherwise oned seems to be
running fine.<br>
</blockquote>
<div><br>
</div>
<div>Do you get any error in
the browser console when:</div>
<div> * you open the template
wizard</div>
<div> * sunstone is loaded the
first time</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Sunstone log has "[OneFlow]
Error connecting to server
(Connection refused -
connect(2)). Server:
localhost:2474" but the only
info on that I can find
tells me I need to start
"one" <a href="http://opennebula.org/documentation:community:faq#i_get_a_connection_refused_-_connect_2_error_what_is_the_problem" target="_blank">http://opennebula.org/documentation:community:faq#i_get_a_connection_refused_-_connect_2_error_what_is_the_problem</a>
and check ONE_XMLRPC but
looking at the
one_xmlrpc.log it seems to
be running fine.<br>
<br>
Any ideas?<br>
</blockquote>
<div><br>
</div>
<div>You have to start the
oneflow-server, sunstone is
trying to connect to
localhost:2474 to retrieve
the OneFlow resources.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Thanks,<br>
-Michael<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>--<br>
</div>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - Flexible
Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a>
| <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a>
| @OpenNebula</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>--<br>
</div>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made
Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> |
@OpenNebula</div>
</div>
</div>
</blockquote>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr">
<div>--<br>
</div>
Daniel Molina<br>
Project Engineer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div>
</blockquote>
<br>
</div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><div>--<br></div>Daniel Molina<br>Project Engineer<br>OpenNebula - Flexible Enterprise Cloud Made Simple<br><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org" target="_blank">dmolina@opennebula.org</a> | @OpenNebula</div>
</div>