3

While trying to deploy a module of a VM instance in us-central1-a, the
:gcloud preview app deploy .yaml

throws an error:
Error:(gcloud.preview.app.deploy) Could not pick a region and/or zone.

I ve set the region us-central1 in gcloud config list and zone as us-central1-a.Any additional pointers to what can be cause will be very helpful

Scott Stensland
  • 26,870
  • 12
  • 93
  • 104
raul
  • 631
  • 2
  • 10
  • 23
  • Have you tried this without region/zone set in `gcloud config`? Do you get the same outcome? – Zachary Newman Aug 30 '15 at 12:08
  • Yes.Initially there was no region or zone set.Then tried explicitly setting the region and zone in config but that too doesn't help – raul Aug 30 '15 at 19:22
  • That's unexpected. Can you post the logs (should be in a location shown by `gcloud info`) in a gist/pastebin (after removing any personal information)? – Zachary Newman Aug 31 '15 at 15:17
  • Please try disabling and re-enabling the Google Compute Engine API in the [Cloud Console](http://cloud.google.com/console) (APIs -> Compute Engine API). If that doesn't work, please send me your Google Cloud Platform project number ("Home" in the Cloud Console). – Zachary Newman Aug 31 '15 at 22:14
  • 1
    I'm having the very same issue. Did you solve it by any chance? – mfirry Oct 23 '15 at 07:59

0 Answers0