You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from scylla 2026.2, cassandra superuser is no longer created by default on cluster startup.
It is recommended to configure it manually via the maintenance socket.
This commit enables maintenance socket for test dev env and uses it to configure cassandra superuser
as it was done before, so that the remaining codebase does not need to be changed.
Refs scylladb/scylladb#27215
Refs https://scylladb.atlassian.net/wiki/spaces/RND/pages/165773327/Drop+default+cassandra+superuser
# Starting from scylla 2026.2, cassandra superuser is no longer created by default on cluster startup.
139
+
# It is recommended to configure it manually via the maintenance socket.
140
+
# We need to override the default cqlshrc file for TLS deployments, as maintenance socket does not support TLS connections and does not require any form of authentication.
141
+
@$(CQLSH_NODE) /var/lib/scylla/cql.m --cqlshrc=/dev/null -e "CREATE ROLE cassandra WITH PASSWORD = 'cassandra' AND LOGIN = true AND SUPERUSER = true" || true
142
+
@$(SECOND_CQLSH_NODE) /var/lib/scylla/cql.m --cqlshrc=/dev/null -e "CREATE ROLE cassandra WITH PASSWORD = 'cassandra' AND LOGIN = true AND SUPERUSER = true" || true
0 commit comments