SAFE-BookStore icon indicating copy to clipboard operation
SAFE-BookStore copied to clipboard

deployment to Google Cloud AppEngine fails

Open ghost opened this issue 7 years ago • 0 comments

Description

deployment to Google Cloud AppEngine fails. Container seems to be built properly though. This post might be relevant.

Repro steps

  1. run release.cmd

  2. gcloud app deploy -q --version=main

Expected behavior

running service on Google Cloud AppEngine

Actual behavior

Beginning deployment of service [suave-fable]...
Building and pushing image for service [suave-fable]
Some files were skipped. Pass `--verbosity=info` to see which ones.
You may also view the gcloud log file, found at
[C:\Users\K\AppData\Roaming\gcloud\logs\2018.01.23\20.04.34.157000.log].
Started cloud build [1d1886a3-107a-4e48-bbd2-fd22a3483c3f].
To see logs in the Cloud Console: https://console.cloud.google.com/gcr/builds/1d1886a3-107a-4e48-bbd2-fd22a3483c3f?project=silver-device-193009
------------------------------------------------------------- REMOTE BUILD OUTPUT -------------------------------------------------------------
starting build "1d1886a3-107a-4e48-bbd2-fd22a3483c3f"

FETCHSOURCE
Fetching storage object: gs://staging.silver-device-193009.appspot.com/eu.gcr.io/silver-device-193009/appengine/suave-fable.main:latest#1516734447194636
Copying gs://staging.silver-device-193009.appspot.com/eu.gcr.io/silver-device-193009/appengine/suave-fable.main:latest#1516734447194636...
| [1 files][ 93.5 MiB/ 93.5 MiB]
Operation completed over 1 objects/93.5 MiB.
BUILD
Already have image (with digest): gcr.io/cloud-builders/docker
Sending build context to Docker daemon  186.8MB
Step 1/5 : FROM microsoft/aspnetcore
latest: Pulling from microsoft/aspnetcore
723254a2c089: Already exists
afa846f8a696: Pulling fs layer
ce639c98964c: Pulling fs layer
381459bd1248: Pulling fs layer
4489c120821f: Pulling fs layer
4489c120821f: Waiting
ce639c98964c: Verifying Checksum
ce639c98964c: Download complete
afa846f8a696: Verifying Checksum
afa846f8a696: Download complete
381459bd1248: Verifying Checksum
381459bd1248: Download complete
4489c120821f: Verifying Checksum
4489c120821f: Download complete
afa846f8a696: Pull complete
ce639c98964c: Pull complete
381459bd1248: Pull complete
4489c120821f: Pull complete
Digest: sha256:9a2eeddfde6da6e26196885a8146bd3339b4b929f3bb623c883997a80a19e576
Status: Downloaded newer image for microsoft/aspnetcore:latest
 ---> bb8bdc966bb5
Step 2/5 : COPY /deploy .
 ---> c516c84eda3a
Removing intermediate container 57f125f582ee
Step 3/5 : WORKDIR .
 ---> 71ffded7f3e9
Removing intermediate container d1b4168e2281
Step 4/5 : EXPOSE 8085
 ---> Running in 49e2ab685433
 ---> 59a6f8562e3a
Removing intermediate container 49e2ab685433
Step 5/5 : ENTRYPOINT dotnet Server.dll
 ---> Running in 546a99b822f9
 ---> 72fe0d648024
Removing intermediate container 546a99b822f9
Successfully built 72fe0d648024
Successfully tagged eu.gcr.io/silver-device-193009/appengine/suave-fable.main:latest
PUSH
Pushing eu.gcr.io/silver-device-193009/appengine/suave-fable.main:latest
The push refers to a repository [eu.gcr.io/silver-device-193009/appengine/suave-fable.main]
5bb374fb465c: Preparing
aa3d55a4a032: Preparing
f9d2d3e199b9: Preparing
9eec8925915b: Preparing
6c69f7ce3401: Preparing
e27a10675c56: Preparing
e27a10675c56: Waiting
9eec8925915b: Layer already exists
aa3d55a4a032: Layer already exists
f9d2d3e199b9: Layer already exists
6c69f7ce3401: Layer already exists
e27a10675c56: Layer already exists
5bb374fb465c: Pushed
latest: digest: sha256:cd44a78e392f47fd891815037ee0e9ec8239c72dbade35c2840361208a7c492d size: 1586
DONE
-----------------------------------------------------------------------------------------------------------------------------------------------

Updating service [suave-fable] (this may take several minutes)...failed.
ERROR: (gcloud.app.deploy) Error Response: [13] Deployment Manager operation failed, name: operation-1516734503208-5637645484440-d5db703b-e3227d2b, error: [{"code":"RESOURCE_ERROR","location":"/deployments/aef-suave--fable-main/resources/aef-suave--fable-main-hcs","message":"{\"ResourceType\":\"compute.v1.httpsHealthCheck\",\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.checkIntervalSec': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.timeoutSec': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.unhealthyThreshold': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.healthyThreshold': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"}],\"message\":\"Invalid value for field 'resource.checkIntervalSec': '0'. Must be greater than or equal to 1\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/silver-device-193009/global/httpsHealthChecks\",\"httpMethod\":\"POST\"}}"}, {"code":"RESOURCE_ERROR","location":"/deployments/aef-suave--fable-main/resources/aef-suave--fable-main-00ahs","message":"{\"ResourceType\":\"compute.v1.httpsHealthCheck\",\"ResourceErrorCode\":\"400\",\"ResourceErrorMessage\":{\"code\":400,\"errors\":[{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.checkIntervalSec': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.timeoutSec': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.unhealthyThreshold': '0'. Must be greater than or equal to
1\",\"reason\":\"invalid\"},{\"domain\":\"global\",\"message\":\"Invalid value for field 'resource.healthyThreshold': '0'. Must be greater than or equal to 1\",\"reason\":\"invalid\"}],\"message\":\"Invalid value for field 'resource.checkIntervalSec': '0'. Must be greater than or equal to 1\",\"statusMessage\":\"Bad Request\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/silver-device-193009/global/httpsHealthChecks\",\"httpMethod\":\"POST\"}}"}]

Related information

  • Windows 10 Education Version 10.0.16299 Build 16299
  • Chrome Version 63.0.3239.132 (Official Build) (64-bit)
  • Opera 50.0.2762.58 (PGO)
  • commit e17553275a217899ed104802fce48f387f1596f8
  • dotnet --version = 2.1.3

ghost avatar Jan 23 '18 19:01 ghost