/storage/core/loginsight/var/runtime.log
see the error Error from server: code=0100 [Bad credentials] message="Provided username lisuper and/or password are incorrect"')})
/usr/lib/loginsight/application/lib/apache-cassandra-*/bin/credentials-look-up
on ssh session as root, we see that worker nodes had the username set to cassandra , this is incorrect the username should be lisuper
. /usr/lib/loginsight/application/lib/apache-cassandra-*/bin/cqlsh-no-pass
on ssh session as root we received an error that the certificate is invalidAria Operations for logs 8.12 and later
Cassandra credentials where changed to a default Cassandra value
Stop vRLI Daemon service on all nodesservice loginsight stop
On the primary node only, edit the cassandra.yaml filevi /storage/core/loginsight/cidata/cassandra/config/cassandra.yaml
Change line authenticator: PasswordAuthenticator
to authenticator: AllowAllAuthenticator
Start Cassandra on all nodes
/usr/lib/loginsight/application/sbin/li-cassandra.sh --startnow --force
Make sure Cassandra is up (Status UN) on all nodes/usr/lib/loginsight/application/lib/apache-cassandra-*/bin/nodetool-no-pass status
Start cqlsh (steps 9 to 15 are on the primary node only)
/usr/lib/loginsight/application/lib/apache-cassandra-*/bin/cqlsh-no-pass
Reset password for lisuper user:
cqlsh> UPDATE system_auth.roles SET salted_hash = '$2a$10$1gMPBy9zSkDzKxdbU2v/gOslcMRPDcXVqmwQYBmi8MVgYvNdRZw/.' WHERE role = 'lisuper';
cqlsh> exit
Generate new config fileli-utility.sh --generate_new_config --force
# example of output
Running LI stop........done
New config file generated: /storage/core/loginsight/config/loginsight-config.xml#104
Open the newly generated config file
vi /storage/core/loginsight/config/loginsight-config.xml#<N>
Note: Replace <N> with the new loginsight-config version number returned in step 10
Find lines referencing cassandra-user and cassandra-password
Example<cassandra-user value="cassandra" />
<cassandra-password value="pass" />
Change cassandra-user value to lisuper<cassandra-user value="lisuper" />
Change cassandra-password value to cassandra<cassandra-password value="cassandra" />
Stop Cassandra on all nodes/usr/lib/loginsight/application/sbin/li-cassandra.sh --stopnow --force
Copy new config file into all other nodes
scp /storage/core/loginsight/config/loginsight-config.xml#<N> 10.1.2.3:/storage/core/loginsight/config/loginsight-config.xml#<N>
Note: Replace <N> with the new loginsight-config version number returned in step 10
Replace 10.1.2.3 with the correct IP address for each node in the cluster
service loginsight start