Detail
A cluster mysteriously gets a warning for a DC not found:
Nov 17 2022 23:33:32 GMT: WARNING (xdr): (dc_manager.c:735) DC AerospikeSupport not found
Answer
The likely cause is a monitoring script calling the XDR get-stats with the wrong DC :
Example:
Client side:
root@3efbb220f674:/# asinfo -v 'get-stats:context=xdr;dc=AerospikeSupport' ERROR::DC-not-found
Server side for a non-existent DC named AerospikeSupport:
root@3efbb220f674:/# grep 'AerospikeSupport' /var/log/aerospike.log Nov 17 2022 23:33:32 GMT: WARNING (xdr): (dc_manager.c:735) DC AerospikeSupport not found
A possible solution is to identify the rogue script and update the DC name being called.