error: (gcloud.app.create) INTERNAL: Internal error encountered

1,305 views
Skip to first unread message

R. K. Nair

unread,
Dec 21, 2017, 6:04:43 PM12/21/17
to Google App Engine
On the Cloud DSK shell, when I tried the following command, getting this error:

gcloud app create 

error: (gcloud.app.create) INTERNAL:  Internal error encountered

Project already exists
How to to debug this error?

George (Cloud Platform Support)

unread,
Dec 22, 2017, 11:11:50 AM12/22/17
to Google App Engine
What did you try before running "gcloud app create", exactly? What were the previous steps, in order? 

What is the output of gcloud info

You have created a project and installed the Cloud SDK. Have you initialized the SDK? You can find related information in the "Initializing Cloud SDK" online document

What is the output of the "gcloud app describe --project your-project-name" command? Depending on the result, you may try running: 

gcloud config set project your-project-name
gcloud app create your-project-name

R. K. Nair

unread,
Dec 22, 2017, 2:43:18 PM12/22/17
to Google App Engine


On Friday, December 22, 2017 at 10:11:50 AM UTC-6, George (Cloud Platform Support) wrote:
What did you try before running "gcloud app create", exactly? What were the previous steps, in order? 

What is the output of gcloud info



C:\TEMP>gcloud info
Google Cloud SDK [183.0.0]

Platform: [Windows, x86_64] ('Windows', 'PC0C8UXM', '7', '6.1.7601', 'AMD64', 'I
ntel64 Family 6 Model 94 Stepping 3, GenuineIntel')
Python Version: [2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 20:53:40) [MSC v.150
0 64 bit (AMD64)]]
Python Location: [C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platf
orm\bundledpython\python.exe]
Site Packages: [Disabled]

Installation Root: [C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk]
Installed Components:
  core: [2017.12.08]
  gsutil: [4.28]
  bq: [2.0.27]
System PATH: [C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin\..\bi
n\sdk;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin;C:\Program Fi
les\Microsoft MPI\Bin\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C
:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\R
oxio Shared\10.0\DLLShared\;C:\Windows\CCM;C:\Windows\CCM;C:\Program Files (x86)
\Sennheiser\SoftphoneSDK\;C:\Program Files\Dell\Dell Data Protection\Encryption\
;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\dotnet\;
C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Micro
soft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Micro
soft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\
Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAsse
mblies\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Fil
es\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files\Microsoft SQL Server\Clie
nt SDK\ODBC\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\Tool
s\Binn\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\Program Files (
x86)\Microsoft SQL Server\120\Tools\Binn\ManagementStudio\;C:\Program Files (x86
)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Google\Cloud SDK\goo
gle-cloud-sdk\bin;C:\Program Files\Git\cmd;]
Python PATH: [C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\bin\..\li
b\third_party;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\lib;C:\Pr
ogram Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\bundledpython\pytho
n27.zip;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\bundle
dpython\DLLs;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platform\b
undledpython\lib;C:\Program Files (x86)\Google\Cloud SDK\google-cloud-sdk\platfo
rm\bundledpython\lib\plat-win;C:\Program Files (x86)\Google\Cloud SDK\google-clo
ud-sdk\platform\bundledpython\lib\lib-tk;C:\Program Files (x86)\Google\Cloud SDK
\google-cloud-sdk\platform\bundledpython]
Cloud SDK on PATH: [True]
Kubectl on PATH: [False]

Installation Properties: [C:\Program Files (x86)\Google\Cloud SDK\google-cloud-s
dk\properties]
User Config Directory: [C:\Users\rkbnair\AppData\Roaming\gcloud]
Active Configuration Name: [default]
Active Configuration Path: [C:\Users\rkbnair\AppData\Roaming\gcloud\configuratio
ns\config_default]

Project: [rk-project-003]

Current Properties:
  [core]
    project: [rk-project-003]
    account: [rkb...@oceaneering.com]
    disable_usage_reporting: [False]
  [compute]
    region: [us-central1]
    zone: [us-central1-a]

Logs Directory: [C:\Users\rkbnair\AppData\Roaming\gcloud\logs]
Last Log File: [C:\Users\rkbnair\AppData\Roaming\gcloud\logs\2017.12.22\13.35.56
.414000.log]

git: [git version 2.14.1.windows.1]
ssh: [NOT AVAILABLE]



C:\TEMP> 


You have created a project and installed the Cloud SDK. Have you initialized the SDK? You can find related information in the "Initializing Cloud SDK" online document

What is the output of the "gcloud app describe --project your-project-name" command? Depending on the result, you may try running: 


C:\TEMP>gcloud app describe --project rk-project-003
authDomain: gmail.com
featureSettings:
  splitHealthChecks: true
gcrDomain: us.gcr.io
id: rk-project-003
locationId: us-central
name: apps/rk-project-003
servingStatus: SERVING

C:\TEMP> 

gcloud config set project your-project-name

C:\TEMP>gcloud config set project rk-project-003
Updated property [core/project]. 

gcloud app create your-project-name

C:\TEMP>gcloud app create
ERROR: (gcloud.app.create) The project [rk-project-003] already contains an App
Engine application in region [us-central].  You can deploy your application usin
g `gcloud app deploy`.



C:\TEMP>gcloud app create
ERROR: (gcloud.app.create) The project [rk-project-003] already contains an App
Engine application in region [us-central].  You can deploy your application usin
g `gcloud app deploy`.



gcloud app deploy C:\TEMP\dotnet-docs-samples-master\appengine\flexible\HelloWorld\app.yaml

Project deployment error:

starting build "0c749a76-3b5f-4672-b63a-23b6258cd7e8"

FETCHSOURCE
Fetching storage object: gs://staging.rk-project-003.appspot.com/us.gcr.io/rk-project-003/appengine/default.20171222t133041:latest#1513971047055461
Copying gs://staging.rk-project-003.appspot.com/us.gcr.io/rk-project-003/appengine/default.20171222t133041:latest#1513971047055461...
/ [0 files][ 0.0 B/262.5 KiB] 
/ [1 files][262.5 KiB/262.5 KiB] 
Operation completed over 1 objects/262.5 KiB. 
BUILD
Starting Step #0
Step #0: Pulling image: gcr.io/gcp-runtimes/aspnetcorebuild@sha256:20ee8ff43c6ec6b76047ffa5d42bbe2b4941bfaf5130014f836960aba7961843
Step #0: sha256:20ee8ff43c6ec6b76047ffa5d42bbe2b4941bfaf5130014f836960aba7961843: Pulling from gcp-runtimes/aspnetcorebuild
Step #0: 431696e228e3: Already exists
Step #0: 38bb3fd07ceb: Pulling fs layer
Step #0: 909442de1c7c: Pulling fs layer
Step #0: 8ee9234457f5: Pulling fs layer
Step #0: bf34c65bf661: Pulling fs layer
Step #0: bf34c65bf661: Waiting
Step #0: 8ee9234457f5: Verifying Checksum
Step #0: 8ee9234457f5: Download complete
Step #0: 909442de1c7c: Verifying Checksum
Step #0: 909442de1c7c: Download complete
Step #0: bf34c65bf661: Verifying Checksum
Step #0: bf34c65bf661: Download complete
Step #0: 38bb3fd07ceb: Verifying Checksum
Step #0: 38bb3fd07ceb: Download complete
Step #0: 38bb3fd07ceb: Pull complete
Step #0: 909442de1c7c: Pull complete
Step #0: 8ee9234457f5: Pull complete
Step #0: bf34c65bf661: Pull complete
Step #0: Digest: sha256:20ee8ff43c6ec6b76047ffa5d42bbe2b4941bfaf5130014f836960aba7961843
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/aspnetcorebuild@sha256:20ee8ff43c6ec6b76047ffa5d42bbe2b4941bfaf5130014f836960aba7961843
Step #0: No .deps.json file found for the app
Finished Step #0
ERROR
 

George (Cloud Platform Support)

unread,
Dec 22, 2017, 3:31:31 PM12/22/17
to Google App Engine
What version of .NET did you install? The 2.1.3 version is indicated in the Quickstart

R. K. Nair

unread,
Dec 22, 2017, 3:41:14 PM12/22/17
to Google App Engine
.NET Core 1.0, hello world application downloaded from google
Google Cloud tools for Visual Studio, Version 1.2.10.0

George (Cloud Platform Support)

unread,
Dec 22, 2017, 4:53:19 PM12/22/17
to Google App Engine
If you check the "Quickstart for .NET in the App Engine Flexible Environment" and click on the "Install the .NET Core SDK, LTS version" link, you'll notice that the indicated version is 2.1.3. By contrast, your version is 1.0. 
Reply all
Reply to author
Forward
0 new messages