Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failure issue with google deployment manager CLI #698

Open
AThakur812001 opened this issue Jan 12, 2024 · 0 comments
Open

Failure issue with google deployment manager CLI #698

AThakur812001 opened this issue Jan 12, 2024 · 0 comments

Comments

@AThakur812001
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant