To resolve this issue:
For VMware Cloud Foundation for Service Providers 2.4.x
- Run the following command to check the status of the Cassandra service
service cassandra status
- Inspect the /var/opt/cassandra/logs/debug.log located on the SDDC Manager Controller VM and identify the corrupted commitLogs.log file name.
less /var/opt/cassandra/logs/debug.log
org.apache.cassandra.db.commitlog.CommitLogReadHandler$CommitLogReadException: Could not read commit log descriptor in file /var/opt/cassandra/data/commitlog/CommitLog-6-1527302840621.log
- Run the following commands to stop the watchdogserver service and the Cassandra service.
/home/vrack/lcm/lcm-app/bin/lcm-watchdogserver.sh stop
service cassandra stop
- Navigate to /var/opt/cassandra/data/commitlog directory and remove the corrupted CommitLog.log file that was identified in Step 2.
cd /var/opt/cassandra/data/commitlog
rm CommitLog-#-######.log
- Run the following commands to start the watchdogserver service and the Cassandra service.
/home/vrack/lcm/lcm-app/bin/lcm-watchdogserver.sh start
service cassandra start
- Repeat Steps 1 to 5 until all corrupted commit logs are deleted and there is no automation of remediating a commit log corruption failure.
- The LCM service will start once there aren't any corrupted CommitLogs.
- If the service does not start successfully, look for more commit log failures and remove the offending commit logs.
For VMware Cloud Foundation Integrated Systems 2.2.x and 2.3.x
- Run the following command to check the status of the Cassandra service
systemctl status cassandra
- Inspect the /opt/vmware/cassandra/apache-cassandra-2.2.4/logs/debug.log located on the SDDC Manager Controller VM and identify the corrupted commitlogs file name..
less /opt/vmware/cassandra/apache-cassandra-2.2.4/logs/debug.log
org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Could not read commit log descriptor in file /opt/vmware/cassandra/apache-cassandra-2.2.4/bin/../data/commitlog/CommitLog-5-1534191227161.log
- Run the following commands to stop the scs service and cassandra service
systemctl stop scs
systemctl stop cassandra
- Navigate to /opt/vmware/cassandra/apache-cassandra-2.2.4/bin/../data/commitlog directory and remove the corrupted CommitLog.log that was identified in step 2.
cd /opt/vmware/cassandra/apache-cassandra-2.2.4/bin/../data/commitlog
rm CommitLog-#-######.log
- Run the following commands to start the scs service and cassandra service
systemctl start scs
systemctl start cassandra
- Repeat Steps 1 to 5 until all corrupted commit logs are deleted and there is no automation of remediating a commit log corruption failure.
- The LCM service will start once there aren't any corrupted CommitLogs.
- If the service does not start successfully, look for more commit log failures and remove the offending commit logs.
For VMware Cloud Foundation Integrated Systems 3.x
- Run the following command to check the status of the Cassandra service
systemctl status cassandra
- Inspect the /var/opt/cassandra/logs/debug.log located on the SDDC Manager Controller VM and identify the corrupted commit logs file name..
less /var/opt/cassandra/logs/debug.log
org.apache.cassandra.db.commitlog.CommitLogReplayer$CommitLogReplayException: Could not read commit log descriptor in file /var/opt/cassandra/data/commitlog/CommitLog-5-1534191227161.log
- Run the following commands to stop the scs service and cassandra service
systemctl stop scs
systemctl stop cassandra
- Navigate to /var/opt/cassandra/data/commitlog/ directory and remove the corrupted CommitLog.log that was identified in step 2.
cd /var/opt/cassandra/data/commitlog/
rm CommitLog-#-######.log
- Run the following commands to start the scs service and cassandra service
systemctl start scs
systemctl start cassandra
- Repeat Steps 1 to 5 until all corrupted commit logs are deleted and there is no automation of remediating a commit log corruption failure.
- The LCM service will start once there aren't any corrupted CommitLogs.
- If the service does not start successfully, look for more commit log failures and remove the offending commit logs.