"ERROR [main] 2023-07-03 03:59:44,978 CassandraDaemon.java:911 - Cannot start node if snitch's data center (DC1) differs from previous data center (datacenter1). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_dc=true."
SUMMARY
The CI is breaking with the following error...
https://github.com/ansible-collections/community.cassandra/actions/runs/5440216494/jobs/9892944392
Weirdly this happens only sometimes. with multiple retries the CI can complete successfully. The following fix was applied...
-Dcassandra.ignore_dc=true shoudl be removed at some point, see https://stackoverflow.com/questions/38405983/apache-cassandra-3-7-snitch-issue-cannot-start-data-center
But only for RedHat. This should be applied globally somehow.
ISSUE TYPE
COMPONENT NAME
setup_cassandra