Cassandra service keeps crashing on the Primary node.Observe the following errors in the /storage/core/loginsight/var/runtime.log :
ERROR AES [Decryption failed. Encryption key version:2]
javax.crypto.BadPaddingException: Error finalising cipher data: pad block corrupted
at com.vmware.loginsight.commons.security.AES.decrypt(AES.java:103)
at com.vmware.loginsight.config.VIDBAuthenticationConfig.clientSecret(VIDBAuthenticationConfig.java:170)
at com.vmware.loginsight.aaa.vidb.VIDBConfigurationHolder.configureInternal(VIDBConfigurationHolder.java:117)
at com.vmware.loginsight.daemon.DaemonCommandsHandler.onCassandraInitialized(DaemonCommandsHandler.java:1156)
FATAL LogInsightDaemon [Error starting services]
java.lang.IllegalArgumentException: Invalid arguments
at com.vmware.loginsight.aaa.vidb.VIDBOAuthClient.getInstance(VIDBOAuthClient.java:34)
VCF Operations for Logs 9.0.2
This issue occurs because the cluster generated a new internal encryption key upon completing the upgrade to 9.0.2.0200. When the configuration was saved, it failed to re-encrypt with this new key, resulting in a Failed to update configs error. Consequently, stored secrets—including the VCF SSO client secret, VCF Operations integration password, and vCenter credentials—remain encrypted with the old key and cannot be decrypted by the new one.
To resolve this issue and allow the node to successfully decrypt the secrets and reconnect to the cluster, perform the following steps:
VCF Operations UI.Fleet Management > Identity & Access.SSO Overview option, go to VCF Other Components (Log Component) and copy the Client ID / Client Secret.Configuration > Authentication > VCF SSO, re-enter the client secret copied from step 3, and save the configuration.SSH connection to the affected primary node.loginsight service by running the following command:service loginsight restartservice loginsight status
nodetool-no-pass status