Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Daniel Molina
Hi Michael,


On 20 November 2013 20:50, Michael mich...@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;
 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@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 | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Daniel Molina
Hi Bill,


On 20 November 2013 21:40, Campbell, Bill bcampb...@axcess-financial.comwrote:

 This seems similar to issues I'm having, but I don't see log entries (just
 empty data).  I'm submitting a bug report


Any error message in the browser console?

Cheers



 -Original Message-
 From: users-boun...@lists.opennebula.org
 [mailto:users-boun...@lists.opennebula.org] On Behalf Of Michael
 Sent: Wednesday, November 20, 2013 2:51 PM
 To: users@lists.opennebula.org
 Subject: [one-users] Template: Cannot select storage, network, schedule
 servers Cannot read property '4' of null - 4.4 beta 2

 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; 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.

 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_refus
 ed_-_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?

 Thanks,
 -Michael
 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
 NOTICE: Protect the information in this message in accordance with the
 company's security policies. If you received this message in error,
 immediately notify the sender and destroy all copies.
 ___
 Users mailing list
 Users@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 | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Daniel Molina
On 21 November 2013 12:43, Michael mich...@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 mich...@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; 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_problemand
  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@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 | dmol...@opennebula.org | @OpenNebula





-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

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_POOLVMID190...


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 mich...@onlinefusion.co.uk 
mailto:mich...@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 mich...@onlinefusion.co.uk
mailto:mich...@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@lists.opennebula.org mailto:Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org




-- 
--

Daniel Molina
Project 

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

Ach, sent a reply before checking and finding your response.

Upgraded from
CentOS-6-opennebula-4.2.0-1
to
CentOS-6-opennebula-4.3.85-1
Via rpm last night.

-Michael

On 21/11/2013 14:34, Daniel Molina wrote:

Lets try to find out the problem:
  * Could you send the whole stack trace, you will get it if the dev 
tools are opened when the error occurs.

  * From what version did you upgrade?
  * how did you upgrade packages, source?


On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk 
mailto:mich...@onlinefusion.co.uk wrote:


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_POOLVMID190...

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 mich...@onlinefusion.co.uk
mailto:mich...@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
mich...@onlinefusion.co.uk
mailto:mich...@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

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael

Ok,

Looking at it in firebug and it looks like the JSON response is fine on 
all pages where content does not display. It's just the JS that's not 
parsing the returned data correctly.


GET user?timeout=false

200 OK

31ms


Response

{
  VM_POOL: {
VM: [
  {
DEPLOY_ID: one-190,

. complete JSON


--

Console error.

1. Uncaught TypeError: Property 'numeric-' of object #Object is not a
   function jquery.dataTables.min.js:84
1.
   (anonymous function)jquery.dataTables.min.js:84
2.
   Ojquery.dataTables.min.js:84
3.
   aajquery.dataTables.min.js:42
4.
   fnAddDatajquery.dataTables.min.js:99
5.
   updateViewsunstone-util.js:233
6.
   updateGroupsViewgroups-tab.js:527
7.
   $.ajax.successopennebula.js:853
8.
   cjquery-1.9.1.min.js:3
9.
   p.fireWithjquery-1.9.1.min.js:3
   10.
   kjquery-1.9.1.min.js:5
   11.
   rjquery-1.9.1.min.js:5
   12.
   handleStateChangefirebug-lite.js:18917


--

This is installed from the 4.3.85-1.x86_64 RPM packages.

-Michael

On 21/11/2013 12:15, Michael wrote:

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_POOLVMID190...


When I tail -f on it while checking the VM tab which is empty, 
sunstone logs nothing erroneous.


-Michael


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Daniel Molina
Lets try to find out the problem:
  * Could you send the whole stack trace, you will get it if the dev tools
are opened when the error occurs.
  * From what version did you upgrade?
  * how did you upgrade packages, source?


On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk wrote:

  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
 function jquery.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_POOLVMID190...

 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 mich...@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 mich...@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; 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_problemand
  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@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 | dmol...@opennebula.org | @OpenNebula





  --
  --
  Daniel Molina
 Project 

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Michael
Thanks Daniel and Bill, confirming that removing the opennebula-sunstone 
rpm only with -e and reinstalling, then clearing all browser cache has 
got it working again.


-Michael

On 21/11/2013 15:18, Daniel Molina wrote:

It looks like a problem with the opennebula-sunstone package:

Issue #2482 has been updated by Bill Campbell.

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?


Could you check if this solves the problem?



On 21 November 2013 15:47, Michael mich...@onlinefusion.co.uk 
mailto:mich...@onlinefusion.co.uk wrote:


Ach, sent a reply before checking and finding your response.

Upgraded from
CentOS-6-opennebula-4.2.0-1
to
CentOS-6-opennebula-4.3.85-1
Via rpm last night.

-Michael


On 21/11/2013 14:34, Daniel Molina wrote:

Lets try to find out the problem:
  * Could you send the whole stack trace, you will get it if the
dev tools are opened when the error occurs.
  * From what version did you upgrade?
  * how did you upgrade packages, source?


On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk
mailto:mich...@onlinefusion.co.uk wrote:

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_POOLVMID190...

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
mich...@onlinefusion.co.uk
mailto:mich...@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:

  

Re: [one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-21 Thread Daniel Molina
It looks like a problem with the opennebula-sunstone package:

Issue #2482 has been updated by Bill Campbell.


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?

Could you check if this solves the problem?


On 21 November 2013 15:47, Michael mich...@onlinefusion.co.uk wrote:

  Ach, sent a reply before checking and finding your response.

 Upgraded from
 CentOS-6-opennebula-4.2.0-1
 to
 CentOS-6-opennebula-4.3.85-1
 Via rpm last night.

 -Michael


 On 21/11/2013 14:34, Daniel Molina wrote:

  Lets try to find out the problem:
   * Could you send the whole stack trace, you will get it if the dev tools
 are opened when the error occurs.
   * From what version did you upgrade?
   * how did you upgrade packages, source?


 On 21 November 2013 13:15, Michael mich...@onlinefusion.co.uk wrote:

  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
 function jquery.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_POOLVMID190...

 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 mich...@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 mich...@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; 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
 

[one-users] Template: Cannot select storage, network, schedule servers Cannot read property '4' of null - 4.4 beta 2

2013-11-20 Thread Michael

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; 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.


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?

Thanks,
-Michael
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org