-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scylla Manager regression in 3.3.2: segmentation fault #4028
Comments
So it looks like it's possible to have cluster without cluster.Host but with cluster.KnownHosts specified:
I'm not sure how it happened. Perhaps the cluster was added with --host, and later on updated without --host flag? |
Commit 5bf6b35 introduced a bug that when adding cluster to SM finished with error, cluster was still saved in SM DB, but only with the ID and known hosts fields. That's because method validateHostsConnectivity used discoverAndSetClusterHosts instead of discoverClusterHosts, which happened before inserting cluster to SM DB. Fixes #4028
The root cause of this issue is that if adding cluster to SM finished with error, cluster was still saved in SM DB, but only with the ID and known hosts fields. That's because method validateHostsConnectivity used discoverAndSetClusterHosts instead of discoverClusterHosts, which happened before inserting cluster to SM DB. Older (created before SM 3.2.6) clusters not updated with --host flag could also end up in the same state. |
Commit 5bf6b35 introduced a bug that when adding cluster to SM finished with error, cluster was still saved in SM DB, but only with the ID and known hosts fields. That's because method validateHostsConnectivity used discoverAndSetClusterHosts instead of discoverClusterHosts, which happened before inserting cluster to SM DB. Fixes #4028
Commit 5bf6b35 introduced a bug that when adding cluster to SM finished with error, cluster was still saved in SM DB, but only with the ID and known hosts fields. That's because method validateHostsConnectivity used discoverAndSetClusterHosts instead of discoverClusterHosts, which happened before inserting cluster to SM DB. Fixes #4028
Scylla Manager throws segmentation faults in both Scylla Operator CI suites involving Scylla Manager.
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel/1833059833171939328
https://gcsweb.scylla-operator.scylladb.com/gcs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel/1833059833171939328/artifacts/must-gather/0/namespaces/scylla-manager/pods/scylla-manager-7fb4d59cfc-lpmtz/scylla-manager.previous
Artifacts: https://gcsweb.scylla-operator.scylladb.com/gcs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel/1833059833171939328/
https://prow.scylla-operator.scylladb.com/view/gs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel-clusterip/1833059833192910848
https://gcsweb.scylla-operator.scylladb.com/gcs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel-clusterip/1833059833192910848/artifacts/must-gather/0/namespaces/scylla-manager/pods/scylla-manager-7fb4d59cfc-f5vw8/scylla-manager.previous
Artifacts: https://gcsweb.scylla-operator.scylladb.com/gcs/scylla-operator-prow/pr-logs/pull/scylladb_scylla-operator/2089/pull-scylla-operator-master-e2e-gke-parallel-clusterip/1833059833192910848/
ScyllaDB Manager version: 3.3.2
ScyllaDB version: tests run with OS 6.1.1 and Enterprise 2024.1.8
ScyllaDB Manager client version: tests run with 3.3.1
With this we can't confirm the supposed fix for #3989 is working either.
Xref: scylladb/scylla-operator#2089 (comment)
The text was updated successfully, but these errors were encountered: