No Statistics in XOA after Rebooting our XCP-NG Nodes
-
Hi there!
We have updated our XCP-NG Nodes and now we've no statistics in our XOA-Gui from the Time before the Update:
Is this normal and how can we prevent this?
-
If you did an upgrade via ISO, it probably wiped the RRD database on the host, so it's "normal" to lose the previous data.
Data isn't stored in XO but on the host.
-
@olivierlambert said in No Statistics in XOA after Rebooting our XCP-NG Nodes:
If you did an upgrade via ISO, it probably wiped the RRD database on the host, so it's "normal" to lose the previous data.
Data isn't stored in XO but on the host.
Okay, I've looked on the host but I can't find any *.rrd-Files on the XOA Host nore on any XCP-NG Node.
We've installed the XOA-Version from vatesfr /
xen-orchestra and updated our XCP-NG Nodes lastly. Now we've the problem, that we can't see any Statistics from the time before the update of the Nodes.When I do an 'journalctl -u xo-server -f -n 2000' on our XOA-Installation I can see the following:
[16:26:40][root@xoa-installation:~]$ journalctl -u xo-server -f -n 2000 -- Logs begin at Tue 2020-04-14 01:20:46 CEST. -- Apr 14 02:12:33 xoa-installation xo-server[657]: _watchEvents { Error: socket hang up Apr 14 02:12:33 xoa-installation xo-server[657]: at createHangUpError (_http_client.js:332:15) Apr 14 02:12:33 xoa-installation xo-server[657]: at TLSSocket.socketOnEnd (_http_client.js:435:23) Apr 14 02:12:33 xoa-installation xo-server[657]: at TLSSocket.apply (events.js:203:15) Apr 14 02:12:33 xoa-installation xo-server[657]: at TLSSocket.patchedEmit [as emit] (/home/xoa-build/xen-orchestra/@xen-orchestra/log/src/configure.js:95:17) Apr 14 02:12:33 xoa-installation xo-server[657]: at endReadableNT (_stream_readable.js:1145:12) Apr 14 02:12:33 xoa-installation xo-server[657]: at process._tickCallback (internal/process/next_tick.js:63:19) Apr 14 02:12:33 xoa-installation xo-server[657]: code: 'ECONNRESET', Apr 14 02:12:33 xoa-installation xo-server[657]: url: 'https://192.168.0.25/jsonrpc', Apr 14 02:12:33 xoa-installation xo-server[657]: call: Apr 14 02:12:33 xoa-installation xo-server[657]: { method: 'event.from', Apr 14 02:12:33 xoa-installation xo-server[657]: params: Apr 14 02:12:33 xoa-installation xo-server[657]: [ [Array], '00000000000302450462,00000000000302449388', 60.1 ] } } Apr 14 02:13:51 xoa-installation xo-server[657]: _watchEvents { Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:51 xoa-installation xo-server[657]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14) Apr 14 02:13:51 xoa-installation xo-server[657]: errno: 'EHOSTUNREACH', Apr 14 02:13:51 xoa-installation xo-server[657]: code: 'EHOSTUNREACH', Apr 14 02:13:51 xoa-installation xo-server[657]: syscall: 'connect', Apr 14 02:13:51 xoa-installation xo-server[657]: address: '192.168.0.25', Apr 14 02:13:51 xoa-installation xo-server[657]: port: 443, Apr 14 02:13:51 xoa-installation xo-server[657]: url: 'https://192.168.0.25/jsonrpc', Apr 14 02:13:51 xoa-installation xo-server[657]: call: Apr 14 02:13:51 xoa-installation xo-server[657]: { method: 'event.from', Apr 14 02:13:51 xoa-installation xo-server[657]: params: Apr 14 02:13:51 xoa-installation xo-server[657]: [ [Array], '00000000000302450462,00000000000302449388', 60.1 ] } } Apr 14 02:13:51 xoa-installation xo-server[657]: 2020-04-14T00:13:51.109Z xo:api WARN root | pool.listMissingPatches(...) [35s] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:51 xoa-installation xo-server[657]: 2020-04-14T00:13:51.110Z xo:api WARN root | pool.listMissingPatches(...) [33s] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:54 xoa-installation xo-server[657]: 2020-04-14T00:13:54.949Z xo:api WARN root | pool.listMissingPatches(...) [18s] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:54 xoa-installation xo-server[657]: 2020-04-14T00:13:54.949Z xo:api WARN root | pool.listMissingPatches(...) [32s] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:56 xoa-installation xo-server[657]: 2020-04-14T00:13:56.573Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:56 xoa-installation xo-server[657]: 2020-04-14T00:13:56.576Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:56 xoa-installation xo-server[657]: 2020-04-14T00:13:56.578Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:13:56 xoa-installation xo-server[657]: 2020-04-14T00:13:56.581Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:00 xoa-installation xo-server[657]: 2020-04-14T00:14:00.307Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:00 xoa-installation xo-server[657]: 2020-04-14T00:14:00.310Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.582Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.586Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.599Z xo:api WARN root | pool.listMissingPatches(...) [12ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.601Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.738Z xo:main INFO - WebSocket connection (::ffff:127.0.0.1) Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.762Z xo:main INFO + WebSocket connection (::ffff:127.0.0.1) Apr 14 02:14:01 xoa-installation xo-server[657]: 2020-04-14T00:14:01.996Z xo:main INFO - WebSocket connection (::ffff:127.0.0.1) Apr 14 02:14:02 xoa-installation xo-server[657]: 2020-04-14T00:14:02.809Z xo:main INFO + WebSocket connection (::ffff:127.0.0.1) Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.323Z xo:api WARN root | pool.listMissingPatches(...) [1ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.357Z xo:api WARN root | pool.listMissingPatches(...) [32ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.385Z xo:api WARN root | pool.listMissingPatches(...) [13ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.400Z xo:api WARN root | pool.listMissingPatches(...) [14ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.415Z xo:api WARN root | pool.listMissingPatches(...) [14ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.421Z xo:api WARN root | pool.listMissingPatches(...) [4ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:03 xoa-installation xo-server[657]: 2020-04-14T00:14:03.909Z xo:api WARN root | pool.listMissingPatches(...) [34s] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 . . . Apr 14 02:14:48 xoa-installation xo-server[657]: 2020-04-14T00:14:48.987Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:50 xoa-installation xo-server[657]: 2020-04-14T00:14:50.997Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:51 xoa-installation xo-server[657]: 2020-04-14T00:14:51.988Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:52 xoa-installation xo-server[657]: 2020-04-14T00:14:52.990Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:52 xoa-installation xo-server[657]: 2020-04-14T00:14:52.993Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:53 xoa-installation xo-server[657]: 2020-04-14T00:14:53.002Z xo:api WARN root | pool.listMissingPatches(...) [8ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:53 xoa-installation xo-server[657]: 2020-04-14T00:14:53.004Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:53 xoa-installation xo-server[657]: 2020-04-14T00:14:53.007Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:54 xoa-installation xo-server[657]: _watchEvents { Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:54 xoa-installation xo-server[657]: at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1107:14) Apr 14 02:14:54 xoa-installation xo-server[657]: errno: 'EHOSTUNREACH', Apr 14 02:14:54 xoa-installation xo-server[657]: code: 'EHOSTUNREACH', Apr 14 02:14:54 xoa-installation xo-server[657]: syscall: 'connect', Apr 14 02:14:54 xoa-installation xo-server[657]: address: '192.168.0.25', Apr 14 02:14:54 xoa-installation xo-server[657]: port: 443, Apr 14 02:14:54 xoa-installation xo-server[657]: url: 'https://192.168.0.25/jsonrpc', Apr 14 02:14:54 xoa-installation xo-server[657]: call: Apr 14 02:14:54 xoa-installation xo-server[657]: { method: 'event.from', Apr 14 02:14:54 xoa-installation xo-server[657]: params: Apr 14 02:14:54 xoa-installation xo-server[657]: [ [Array], '00000000000302450462,00000000000302449388', 60.1 ] } } Apr 14 02:14:54 xoa-installation xo-server[657]: 2020-04-14T00:14:54.991Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:56 xoa-installation xo-server[657]: 2020-04-14T00:14:56.998Z xo:api WARN root | pool.listMissingPatches(...) [1ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:57 xoa-installation xo-server[657]: 2020-04-14T00:14:57.993Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:58 xoa-installation xo-server[657]: 2020-04-14T00:14:58.993Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:59 xoa-installation xo-server[657]: 2020-04-14T00:14:59.003Z xo:api WARN root | pool.listMissingPatches(...) [9ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:59 xoa-installation xo-server[657]: 2020-04-14T00:14:59.006Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:59 xoa-installation xo-server[657]: 2020-04-14T00:14:59.009Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:14:59 xoa-installation xo-server[657]: 2020-04-14T00:14:59.012Z xo:api WARN root | pool.listMissingPatches(...) [2ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 Apr 14 02:15:00 xoa-installation xo-server[657]: 2020-04-14T00:15:00.993Z xo:api WARN root | pool.listMissingPatches(...) [3ms] =!> Error: connect EHOSTUNREACH 192.168.0.25:443 . .
Is there a possibility to get the graphs back in XOA again?
Thanks for your help. -
It's not RRD files directly that way. It's stored in the database if I remember correctly.
So this is something related to your XCP-ng nodes, not related to XO.
-
@olivierlambert said in No Statistics in XOA after Rebooting our XCP-NG Nodes:
It's not RRD files directly that way. It's stored in the database if I remember correctly.
So this is something related to your XCP-ng nodes, not related to XO.
Hm, okay. But what do I have to configure in my XCP-NG nodes to get it working? Or is it better to open an Topic in Management or Installation for this task?
-
Nothing. You should have the stats visible in live (post-upgrade). That's it.
If you don't, it might be because your nodes are behind a NAT.