Hi
I am writing to report a recurring issue with my Rocky Linux 8 VM on GCP. Since October, my VM has experienced three unexpected freezes. After reviewing the logs, I discovered that two of these incidents were directly caused by Google Cloud SDK updates. As a temporary workaround, I have removed the Google Cloud SDK repository.
However, I am not the only one experiencing this issue. Other users have reported similar problems on the Google Cloud Community (https://www.googlecloudcommunity.com/gc/Infrastructure-Compute-Storage/The-server-freezes-after-an-a...).
This problem is critically impacting my ongoing services and requires immediate attention. I kindly request your assistance in investigating the root cause of these server freezes.
Thanks!
Hi @Emadam,
Welcome to Google Cloud Community!
As mentioned on this thread, The server freezes after an automatic 'Google Cloud SDK' update, If you're experiencing issues like freezing with the Google Cloud SDK, temporarily disabling automatic update checks can help determine if updates are the cause. Use the command gcloud config set component_manager/disable_update_check true
to disable updates, and gcloud config set component_manager/disable_update_check false
to re-enable them.
To manually update the SDK if updates are disabled, you can use gcloud components update --list
. However, it's important to be aware of potential downsides to disabling updates, such as missing out on new features, compatibility issues with newer Google Cloud services, and possible dependency conflicts. Keeping the SDK up to date ensures compatibility with the latest features and resolves issues with outdated dependencies.
Since many users are experiencing similar issues, you may report this problem to Google Cloud Customer Care.. Provide them with all the detailed logs and information you've gathered. This helps them identify the root cause and potentially fix the problem in a future update.
I hope the above information is helpful.