I cannot stop and therefore uninstall the version of the application. At the moment I have 3 different versions, with the same service by default:
gappa-v1which currently serves 100% of the trafficmg-v1which is currently stopped20170223t163224
I can stop, restart and delete all versions, but 20170223t163224. I tried everything, both from the Google Cloud Console, and from the command line gcloud. Interacting with the Google Cloud Console is useless, because it does not give me any feedback about the error, but just a general Failed to stop the version when attemp stopped or . Version cannot be uninstalled while trying to uninstall.
When interacting with a command line tool, gcloudI tried:
$> gcloud app versions stop `20170223t163224`
$> ERROR: (gcloud.app.versions.stop) INTERNAL: This flexible version cannot be modified, it can only be deleted.
Then, if I try to remove it:
$> gcloud app versions delete `20170223t163224`
$> [default/20170223t163224]: Error Response: [13] Deployment Manager operation failed, name: operation-1488895382516-54a247861f121-d456a139-0b1e3fc6, error: [{"code":"RESOURCE_ERROR","locati
on":"/deployments/aef-default-20170223t163224/resources/aef-default-20170223t163224-00","message":"{\"ResourceType\":\"compute.beta.regionInstanceGroupManager\",\"ResourceErrorCode\":\"400
\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"The instance_group_manager resource 'aef-default-20170223t163224-00' is already being used by 'ae
f-default-20170223t163224'\",\"reason\":\"resourceInUseByAnotherResource\"}],\"message\":\"The instance_group_manager resource 'aef-default-20170223t163224-00' is already being used by 'ae
f-default-20170223t163224'\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/compute/beta/projects/MYAPPID/regions/us-central1/instanceGroupMana
gers/aef-default-20170223t163224-00\"}}"}]
Somewhere (I can’t find where at this moment), the documents say that I can’t delete the version until it is allocated traffic. So, I made sure that there is no traffic in the version. The Infact application engine console shows the following:

I also tried to delete instances of the same version using gcloud app instances delete INSTANCE_ID --service = default --version = 20170223t163224. This command did not return any error, but had no effect, there are still 2 instances.
I also tried to override the version by deploying a new, mostly empty application (hello world, from a Google tutorial ), but that didn't let me deploy it.
, , , .
Google App Engine NodeJS.