Same here. Minor change to the code, but can't deploy:
gcloud endpoints --verbosity=debug --project PROJECT_ID services deploy swagger.yaml
DEBUG: Running [gcloud.endpoints.services.deploy] with arguments: [--project: "PROJECT_ID", --verbosity: "debug", SERVICE_CONFIG_FILE:1: "[u'swagger.yaml']"]
INFO: No JSON detected in service config. Trying YAML...
Waiting for async operation operations/serviceConfigs.PROJECT_ID.appspot.com:577357ff-c3de-4fed-97cb-11e41349d5fe to complete...
Operation finished successfully. The following command can describe the Operation details:
gcloud endpoints operations describe operations/serviceConfigs.PROJECT_ID.appspot.com:577357ff-c3de-4fed-97cb-11e41349d5fe
Waiting for async operation operations/rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006 to complete...
DEBUG: (gcloud.endpoints.services.deploy) The operation with ID rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006 resulted in a failure.
Traceback (most recent call last):
File "/Users/juanuys/google-cloud-sdk/lib/googlecloudsdk/calliope/cli.py", line 985, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "/Users/juanuys/google-cloud-sdk/lib/googlecloudsdk/calliope/backend.py", line 795, in Run
resources = command_instance.Run(args)
File "/Users/juanuys/google-cloud-sdk/lib/surface/endpoints/services/deploy.py", line 393, in Run
services_util.ProcessOperationResult(rollout_operation, args.async)
File "/Users/juanuys/google-cloud-sdk/lib/googlecloudsdk/api_lib/endpoints/services_util.py", line 481, in ProcessOperationResult
op = GetProcessedOperationResult(result, is_async)
File "/Users/juanuys/google-cloud-sdk/lib/googlecloudsdk/api_lib/endpoints/services_util.py", line 526, in GetProcessedOperationResult
op_ref, GetClientInstance()))
File "/Users/juanuys/google-cloud-sdk/lib/googlecloudsdk/api_lib/endpoints/services_util.py", line 583, in WaitForOperation
'The operation with ID {0} resulted in a failure.'.format(operation_id))
OperationErrorException: The operation with ID rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006 resulted in a failure.
ERROR: (gcloud.endpoints.services.deploy) The operation with ID rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006 resulted in a failure.
juanuys@Juans-MacBook-Pro [14:10:00] [~/Documents/muse/apps/factor] [web-auth *]
gcloud endpoints operations describe rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006
done: true
error:
code: 13
message: Internal Error
metadata:
progressPercentage: 100
resourceNames:
startTime: 2019-06-03 14:06:25 BST
name: operations/rollouts.PROJECT_ID.appspot.com:256ae9ff-0498-4783-8e23-f2bb0b52e006