aedeploy gcloud preview app deploy --promote backend.yaml --verbosity debug
DEBUG: Running gcloud.preview.app.deploy with Namespace(__calliope_internal_deepest_parser=ArgumentParser(prog='gcloud.preview.app.deploy', usage=None, description="*(BETA)* This command is used to deploy both code and configuration to the App Engine\nserver. As an input it takes one or more ``DEPLOYABLES'' that should be\nuploaded. A ``DEPLOYABLE'' can be a module's .yaml file or a configuration's\n.yaml file.", version=None, formatter_class=<class 'argparse.HelpFormatter'>, conflict_handler='error', add_help=False), account=None, authority_selector=None, authorization_token_file=None, bucket=None, cmd_func=<bound method Command.Run of <googlecloudsdk.calliope.backend.Command object at 0x02E67B50>>, command_path=['gcloud', 'preview', 'app', 'deploy'], configuration=None, deployables=['backend.yaml'], docker_build=None, document=None, force=False, format=None, h=None, help=None, http_timeout=None, image_url=None, log_http=None, project=None, promote='true', quiet=None, repo_info_file=None, server=None, stop_previous_version=None, trace_email=None, trace_log=False, trace_token=None, user_output_enabled=None, verbosity='debug', version=None).
DEBUG: API endpoint: [https://appengine.googleapis.com/], API version: [v1beta4]
You are about to deploy the following modules:
- my-app-id/default (from [C:\Users\username\AppData\Local\Temp\aedeploy188210551\backend.yaml])
Deployed URL: [https://my-app-id.appspot.com]
Do you want to continue (Y/n)? Y
Beginning deployment...
DEBUG: Host: appengine.google.com
DEBUG: _Authenticate configuring auth; needs_auth=False
DEBUG: Sending request to https://appengine.google.com/api/vms/prepare?app_id=my-app-id headers={'X-appcfg-api-version': '1', 'content-length': '0', 'Content-Type':'application/octet-stream'} body=
INFO: Attempting refresh to obtain initial access_token
INFO: Refreshing access_token
If this is your first deployment, this may take a while...\DEBUG: Got http error 400.
DEBUG: Unexpected results: {'status': '400', 'content-length': '86', 'expires': 'Mon, 01 Jan 1990 00:00:00 GMT', 'server': 'Google Frontend', 'cache-control': 'no-cache', 'date': 'Thu, 14 Jan 2016 12:54:01 GMT', 'content-type': 'text/plain'}
If this is your first deployment, this may take a while...failed.
WARNING: If this is your first deployment, please try again.
DEBUG: (gcloud.preview.app.deploy) Server responded with code [400]:
(unknown).
Failed Project Preparation (app_id='s~my-app-id'). Out of retries. Last error:
Traceback (most recent call last):
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 643, in Execute
result = args.cmd_func(cli=self, args=args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 1401, in Run
resources = command_instance.Run(args)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\surface\preview\app\deploy.py", line 350, in Run
deploy_command_util.DoPrepareManagedVms(gae_client)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\deploy_command_util.py", line 250, in DoPrepareManagedVms
gae_client.PrepareVmRuntime()
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\appengine_client.py", line 198, in PrepareVmRuntime
rpcserver.Send('/api/vms/prepare', app_id=self.project)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\util.py", line 370, in Send
response = self._server.Send(*args, **kwargs)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\third_party\appengine\tools\appengine_rpc_httplib2.py", line 286, in Send
'Unexpected HTTP status %s' % status)
File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\third_party\appengine\tools\appengine_rpc_httplib2.py", line 69, in RaiseHttpError
raise urllib2.HTTPError(url, response_info.status, msg, response_info, stream)
RPCError: Server responded with code [400]:
(unknown).
Failed Project Preparation (app_id='s~my-app-id'). Out of retries. Last error:
ERROR: (gcloud.preview.app.deploy) Server responded with code [400]:
(unknown).
Failed Project Preparation (app_id='s~my-app-id'). Out of retries. Last error:
aedeploy: Error: unable to run "gcloud preview app deploy --promote backend.yaml --verbosity debug": exit status 1
- writing a new empty project (code-wise) and trying to deploy it
...
...
...
Removing intermediate container ID1Successfully built ID2---------------------------------------------------------------------------------------------------------------------
Beginning teardown of remote build environment (this may take a few seconds).Updating module [default]...failed.ERROR: (gcloud.preview.app.deploy) Error Response: [13] Could not pick a region and/or zone. Version: 20160115t174246...aedeploy: Error: unable to run "gcloud preview app deploy --promote backend.yaml": exit status 1Your active configuration is: [default]
[app]suppress_change_warning = true[compute]region = us-central1zone = us-central1-b[core]account = acc...@email.tlddisable_usage_reporting = Trueproject = my-app-idUpdating module [default]...\DEBUG: Operation [apps/my-app-id/operations/UUID1] complete. Result: { "metadata": { "target": "apps/my-app-id/modules/default/versions/20160115t181126", "operationType": "create_version", "user": "acc...@email.tld", "insertTime": "2016-01-15T16:16:37.783Z", "endTime": "2016-01-15T16:16:55.627Z", "method": "google.appengine.v1beta4.Versions.CreateVersion" }, "done": true, "name": "apps/my-app-id/operations/UUID1", "error": { "message": "Could not pick a region and/or zone. Version: 20160115t181126...", "code": 13 }}Updating module [default]...failed.DEBUG: (gcloud.preview.app.deploy) Error Response: [13] Could not pick a region and/or zone. Version: 20160115t181126...Traceback (most recent call last): File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 643, in Execute result = args.cmd_func(cli=self, args=args) File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 1401, in Run resources = command_instance.Run(args) File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\surface\preview\app\deploy.py", line 387, in Run images.get(module)) File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\appengine_api_client.py", line 90, in DeployModule return operations.WaitForOperation(self.client.apps_operations, operation) File "C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\api\operations.py", line 66, in WaitForOperation encoding.MessageToPyValue(completed_operation.error)))OperationError: Error Response: [13] Could not pick a region and/or zone. Version: 20160115t181126...ERROR: (gcloud.preview.app.deploy) Error Response: [13] Could not pick a region and/or zone. Version: 20160115t181126...
- removing and re-installing the gcloud sdk