Yes, you can only delete previous versions, never the default version. Using the --promote flag will always deploy a new version and mark it as default. You should deploy once, then remove the old version from the versions list. If you try re-deploying with --promote and none of the versions are good, you will just end up with a list of failing instances.
If after pushing the new version you see all instances failing this is a good indication that something bad is being pushed. You could try deleting the entire project as a troubleshooting step and deploying to a new project. If the issue is that *any* version you push is bad, you may want to look into troubleshooting what is being pushed. For this type of question I'd recommend starting a new post on StackOverflow <http://stackoverflow.com/questions/tagged/google-app-engine> if you need to post details. Cheers, Adam On Saturday, November 7, 2015 at 1:06:30 PM UTC-5, Philippe David wrote: > > I tried to deploy a simple NodeJS (SailsJS) app with : > > gcloud preview app deploy app.yaml --promote --project <project-name> > > And I was horrified by the result. Now I have 20 GAE and 8 Compute Engine > VM instance failing, eating away my free plan. > > 503 service unavailable for <project-name>.appspot.com. > > The message saying "Creating this instance is permanently failing. Try > redeploying the version to fix it." results in : > > ERROR: (gcloud.compute.instances.create) Some requests did not succeed: > - Quota 'CPUS' exceeded. Limit: 8.0 > > > I really want to use this product as it would same me all the pain of > setting up my own ENV. but its just unusable right now and cost me 20-30$ > just to see everything fail. Good thing im on a free plan. > > > See attached image for details. > > > If I click on a red instance = "Not found" -> Delete -> nothing happens. > > If I click on a loading instance = Can't Delete / Stop > > > Should I delete the project and start over ? Should I try to delete every > instances and retry ? What should I do ? > > > Thanks > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/6fe33060-8762-4136-a142-2b31ee03d0e7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
