Troubleshooting
The GCP Console has a Logs Explorer interface in which you can view the cloud function logs related to the WEKA cluster activities, such as when scaling instances up or down. In addition, the cluster state file retained in the cloud storage provides you with the status of the operations in the WEKA project.
Typical troubleshooting flow if the resize cloud function does not resize the cluster
Open the cluster state file and check that the
desired_sizeis as expected and theclusterizedvalue istrue. The cluster state file is in the cloud storage, and its name comprises theprefixandcluster_nameprovided in the terraform variables file.Check the scale-up workflow (or scale-down workflow). Check the function that didn't work and its related logs in the Logs Explorer of the GCP Console.