[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-19。"],[[["\u003cp\u003eDeployment errors in Deployment Manager are typically formatted with an error code, location, and message, providing details about what went wrong.\u003c/p\u003e\n"],["\u003cp\u003eResource errors (\u003ccode\u003eRESOURCE_ERROR\u003c/code\u003e) originate from underlying APIs, reflecting issues during the creation or management of resources like Compute Engine VM instances.\u003c/p\u003e\n"],["\u003cp\u003eValidation errors (\u003ccode\u003eCONDITION_NOT_MET\u003c/code\u003e) occur when a field in the configuration fails validation, such as using the wrong data type.\u003c/p\u003e\n"],["\u003cp\u003eDependency loop errors (\u003ccode\u003eCYCLIC_REFERENCES\u003c/code\u003e) indicate a circular dependency between resources, requiring adjustments to references or \u003ccode\u003edependsOn\u003c/code\u003e properties to resolve.\u003c/p\u003e\n"],["\u003cp\u003eTemplate expansion errors, like \u003ccode\u003eMANIFEST_EXPANSION_TOO_MUCH_CPU\u003c/code\u003e, signal that the process of expanding templates exceeded allowed limits, often suggesting the need to simplify or split complex templates.\u003c/p\u003e\n"]]],[],null,["# Tips and troubleshooting\n\nThe following sections might help you if you run into problems while using\nDeployment Manager.\n\nCommon errors during deployments\n--------------------------------\n\nThe errors that you see in your deployments are in the following format: \n\n - code: ERROR_CODE\n location: /path/to/template\n message: \"{\"Error message\"}\"\n\nThe types of errors you might commonly see are described in the following\nsections.\n\n### Resource errors (code: `RESOURCE_ERROR`)\n\nResource errors are propagated from the underlying APIs for the resources\nthat you are managing with Deployment Manager. For example, if your\ndeployment has a Compute Engine VM instance, and there was an error\ncreating the instance, you see that error as a resource error in\nDeployment Manager.\n\nIn the Deployment Manager response, you can see the error from the\nunderlying API in the `message.ResourceErrorCode` and\n`message.ResourceErrorMessage` fields.\n\n### Validation errors (code: `CONDITION_NOT_MET`)\n\nYou get a validation error when a field in your configuration fails validation,\nsuch as if it uses a string value when a boolean is expected.\n\n### Dependency loops (code: `CYCLIC_REFERENCES`)\n\nIndicates that your configuration has a dependency loop. For example, if\nresource A depends on resource B, B depends on C, and C depends on A.\n\nThe error message shows the resources that are in the dependency loop.\n\nYou might see dependencies in resources in the following scenarios:\n\n- A reference to a property of another resource. For example, if your\n deployment has an instance group manager that uses an instance template from\n the same deployment, the instance group manager implicitly depends on\n the instance template. Deployment Manager creates the instance template\n first, then creates the instance group manager.\n\n- An explicit `dependsOn` property, which indicates that the current resource\n must be created after the resource it depends on.\n\nTo resolve the error, change the references or `dependsOn` properties so that\nthe loop is broken.\n\n### Errors while expanding your templates\n\nYour templates are limited in the amount of time and\nresources that Deployment Manager uses to expand the templates into a\nsingle configuration.\n\nYou might see one of the following errors:\n\n- `MANIFEST_EXPANSION_TOO_MUCH_CPU`: Expanding the configuration took too much CPU.\n- `MANIFEST_EXPANSION_TOO_MUCH_MEMORY`: Expanding the configuration took too much memory.\n- `MANIFEST_EXPANSION_TOO_MUCH_WALL_TIME`: Expanding the configuration took too much time.\n- `MANIFEST_EXPANSION_USER_ERROR`: There was an error in your configuration or one of your templates.\n\n`MANIFEST_EXPANSION_TOO_MUCH_CPU` and `MANIFEST_EXPANSION_TOO_MUCH_MEMORY` might\nindicate that your templates might have complex structures involving recursion,\nor too many loops.\n\nTo resolve these errors, consider splitting your templates into smaller\ntemplates, or simplifying your templates."]]