Gravity may report cluster status as expanding even after completely uninstalling the failed node and the process was dead.
Run the following command:
It will bring back the cluster to active status and the node's status will be offline now.
Run the following command to remove the node:
gravity remove <node> --force
Replace <node> with the node to be removed.
Run the following command to verify the cluster status.
Cluster status should be active with the faulty node removed.