Appengine Managed VM deploy fails

605 views Asked by At

My managed VM was deployed and working fine. Then about a week ago it stopped working and started returning 500 for all requests. This is an Ubuntu container which is running a flask application.

The instances where showing as "restarting" in the developer console, but they were stuck that way for along time. When I tried deleting the instances I got an error messages saying the instances could not be deleted.

I tried to deploy the app again. The image creation process was a success, after which I got this error

    Updating service [abc]...failed.
    ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: The following quotas
    were exceeded: BACKEND_SERVICES (quota: 0, used: 0 + needed: 1),
    IN_USE_ADDRESSES (quota: 0, used: 0 + needed: 2), INSTANCES (quota:
    0, used: 0 + needed: 2).

The app has billing enabled, and a working credit card attached. There are not pending invoices. Does anyone know why this happens?

1

There are 1 answers

0
Procedurally Generated On

I had my billing details updated in the account, but the account was using the promotional credits that I got as part of the signup. I saw a notification saying that promotional credits were expired and I needed to upgrade the account to continue using it. I hit the upgrade button and it said the account was upgraded.

It turned out that it takes a while for that to happen. Maybe a cron job had to run and reset some limits before I could deploy the app again.

It started working working fine after about a day.