[one-users] Template: Cannot select storage, network, schedule servers "Cannot read property '4' of null" - 4.4 beta 2
Michael
michael at onlinefusion.co.uk
Thu Nov 21 04:15:24 PST 2013
Hi Daniel,
Cleared the cache and I'm now getting (Also get this in other browsers I
tried before clearing the cache):
Uncaught TypeError: Property 'numeric-' of object #<Object> is not a
functionjquery.dataTables.min.js:84
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.
onetemplate list on the control panel command line shows all of the
templates.
onevm list on the control panel also shows all running VM.
onedatastore list also shows all of the datastores correctly.
Ran a fsck on the onedb (MySQL) and it came back fine, restarted
openenbula and sunstone without errors.
oned logs
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 VirtualMachinePoolInfo
invoked, -2, -1, -1, -1
Thu Nov 21 12:13:34 2013 [ReM][D]: Req:9040 UID:0 VirtualMachinePoolInfo
result SUCCESS, "<VM_POOL><VM><ID>190..."
When I tail -f on it while checking the VM tab which is empty, sunstone
logs nothing erroneous.
-Michael
On 21/11/2013 11:52, Daniel Molina wrote:
>
> On 21 November 2013 12:43, Michael <michael at onlinefusion.co.uk
> <mailto:michael at onlinefusion.co.uk>> wrote:
>
> Thanks Daniel,
>
> 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).
>
> On opening openenbula sunstone I'm getting a lot of JQMIGRATE
> warnings.
> JQMIGRATE: Logging is active jquery-migrate-1.1.0.js:20
> JQMIGRATE: jQuery.fn.live() is deprecated jquery-migrate-1.1.0.js:39
>
> 1. console.trace() jquery-migrate-1.1.0.js:41
>
> JQMIGRATE: jQuery.fn.attr('selected') may use property instead of
> attribute jquery-migrate-1.1.0.js:39
>
> 1. console.trace() jquery-migrate-1.1.0.js:41
>
> JQMIGRATE: jQuery.fn.attr('checked') may use property instead of
> attribute jquery-migrate-1.1.0.js:39
>
> 1. console.trace() jquery-migrate-1.1.0.js:41
>
> JQMIGRATE: jQuery.fn.die() is deprecated jquery-migrate-1.1.0.js:39
>
> 1. console.trace() jquery-migrate-1.1.0.js:41
>
> JQMIGRATE: jQuery.fn.toggle(handler, handler...) is deprecated
> jquery-migrate-1.1.0.js:39
>
> 1. console.trace()
>
>
> 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:
>
> 1. Uncaught TypeError: Cannot read property '4' of null
> templates-tab.js:1620
> 1.
> (anonymous function)templates-tab.js:1620
> 2.
> b.event.dispatchjquery-1.9.1.min.js:3
> 3.
> v.handlejquery-1.9.1.min.js:3
>
>
>
>
> It seems the browser has cached the templates-tab.js file and you are
> using the old 4.2 template-tab.js:
> https://github.com/OpenNebula/one/blob/release-4.2/src/sunstone/public/js/plugins/templates-tab.js#L1620
>
> Could you try clearing the browser cache or using an incognito window?
>
> In the final one-4.4 cache issues will be fixed, I have included this
> commit to fix it:
> http://dev.opennebula.org/issues/2308
>
> Cheers
>
> -Michael
>
>
> On 21/11/2013 11:11, Daniel Molina wrote:
>> Hi Michael,
>>
>>
>> On 20 November 2013 20:50, Michael <michael at onlinefusion.co.uk
>> <mailto:michael at onlinefusion.co.uk>> wrote:
>>
>> Hi,
>>
>> 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.
>> Also getting a "Failed to load resource: the server responded
>> with a status of 503 (Service Unavailable)
>> http://#ip_address#:9869/service_template?timeout=true
>> <http://#ip_address%23:9869/service_template?timeout=true>"
>> 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.
>>
>>
>> Do you get any error in the browser console when:
>> * you open the template wizard
>> * sunstone is loaded the first time
>>
>>
>> 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"
>> http://opennebula.org/documentation:community:faq#i_get_a_connection_refused_-_connect_2_error_what_is_the_problem
>> and check ONE_XMLRPC but looking at the one_xmlrpc.log it
>> seems to be running fine.
>>
>> Any ideas?
>>
>>
>> You have to start the oneflow-server, sunstone is trying to
>> connect to localhost:2474 to retrieve the OneFlow resources.
>>
>>
>> Thanks,
>> -Michael
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org <mailto:Users at lists.opennebula.org>
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>>
>>
>> --
>> --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org <http://www.OpenNebula.org> |
>> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula
>
>
>
>
> --
> --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org <http://www.OpenNebula.org> |
> dmolina at opennebula.org <mailto:dmolina at opennebula.org> | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131121/459353ee/attachment-0002.htm>
More information about the Users
mailing list