ScyllaClusters connected into a multi-datacenter cluster with externalSeeds
are registered as separate clusters with Scylla Manager
#2119
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
@Michal-Leszczynski discovered that when we use
externalSeeds
to connect two ScyllaClusters (datacenters) into a single, multi-dc cluster, both ScyllaClusters are being registered with Scylla Manager as separate clusters with distinct IDs by the manager controller. It can be observed e.g. in the e2e test for external seeds: https://github.com/scylladb/scylla-operator/blob/master/test/e2e/set/scyllacluster/scyllacluster_external_seeds.go.It's an issue since it can possibly break some of the operations performed by manager, e.g. the two registered clusters wouldn't be protected from running a backup simultaneously.
We should only register all ScyllaClusters, being part of the same logical cluster, with manager once, and the same ID should be propagated to their statuses.
Since the DCs share a common cluster name, this can most likely be fixed as part of #1902, but we should consider adding a dedicated e2e test verifying that the clusters are indeed only registered once.
/priority important-longterm
/kind bug
/assign
The text was updated successfully, but these errors were encountered: