App Engine Flex failed to delete old instances and cannot deploy new version

Hello! I am using an App Engine Flex to deploy my Nodejs App. Right now we are ubuntu22 as the operating system and runtime 20.

Everytime I delete a version using the terminal or deploy a new version I get this error

An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources>2024-04-24T14:47:51.888Z1317.hk.1: SLM LRO Finished with Errors

Not sure how to fix this, If anyone can provide tips how to debug/fix this it would be greatly appreaciated!

6 Likes

We are also seeing this, starting about 24h ago, across multiple projects

ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation projects/***/regions/us-west2/operations/xxxxxx-a809-471c-8fd2-eb85d6d7c901 error [INTERNAL]: An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources>2024-04-24T22:16:33.315Z2795.ho.0: SLM LRO Finished with Errors
2 Likes

We are seeing this too as of about 24h ago

ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation projects/***/regions/us-west2/operations/xxxxxx-a809-471c-8fd2-eb85d6d7c901 error [INTERNAL]: An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources>2024-04-24T22:16:33.315Z2795.ho.0: SLM LRO Finished with Errors
2 Likes

Some possible troubleshooting steps

  1. Run the deploy command with –verbosity flag set to ‘info’ or ‘debug’. This will print out more data during the deploy and going through the data might help you figure out the issue

  2. Run the deploy command with –log-http flag which will show you all calls to the server and their status. This might also help you in figuring out the issue

**…**NoCommandLine
https://nocommandline.com
Analytics & GUI for
App Engine & Datastore Emulator

4 Likes

I added this to the command from cloud build and the this is the last part of the result


"error": {
"code": 13,
"message": "Flex operation projects/***/regions/asia-east2/operations/830872fd-3e4f-49f7-80e2-229a94e9a057 error [INTERNAL]: An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources\u003e2024-04-25T01:27:15.531Z1725.hk.2: SLM LRO Finished with Errors"
}

I am starting to think if this is a GCP issue

4 Likes

Where you able to fix this? It seems we have the same issue

3 Likes

Same here. With python 3.9 and ubuntu 18

ERROR: (gcloud.app.deploy) Error Response: [13] Flex operation projects/…/regions/asia-east2/operations/…##UUID##… error [INTERNAL]: An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources>2024-04-25T…: SLM LRO Finished with Errors

2 Likes

We are seeing the same error

Error Response: [13] Flex operation projects/***/regions/***/operations/39fd272c-f2c2-450a-b478-72bc5db8d519 error [INTERNAL]: An internal error occurred while processing task /app-engine-flex/update_flex_deployment/flex_update_resources>2024-04-25T10:18:14.372Z100.hw.1: SLM LRO Finished with Errors
2 Likes

It could be a coincidence, but I had the same issue and increasing the build timeout worked for me:

gcloud config set app/cloud_build_timeout 1000

issue disappeared. deployment works again.

3 Likes

After 24 hours, the issue was gone. It would been nice if this was announced or indicated in the gcp status page

2 Likes

I need to wait for 24 hours after deployment and again restart it than it will work ? I am not understanding why this is happening if you can guide @ralph_symph

2 Likes

For some reason it resolved itself after 24 hours. I just tried again after a while

3 Likes

Having similar issues with App Engine standard, also suspecting a problem on the GCP end.

https://www.googlecloudcommunity.com/gc/Serverless/gcloud-app-deploy-fails-with-quot-Error-Response-9-Cloud-build/m-p/752114#M3835

2 Likes

Hello All,

Today i am facing the same issues. Not able to deploy the laravel application.

Please help someone. Urgent

An internal error occurred while processing task /app-engine-flex/insert_flex_deployment/flex_create_resources>2024-05-17T03:29:43.069Z41248.jf.0: SLM LRO Finished with Errors

1 Like

We have started seeing this as well. Is the solution to just wait?