[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-22 (世界標準時間)。"],[],[],null,["# Troubleshoot Google Distributed Cloud update issues\n\nIf you have problems with updating Google Distributed Cloud, the following sections\nmight help you to troubleshoot the issue. For more information on what settings\ncan be updated, see\n[What can and cannot be updated in clusters](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/updating-general).\n\nUpdate timeout\n--------------\n\nThe update timeout is dynamically calculated based on the resources to update.\nHowever, the calculation isn't always accurate. When the update times out,\nerrors similar to the following are displayed:\n\n- In the user cluster:\n\n Failed to update the cluster:...timed out waiting for the condition...\n\n- In the admin cluster:\n\n Failed to update the admin cluster:...timed out waiting for the condition...\n\nThis kind of timeout error can be safely ignored and you can retry the update\ncommand. If you retry the command and it times out again with the same error\nmessage, reach out to\n[Cloud Customer Care](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support).\n\nUpdate contains multiple changes\n--------------------------------\n\nThe `gkectl update admin` and `gkectl update cluster` commands don't allow\nupdating multiple settings in one command. When the config contains a diff with\nmultiple settings being changed, and an error similar to the following example\nis returned: \n\n Update summary for cluster X:\n antiAffinityGroups: enabled to be set to true from false &config.AAGSpec{\n - Enabled: false,\n + Enabled: true,\n }\n user master cpu to be set to 5 from 4 config.NodePoolProps{\n Role: \"master\",\n MachineType: \"standard-master\",\n - CPUs: 4,\n + CPUs: 5,\n MemoryMB: 8192,\n Replicas: 3,\n ... // 2 identical fields\n Labels: nil,\n NodeTaints: nil,\n - Vsphere: nil,\n &config.NodePoolVsphereSpec{Datastore: \"lifecycle-workloads1-datastore1\"},\n + Vsphere: nil,\n BootDiskSizeGB: nil,\n OSImageType: \"\",\n ... // 5 identical fields\n }\n\n Exit with error:\n Failed to update the cluster: the update contains multiple changes. Please\n update only one feature at a time\n\nThis error could happen for various reasons, including the following:\n\n- A mistake or misconfiguration.\n- You ran `gkectl upgrade` before with the configuration diff, and expected the changes to be applied.\n - `gkectl upgrade` doesn't apply any configuration diffs except the version bump.\n- You edited the configuration for another feature update before, but forgot to run the `gkectl update` command.\n\nIf you encounter this behaviour, review the diff in the error message and update\nthe required settings one by one with multiple `gkectl update` commands. To help\nidentify changes, you can use `gkectl get-config` to\n[generate configuration files from a cluster](/kubernetes-engine/distributed-cloud/vmware/docs/how-to/get-configuration-file-from-cluster)\nand view the existing state and configuration.\n\nUnsupported changes\n-------------------\n\nThe `gkectl update cluster` and `gkectl update admin` commands ignore\nunsupported changes, and display error messages similar to the following\nexamples: \n\n detected unsupported changes: (-current +desired)\n ...\n - AdvancedNetworking: &true,\n + AdvancedNetworking: &false,\n ...\n , which will be ignored\n\nIf you encounter this behaviour, review the diff in the error message and\nperform the following actions:\n\n- If the change is unintended, edit the config YAML file and update with only the correct, intended changes.\n - In the previous example, if you didn't intend to disable `AdvancedNetworking`, set `advancedNetworking: true` in the config YAML file.\n- If the change is intended, the error indicates that the change isn't supported. Perform one of the following actions:\n - Recreate the cluster if applicable.\n - Reach out to [Google Support](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support).\n\nOS image doesn't exist\n----------------------\n\nThe `gkectl update cluster` and `gkectl update admin` commands might fail with\n`OS Images` preflight check failures similar to the following examples:\n\n- In the user cluster:\n\n - Validation Category: OS Images\n - [FAILURE] User cluster OS images exist: os images [xxxx] don't exist,\n please run `gkectl prepare` to upload os images.\n\n- In the admin cluster:\n\n - Validation Category: OS Images\n - [FAILURE] Admin cluster OS images exist: os images [xxxx] don't exist,\n please run `gkectl prepare` to upload os images.\n\nThese errors can happen if the OS image was removed unexpectedly in your\nvCenter environment, such as by a periodical cleanup job.\n\nTo re-import the import OS images, run the `gkectl prepare` command, as\nfollows:\n\n```\ngkectl prepare \\\n --bundle-path /var/lib/gke/bundles/gke-onprem-vsphere-TARGET_VERSION.tgz \\\n --kubeconfig ADMIN_CLUSTER_KUBECONFIG \\\n --skip-upload-container-images\n```\n\nNot enough datastore free space for new node pools\n--------------------------------------------------\n\nWhen you add new node pools, the `gkectl update cluster` command might fail with\n`VSphere Datastore FreeSpace` preflight check errors similar to the following\nexample: \n\n - [FAILURE] VSphere Datastore FreeSpace: vCenter datastore: xxxx insufficient\n FreeSpace, requires at least xxx GB\n\nThis failure indicates that the datastore doesn't have sufficient free space to\nrun the new node pools. Use one of the following options helps to provide space\nfor the operation to succeed:\n\n- Free up space from the datastore.\n- Configure a different `nodePools[].vsphere.datastore` datastore for the node pool.\n\nWhat's next\n-----------\n\nIf you need additional assistance, reach out to\n\n[Cloud Customer Care](/support-hub).\n\nYou can also see\n[Getting support](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support) for more information about support resources, including the following:\n\n- [Requirements](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#support_requirements) for opening a support case.\n- [Tools](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#support_tools) to help you troubleshoot, such as logs and metrics.\n- Supported [components](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#whats_supported), [versions](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#version_support_policy), and [features](/kubernetes-engine/distributed-cloud/vmware/docs/getting-support#supported_features) of Google Distributed Cloud for VMware (software only)."]]