GoogleCloudPlatform/nodejs-getting-started

Deploy using gcloud app deploy is failing, Error Response: [13]

Yamikamisama opened this issue · 2 comments

I can't figure out why this isn't working, I haven't changed anything in my app's config?

gcloud Version

:> gcloud -v
Google Cloud SDK 224.0.0
beta 2018.07.16
bq 2.0.36
core 2018.11.02
gsutil 4.34

app.yaml

runtime: nodejs
env: flex
service: falcon-frontend
skip_files:
- ^node_modules/(.*/)?

Terminal

(gcloud.app.deploy) Error Response: [13] Flex operation projects/nyt-ckg-dev/regions/us-east1/operations/5c79cb5a-4972-4a67-abdf-ed3e00303e1f error [INTERNAL]: An internal error occurred while processing task /appengine-flex-v1/insert_flex_deployment/flex_create_resources>2018-11-07T21:08:13.401Z4410: Deployment Manager operation nyt-ckg-dev/operation-1541624894384-57a198434e780-003bd968-a2d04159 errors: [code: "RESOURCE_ERROR"
location: "/deployments/aef-falcon--frontend-20181107t160514/resources/aef-falcon--frontend-20181107t160514-hcfw"
message: "{\"ResourceType\":\"compute.v1.firewall\",\"ResourceErrorCode\":\"404\",\"ResourceErrorMessage\":{\"code\":404,\"errors\":[{\"domain\":\"global\",\"message\":\"The resource \'projects/nyt-ckg-dev/global/networks/default\' was not found\",\"reason\":\"notFound\"}],\"message\":\"The resource \'projects/nyt-ckg-dev/global/networks/default\' was not found\",\"statusMessage\":\"Not Found\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/nyt-ckg-dev/global/firewalls\",\"httpMethod\":\"POST\"}}"
, code: "RESOURCE_ERROR"
location: "/deployments/aef-falcon--frontend-20181107t160514/resources/aef-falcon--frontend-20181107t160514-00it"
message: "{\"ResourceType\":\"compute.v1.instanceTemplate\",\"ResourceErrorCode\":\"404\",\"ResourceErrorMessage\":{\"code\":404,\"errors\":[{\"domain\":\"global\",\"message\":\"The resource \'projects/nyt-ckg-dev/global/networks/default\' was not found\",\"reason\":\"notFound\"}],\"message\":\"The resource \'projects/nyt-ckg-dev/global/networks/default\' was not found\",\"statusMessage\":\"Not Found\",\"requestPath\":\"https://www.googleapis.com/compute/v1/projects/nyt-ckg-dev/global/instanceTemplates\",\"httpMethod\":\"POST\"}}"
]

Details: [
  [
    {
      "@type": "type.googleapis.com/google.protobuf.Any",
      "value": {
        "@type": "type.googleapis.com/google.appengine.errors.AggregateDebugInfo",
        "debugInfo": {
          "stackEntries": [
            "com.google.apps.framework.request.CanonicalCodeException: Deployment Manager operation nyt-ckg-dev/operation-1541624894384-57a198434e780-003bd968-a2d04159 errors: [code: \"RESOURCE_ERROR\"",
            "location: \"/deployments/aef-falcon--frontend-20181107t160514/resources/aef-falcon--frontend-20181107t160514-hcfw\"",
            "message: \"{\\\"ResourceType\\\":\\\"compute.v1.firewall\\\",\\\"ResourceErrorCode\\\":\\\"404\\\",\\\"ResourceErrorMessage\\\":{\\\"code\\\":404,\\\"errors\\\":[{\\\"domain\\\":\\\"global\\\",\\\"message\\\":\\\"The resource \\'projects/nyt-ckg-dev/global/networks/default\\' was not found\\\",\\\"reason\\\":\\\"notFound\\\"}],\\\"message\\\":\\\"The resource \\'projects/nyt-ckg-dev/global/networks/default\\' was not found\\\",\\\"statusMessage\\\":\\\"Not Found\\\",\\\"requestPath\\\":\\\"https://www.googleapis.com/compute/v1/projects/nyt-ckg-dev/global/firewalls\\\",\\\"httpMethod\\\":\\\"POST\\\"}}\"",
            ", code: \"RESOURCE_ERROR\"",
            "location: \"/deployments/aef-falcon--frontend-20181107t160514/resources/aef-falcon--frontend-20181107t160514-00it\"",
            "message: \"{\\\"ResourceType\\\":\\\"compute.v1.instanceTemplate\\\",\\\"ResourceErrorCode\\\":\\\"404\\\",\\\"ResourceErrorMessage\\\":{\\\"code\\\":404,\\\"errors\\\":[{\\\"domain\\\":\\\"global\\\",\\\"message\\\":\\\"The resource \\'projects/nyt-ckg-dev/global/networks/default\\' was not found\\\",\\\"reason\\\":\\\"notFound\\\"}],\\\"message\\\":\\\"The resource \\'projects/nyt-ckg-dev/global/networks/default\\' was not found\\\",\\\"statusMessage\\\":\\\"Not Found\\\",\\\"requestPath\\\":\\\"https://www.googleapis.com/compute/v1/projects/nyt-ckg-dev/global/instanceTemplates\\\",\\\"httpMethod\\\":\\\"POST\\\"}}\"",
            "] Code: INTERNAL",
            "\tat com.google.apphosting.admin.flex.lib.dm.WaitDmOperationProducerModule.checkOperationStatus(WaitDmOperationProducerModule.java:163)",
            "\tSuppressed: com.google.common.util.concurrent.UncheckedExecutionException: ",
            "\t\tat com.google.apps.framework.producers.Present.checkSucceeded(Present.java:54)",
            "\t\tat com.google.apphosting.admin.flex.resources.deployment.CreateResourcesProducerModule.produceBackendService(CreateResourcesProducerModule.java:128)",
            "\tSuppressed: CriticalInputFailure: com.google.apphosting.admin.flex.resources.deployment.CreateResourcesProducerModule.produceDeployedRecord failed while trying to inject @com.google.apps.framework.producers.PrivateVisibility(annotation=\"@com.google.apphosting.admin.flex.resources.deployment.CreateResourcesProducerModule$NewBackendService\", module=com.google.apphosting.admin.flex.resources.deployment.CreateResourcesProducerModule.class) java.util.Optional<com.google.api.services.compute.model.BackendService>"
          ]
        }
      }
    }
  ]
]

Greetings! This looks like an issue specifically with App Engine Flex. This repo is focused on samples, so there isn't a ton we can do for you hear. You'll have a lot better luck over in the App Engine Issue Tracker. Thanks!

@JustinBeckwith Thank you for the pointer to a proper communication channel. For some reason the conversation has been disabled for #172