Nos stats problem (but not the know one I guess)
-
@cgasser said in Nos stats problem (but not the know one I guess):
connect ECONNREFUSED 127.0.0.1:443
That's the issue. XO needs to have access to all hosts management IPs, not just the master. I assume you made a tunnel or something specific to make XO connecting to the master. It's not related to 8.2 or 8.3, it's an architecture thing on pools since XCP exists
-
@olivierlambert Hi! No, that is not the case. All servers are in the same rack. Connected to the same switch. Same network (VLAN, IP Range).
XOA runs on the master server. No stats for that server. But stats for another server are ok (just one), all the others are not working.
C
-
Then, there is one machine thinking its management IP is 127.0.0.1
-
@olivierlambert Right. Any idea on how to check and change that? Management interfaces seems to be OK on the hosts. I can access and manage all servers. It seems it is just the stats that are not working. C
-
I would print the result of the command
xe host-param-list uuid=<problematic host UUID>
to see where this localhost IP is set somlewhere. -
@olivierlambert Nothing with 127.0.0.1. Also hostname ( RO): is set correct. I can find some localhost entries. But for license server, etc. C
-
Let's try to grep
127.0.0.1
in the XAPI DB file then -
@olivierlambert Would you mind giving me a hint on where to find that file? C
-
Folder /var/lib/xcp/ file xapi? C
-
If it is the state.db file, then there is no mention of 127.0.0.1.
grep "127.0.0.1" state.db brings nothing no result. C
-
do you have a default backup network set on the advanced tab of the pool view ?
the rrd go through this -
@florent Yes. That was set. We want to run all backups in a dedicated network (VLAN, 10 Gbit, et,c). That network is completely separated.
Does that mean if I use a backup network, I wont get any stats?
Is there any documentation available on that that I can read?BR
C -
@cgasser that means that if you use a backup network, and if your xo(a) can't access this network, the backup will fails, but also the stats .
-
@florent Sure. I get that. But the XOA is part of that network as it needs to make the backups. I can also ping the the IPs. I need to go to the datacenter to do more checks. Don't want to do them by remote as the severs are operational currently. Will keep you updated.
BR
C -
@cgasser
are the backup job running normally (if any ) ?
can you disable temporary the backup network ? the rrd stats should be visible immediately afte if this is the root cause