drone-gae icon indicating copy to clipboard operation
drone-gae copied to clipboard

Failure to stop older versions of services

Open tonglil opened this issue 7 years ago • 1 comments

In several GAE flex deployments, passing the additional flag --stop-previous-version has failed to turn off/scale down previous versions to 0.

This can result in developers being charged for idle instances in the project.

This error does not happen every time, maybe around 1 in 5-10 times.

This may be related to:

  • https://stackoverflow.com/questions/43430383/gcloud-app-deploy-does-not-remove-previous-versions
  • https://github.com/GoogleCloudPlatform/app-gradle-plugin/issues/107

Perhaps the SDK should be updated?

Example

Stops: stop

Does not stop: nostop

Result: pasted image at 2017_11_09 05_33 pm

tonglil avatar Nov 10 '17 20:11 tonglil

We still see this behavior, were you able to find a reliable workaround?

booi avatar Jun 19 '18 18:06 booi