Primary node is getting patched and is not able to proceed with the following worker nodes,It has in the screen of upgrade in-progress from more than 60 mins.
The "Schema agreement not reached" error in Cassandra generally occurs when there is a mismatch in the schema between nodes in the cluster. This issue can arise during a schema change, such as when a new column is added or a table is modified, and the nodes in the cluster aren't yet in sync. The runtime.logs shows this exception :"Schema agreement not reached after"
Environment
Aria Operations for Logs. 8.x
Resolution
Revert snapshots without memory for all Aria for logs nodes prior the upgrade.
Start Cassandra to Gradually Bring up the Nodes in Aria Ops for Logs Cluster
Stop Aria Operations for logs Daemon service on all nodes: systemctl stop loginsight
Make sure Aria Operations for logs Daemon Service and Cassandra are stopped systemctl status loginsight
Start Cassandra on each nodes /usr/lib/loginsight/application/sbin/li-cassandra.sh --startnow --force # output is similar to Running LI stop........done Starting Cassandra.....done
Check that all nodes are up and run netstat -tulpn | grep 9042
To check the status of Cassandra run the command below in Aria Operations for Logs primary node. nodetool-no-pass status
If you see that some nodes are not UN status, stop/start cassandra on those nodes /usr/lib/loginsight/application/sbin/li-cassandra.sh --stopnow --force /usr/lib/loginsight/application/sbin/li-cassandra.sh --startnow --force # output is similar to Running LI stop........done Starting Cassandra.....done
Repair Cassandra DB
If all nodes are up (UN status) run repairing on all nodes /usr/lib/loginsight/application/lib/apache-cassandra-x.x.x/bin/nodetool flush /usr/lib/loginsight/application/lib/apache-cassandra-x.x.x/bin/nodetool repair
Once repair is over, stop Cassandra and start vRLI Daemon on each node. Make sure a node is up and running before proceeding to the next one: /usr/lib/loginsight/application/sbin/li-cassandra.sh --stopnow --force systemctl start loginsight
Create new snapshots without memory for all Aria for logs nodes prior try upgrade.