GoogleCloudPlatform / GoogleCloudPlatform/deploymentmanager-samples
Failure issue with google deployment manager CLI
- Dominant language
- Jinja
- Stars
- 951
- Forks
- 700
- PR merge metrics
- No merged PRs in 30d
Description
Can anyone please help me fixing the issue I am getting while deploying-cloud functions-v2 through deployment manager CLI.
**When I am running gcloud deployment-manager create deployment --config it is performing its action and executing the command to success sometimes but during times it is getting failed with error message.**
```
Error in Operation [operation-1705053461174-60ebcb1e0598c-a36b0537-bb184b9f]: errors:
- code: RESOURCE_ERROR
location: /deployments/my-first-deployment/resources/first-manager-stack
message: "{\"ResourceType\":\"gcp-types/cloudfunctions-v2beta:projects.locations.functions\"\
,\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":\"Could not create or\
\ update Cloud Run service first-function, Container Healthcheck failed. Revision\
\ 'first-function-00001-suv' is not ready and cannot serve traffic. The user-provided\
\ container failed to start and listen on the port defined provided by the PORT=8080\
\ environment variable. Logs for this revision might contain more information.\\\
\ \\nFor more troubleshooting guidance, see https://cloud.google.com/run/docs/troubleshooting#container-failed-to-start\"\
}"
```
I have tried various different methods , gcloud flag for async but still no help.
**Can some help me out in this.**
**Also let me know what is the default timeout for deployment manager and is there any way to change it?
Because I tried referencing various docs and official pages of GCP but got no help.**
Contributor guide
Assessment
This issue has not been assessed yet.