错误回应:[13]创建Google云端存储分区时发生内部错误 [英] Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket
问题描述
我正在尝试推送 Nodejs
示例应用程序 Hello World
,但推送后出现错误。
$ b
错误:(gcloud.app.deploy)错误响应:[13]创建Google Cloud时发生内部错误
存储桶。
代码没有问题,因为它只是从谷歌下载的示例应用程序。
我看过其他SO帖子与这个错误有关,但没有一个帮助过。
任何人都可以告诉我一个修复这个错误。
我也尝试使用命令在 debug
中运行命令一个nd得到以下输出。
gcloud应用程序部署app.yaml --verbosity调试
DEBUG:否指定存储桶,检索默认存储桶。
DEBUG:使用存储桶[gs://staging.united-backbone-186810.appspot.com]。
DEBUG:服务[appengineflex.googleapis.com]已启用项目[united-backbone-186810]
开始部署服务[默认] ...
INFO:需要Dockerfile才能为运行时生成nodejs
构建和推送服务的图像[默认]
INFO:正在上传[c:\users\sudha\appdata\local\temp\tmpaj1p9z\src.tgz ]到[asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest]
DEBUG:使用运行时生成器root [gs:// runtime-builders /]
DEBUG:加载从[gs://runtime-builders/runtimes.yaml]
读取运行时信息:读取[< googlecloudsdk.api_lib.storage.storage_util.ObjectReference对象在0x0000000006631400>]
DEBUG:解析的运行时[nodejs ]作为构建配置[gs://runtime-builders/nodejs-default-builder-20171115155610.yaml]
INFO:使用运行时构建器[gs://runtime-builders/nodejs-default-builder-20171115155610.yaml ]
INFO:读取[]
已启动云构建[c3702b4b-7bc8-4861-944f-8490bf183078]。
DEBUG:GCS日志文件网址是https://www.googleapis.com/storage/v1/b/staging.united-backbone-186810.appspot.com/o/log-c3702b4b-7bc8-4861-944f- 8490bf183078.txt?alt = media
在云控制台中查看日志:https://console.cloud.google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?project = united-backbone -186810
DEBUG:操作[operations / build / united-backbone-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:416(无新内容;保持轮询)
DEBUG:操作[操作/构建/联合骨干-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取233字节)
------------------------------ -------------------远程编译输出---------------------------- ----------------------
开始构建c3702b4b-7bc8-4861-944f-8490bf183078
FETCHSOURCE
获取存储对象:gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest#1511349522754483
DEBUG:操作[operations / build / united-backbone-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:416(无新内容;保持轮询)
DEBUG:操作[操作/构建/联合骨干-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取398字节)
复制gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine /default.20171122t164838:latest#1511349522754483 ...
- [1个文件] [1.8 KiB / 1.8 KiB]
DEBUG:不完整等待1秒。
DEBUG:读取GCS日志文件:206(读取2198字节)
操作完成超过1个对象/ 1.8 KiB。
BUILD
步骤#0:拉图像:gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c
步骤#0:SHA256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c:从GCP-运行时拉/的NodeJS /发电机dockerfile
步骤#0:摘要:SHA256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c
步骤#0:状态:下载用于更新的gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c图像
开始步骤#0
步骤#0:检查Node.js.
完成步骤#0
步骤#1:拉图像:gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
步骤#1:SHA256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9:从cloud_builders拉/搬运工
步骤1:摘要:SHA256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
第1步:状态:下载的gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
新形象开始第1步
第1步:发送建立上下文码头工人守护11.26kB
第1步:步骤1/5:从gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
第1步:SHA256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2:从拉google-appengine / nodejs
第1步:摘要:sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
步骤#1:状态:下载了gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
的更新图片步骤#1:---> 669f53c480d3
步骤#1:步骤2/5:复制。 / app /
第1步:---> 388693438f26
步骤#1:删除中间容器45b4eecdfef0
步骤#1:步骤3/5:运行/ usr / local / bin / install_node'> = 4.3.2'
步骤#1 :--->运行于67ea703659bc
步骤#1:---> 7b5b6d0283c5
步骤#1:删除中间容器67ea703659bc
步骤#1:步骤4/5:运行npm install --unsafe-perm || ((如果[-f npm-debug.log];然后cat npm-debug.log; fi)&& false)
步骤#1:--->运行在2d7b75885d6c
DEBUG:操作[操作/构建/联合骨干186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取145字节)
步骤1:[91mpm [91m通知创建了一个lockfile作为package-lock.json。你应该提交这个文件。
步骤1:[在1.695s中包含43个包
DEBUG:操作[操作/构建/联合骨干186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取1222个字节)
步骤#1:---> e802843c73cd
步骤#1:去除中间容器2d7b75885d6c
步骤#1:步骤5/5:CMD npm start
步骤#1:--->在cef15318568d
中运行步骤#1:---> b61594a5ec64
步骤#1:删除中间容器cef15318568d
步骤1:成功构建b61594a5ec64
步骤1:成功标记asia.gcr.io/united-backbone-186810/appengine/default。 20171122t164838:latest
完成步骤#1
PUSH
推送asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest
推送是指存储库[asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838]
737512f7e42b:准备
ec3a6c686d39:准备
644f071ca81b:准备
226846715c53:准备
e0a3cc0c6e70:准备
c2003e396592:准备
8fc48a7a910e:准备
9aa804bf0e6a:准备
749e521e9c3d:准备
31cb62ec9f95:准备
c2003e396592:等待
8fc48a7a910e:等待
9aa804bf0e6a:等待
749e521e9c3d:等待
31cb62ec9f95:等待
226846715c53:图层a已存在
e0a3cc0c6e70:图层已存在
644f071ca81b:图层已存在
8fc48a7a910e:图层已存在
c2003e396592:图层已存在
31cb62ec9f95:图层已存在
749e521e9c3d:图层已存在
9aa804bf0e6a:图层已存在
DEBUG:操作[操作/构建/联合骨干-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取21字节)
ec3a6c686d39:推送
DEBUG:操作[操作/构建/联合主干186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取21个字节)
737512f7e42b:推送
DEBUG:操作[操作/构建/联合骨干186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]不完整。等待1秒。
DEBUG:读取GCS日志文件:206(读取104字节)
latest:摘要:sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12大小:2413
DONE
DEBUG:操作[操作/构建/联合主干-186810 / YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4]完整。结果:{
响应:{
finishTime:2017-11-22T11:19:11.119096Z,
status:SUCCESS,
超时:600s,
startTime:2017-11-22T11:18:45.353017219Z,
logsBucket:staging.united-backbone-186810.appspot.com,
results:{
images:[
{
name:asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838 ,
digest:sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12
},
{
name:asia.gcr.io/united-backbone-186810/appengine/default。 20171122t164838:latest,
digest:sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12
}
],
buildStepImages: [
,
]
},
createTime:2017-11-22T11:18:44.769257383Z,
@type:type.googleapis.com/google.devtools.cloudbuild.v1.Build,
source:{
storageSource:{
object: asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest,
bucket:staging.united-backbone-186810.appspot.com
}
options:{
substitutionOption:ALLOW_LOOSE
},
steps:[
{
args :[
--runtime-image,
gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
],
name:gcr。 io / gcp-runtimes / nodejs / gen-dockerfile @ sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c,
env:[
GAE_APPLICATION_YAML_PATH = app.yaml
]
},
{
args:[
build,
-t,
asia.gcr.io/united-backbone-186810/appengine/default。 20171122t164838:最新,
。
],
name:gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9,
env:[
GAE_APPLICATION_YAML_PATH = app.yaml
$ b
sourceProvenance:{
resolvedStorageSource:{
generation:1511349522754483,
object :asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest,
bucket:staging.united-backbone-186810.appspot.com
} ,
fileHashes:{
gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest #1511349522754483:{
fileHash:[
{
type:MD5,
value:RCwNC0JHUlmvZZz + C5RYsw ==
}
]
}
}
},
projectId:united-backbone-186810,
images:[
asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest
],
替换:{
_GAE_APPLICATION_YAML_PATH:app.yaml,
_OUTPUT_IMAGE:asia.gcr.io/united-backbone-186810/appengine /default.20171122t164838:latest
,
id:c3702b4b-7bc8-4861-944f-8490bf183078,
logUrl:https://console.cloud。 google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?project=united-backbone-186810
,
done:true,
name: 操作/编译/团结骨干-186810 / YzM3MD
@type:{
@type:type.googleapis.com/google.devtools.cloudbuild.v1.BuildOperationMetadata,
build:{
finishTime:2017-11-22T11:19:11.119096Z,
status:SUCCESS,
timeout:600s,
startTime :2017-11-22T11:18:45.353017219Z,
logsBucket:staging.united-backbone-186810.appspot.com,
results:{
images:[
{
name:asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838,
digest:sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12
},
{
name:asia.gcr.io/united-backbone-186810/appengine/default.20171122t16 4838:latest,
digest:sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12
}
],
buildStepImages:[
,
},
id:c3702b4b-7bc8-4861-944f-8490bf183078,
source:{
storageSource:{
object:asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest,
bucket:staging.united-backbone-186810.appspot.com
},
options:{
substitutionOption:ALLOW_LOOSE
},
steps:[
{
args:[
--runtime-image,
gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
,
name:gcr.io/gcp-runtimes/nodejs / gen-dockerfile @ sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c,
env:[
GAE_APPLICATION_YAML_PATH = app.yaml
]
},
{
args:[
build,
-t,
asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest,
。
],
name:gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9,
env:[
GAE_APPLICATION_YAML_PATH = app.yaml
$ b
sourceProvenance:{
resolvedStorageSource:{
generation:1511349522754483,
object :asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest,
bucket:staging.united-backbone-186810.appspot.com
} ,
fileHashes:{
gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest #1511349522754483:{
fileHash:[
{
type:MD5,
value:RCwNC0JHUlmvZZz + C5RYsw ==
}
] $ b $ b
projectId:united-backbone-186810,
images:[
asia.gcr.io/united -backbone -186810 / appengine / default.20171122t164838:最新的
,
替换:{
_GAE_APPLICATION_YAML_PATH:app.yaml,
_OUTPUT_IMAGE: asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest
},
createTime:2017-11-22T11:18:44.769257383Z,
logUrl:https://console.cloud.google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?proje ct = united-backbone-186810
}
}
DEBUG:读取GCS日志文件:416(无新内容;继续轮询)
------------------------------------------- -------------------------------------------------- ---------------------------
DEBUG:将YAML转换为JSON:{
betaSettings :{
module_yaml_path:app.yaml,
vm_runtime:nodejs
},
env:flex,
handlers:[
{
script:{
scriptPath:PLACEHOLDER
},
urlRegex:。*
$ b $runtime:vm
}
DEBUG:收到的操作:[apps / united-backbone-186810 / operations / 51892505-4cb2- 4b11-8431-ee7b62f0f236]
DEBUG:操作[apps / united-backbone-186810 / operations / 51892505-4cb2-4b11-8431-ee7b62f0f236]不完整。等待重试。
更新服务[默认](这可能需要几分钟)... / DEBUG:操作[apps / united-backbone-186810 / operations / 51892505-4cb2-4b11-8431-ee7b62f0f236]不完整。等待重试。
更新服务[默认](这可能需要几分钟)... \DEBUG:操作[apps / united-backbone-186810 / operations / 51892505-4cb2-4b11-8431-ee7b62f0f236]完成。结果:{
metadata:{
target:apps / united-backbone-186810 / services / default / versions / 20171122t164838,
method:google.appengine .v1.Versions.CreateVersion,
user:prafactor9@gmail.com,
insertTime:2017-11-22T11:19:14.120Z,
尝试清理部署工件,
@type:type.googleapis.com/google.appengine.v1.OperationMetadataV1
},
完成:true,
name:apps / united-backbone-186810 / operations / 51892505-4cb2-4b11-8431-ee7b62f0f236,
error:{
message :创建Google Cloud Storage存储桶时发生内部错误。,
code:13
}
}
更新服务[默认值](这可能需要几次分钟)...失败。
DEBUG:(gcloud.app.deploy)错误响应:[13]创建Google云端存储分区时发生内部错误。
Traceback(最近一次调用最后一次):
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\\ \\ googlecloudsdk\calliope\cli.py,第789行,在Execute
resources = calliope_command.Run(cli = self,args = args)
文件C:\ Users \sudha\\ \\ AppData \Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py,第756行,在
resources = command_instance.Run( args)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\app\deploy.py ,第65行,在Run
parallel_build = False)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\\ \\ lib\googlecloudsdk\command_lib\app\deploy_util.py,第587行,在RunDeploy中
flex_imag e_build_option = flex_image_build_option)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app \deploy_util.py,第395行,部署
extra_config_settings)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud -sdk\lib\googlecloudsdk\api_lib\app\appengine_api_client.py,第188行,在DeployService
message = message)
文件C:\ Users \sudha\ AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py,第244行,在WaitForOperation
sleep_ms = retry_interval中)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter。 py,第266行,W aitFor
sleep_ms = sleep_ms)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\\ \\ core \util\retry.py,第222行,在RetryOnResult
中如果不是should_retry(result,state):
文件C:\ Users \sudha\AppData\Local \Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py,第260行,在_IsNotDone
返回不是poller.IsDone(操作)
文件C:\ Users \sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util。 py,第169行,在IsDone
encoding.MessageToPyValue(operation.error)))
OperationError:错误响应:[13]创建Google Cloud Storage存储桶时发生内部错误。
错误:(gcloud.app.deploy)错误响应:[13]创建Google云端存储分区时发生内部错误。
C:\ Users \sudha\Desktop\\\
odejs-docs-samples\appengine\hello-world>
尝试先设置此配置参数:
gcloud config set app / use_deprecated_preparation True
I am trying to push a Nodejs
sample app Hello World
but after pushing I am getting error.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
There is nothing wrong with the code as it is just a sample app downloaded from google.
I have seen other SO posts related to this error but none of them helped.
Can anyone please tell me a Fix for this error.
I also tried to run command in debug
using command and got following output.
gcloud app deploy app.yaml --verbosity debug
DEBUG: No bucket specified, retrieving default bucket.
DEBUG: Using bucket [gs://staging.united-backbone-186810.appspot.com].
DEBUG: Service [appengineflex.googleapis.com] is already enabled for project [united-backbone-186810]
Beginning deployment of service [default]...
INFO: Need Dockerfile to be generated for runtime nodejs
Building and pushing image for service [default]
INFO: Uploading [c:\users\sudha\appdata\local\temp\tmpaj1p9z\src.tgz] to [asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest]
DEBUG: Using runtime builder root [gs://runtime-builders/]
DEBUG: Loading runtimes manifest from [gs://runtime-builders/runtimes.yaml]
INFO: Reading [<googlecloudsdk.api_lib.storage.storage_util.ObjectReference object at 0x0000000006631400>]
DEBUG: Resolved runtime [nodejs] as build configuration [gs://runtime-builders/nodejs-default-builder-20171116155610.yaml]
INFO: Using runtime builder [gs://runtime-builders/nodejs-default-builder-20171116155610.yaml]
INFO: Reading [<googlecloudsdk.api_lib.storage.storage_util.ObjectReference object at 0x0000000006642390>]
Started cloud build [c3702b4b-7bc8-4861-944f-8490bf183078].
DEBUG: GCS logfile url is https://www.googleapis.com/storage/v1/b/staging.united-backbone-186810.appspot.com/o/log-c3702b4b-7bc8-4861-944f-8490bf183078.txt?alt=media
To see logs in the Cloud Console: https://console.cloud.google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?project=united-backbone-186810
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 416 (no new content; keep polling)
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 233 bytes)
------------------------------------------------- REMOTE BUILD OUTPUT --------------------------------------------------
starting build "c3702b4b-7bc8-4861-944f-8490bf183078"
FETCHSOURCE
Fetching storage object: gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest#1511349522754483
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 416 (no new content; keep polling)
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 398 bytes)
Copying gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest#1511349522754483...
- [1 files][ 1.8 KiB/ 1.8 KiB]
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 2198 bytes)
Operation completed over 1 objects/1.8 KiB.
BUILD
Step #0: Pulling image: gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c
Step #0: sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c: Pulling from gcp-runtimes/nodejs/gen-dockerfile
Step #0: Digest: sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c
Step #0: Status: Downloaded newer image for gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c
Starting Step #0
Step #0: Checking for Node.js.
Finished Step #0
Step #1: Pulling image: gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
Step #1: sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9: Pulling from cloud_builders/docker
Step #1: Digest: sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
Step #1: Status: Downloaded newer image for gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9
Starting Step #1
Step #1: Sending build context to Docker daemon 11.26kB
Step #1: Step 1/5 : FROM gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
Step #1: sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2: Pulling from google-appengine/nodejs
Step #1: Digest: sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
Step #1: Status: Downloaded newer image for gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2
Step #1: ---> 669f53c480d3
Step #1: Step 2/5 : COPY . /app/
Step #1: ---> 388693438f26
Step #1: Removing intermediate container 45b4eecdfef0
Step #1: Step 3/5 : RUN /usr/local/bin/install_node '>=4.3.2'
Step #1: ---> Running in 67ea703659bc
Step #1: ---> 7b5b6d0283c5
Step #1: Removing intermediate container 67ea703659bc
Step #1: Step 4/5 : RUN npm install --unsafe-perm || ((if [ -f npm-debug.log ]; then cat npm-debug.log; fi) && false)
Step #1: ---> Running in 2d7b75885d6c
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 145 bytes)
Step #1: [91mnpm[0m[91m notice created a lockfile as package-lock.json. You should commit this file.
Step #1: [0madded 43 packages in 1.695s
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 1222 bytes)
Step #1: ---> e802843c73cd
Step #1: Removing intermediate container 2d7b75885d6c
Step #1: Step 5/5 : CMD npm start
Step #1: ---> Running in cef15318568d
Step #1: ---> b61594a5ec64
Step #1: Removing intermediate container cef15318568d
Step #1: Successfully built b61594a5ec64
Step #1: Successfully tagged asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest
Finished Step #1
PUSH
Pushing asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest
The push refers to a repository [asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838]
737512f7e42b: Preparing
ec3a6c686d39: Preparing
644f071ca81b: Preparing
226846715c53: Preparing
e0a3cc0c6e70: Preparing
c2003e396592: Preparing
8fc48a7a910e: Preparing
9aa804bf0e6a: Preparing
749e521e9c3d: Preparing
31cb62ec9f95: Preparing
c2003e396592: Waiting
8fc48a7a910e: Waiting
9aa804bf0e6a: Waiting
749e521e9c3d: Waiting
31cb62ec9f95: Waiting
226846715c53: Layer already exists
e0a3cc0c6e70: Layer already exists
644f071ca81b: Layer already exists
8fc48a7a910e: Layer already exists
c2003e396592: Layer already exists
31cb62ec9f95: Layer already exists
749e521e9c3d: Layer already exists
9aa804bf0e6a: Layer already exists
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 21 bytes)
ec3a6c686d39: Pushed
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 21 bytes)
737512f7e42b: Pushed
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] not complete. Waiting 1s.
DEBUG: Reading GCS logfile: 206 (read 104 bytes)
latest: digest: sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12 size: 2413
DONE
DEBUG: Operation [operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4] complete. Result: {
"response": {
"finishTime": "2017-11-22T11:19:11.119096Z",
"status": "SUCCESS",
"timeout": "600s",
"startTime": "2017-11-22T11:18:45.353017219Z",
"logsBucket": "staging.united-backbone-186810.appspot.com",
"results": {
"images": [
{
"name": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838",
"digest": "sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12"
},
{
"name": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"digest": "sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12"
}
],
"buildStepImages": [
"",
""
]
},
"createTime": "2017-11-22T11:18:44.769257383Z",
"@type": "type.googleapis.com/google.devtools.cloudbuild.v1.Build",
"source": {
"storageSource": {
"object": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"bucket": "staging.united-backbone-186810.appspot.com"
}
},
"options": {
"substitutionOption": "ALLOW_LOOSE"
},
"steps": [
{
"args": [
"--runtime-image",
"gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2"
],
"name": "gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c",
"env": [
"GAE_APPLICATION_YAML_PATH=app.yaml"
]
},
{
"args": [
"build",
"-t",
"asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"."
],
"name": "gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9",
"env": [
"GAE_APPLICATION_YAML_PATH=app.yaml"
]
}
],
"sourceProvenance": {
"resolvedStorageSource": {
"generation": "1511349522754483",
"object": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"bucket": "staging.united-backbone-186810.appspot.com"
},
"fileHashes": {
"gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest#1511349522754483": {
"fileHash": [
{
"type": "MD5",
"value": "RCwNC0JHUlmvZZz+C5RYsw=="
}
]
}
}
},
"projectId": "united-backbone-186810",
"images": [
"asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest"
],
"substitutions": {
"_GAE_APPLICATION_YAML_PATH": "app.yaml",
"_OUTPUT_IMAGE": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest"
},
"id": "c3702b4b-7bc8-4861-944f-8490bf183078",
"logUrl": "https://console.cloud.google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?project=united-backbone-186810"
},
"done": true,
"name": "operations/build/united-backbone-186810/YzM3MDJiNGItN2JjOC00ODYxLTk0NGYtODQ5MGJmMTgzMDc4",
"metadata": {
"@type": "type.googleapis.com/google.devtools.cloudbuild.v1.BuildOperationMetadata",
"build": {
"finishTime": "2017-11-22T11:19:11.119096Z",
"status": "SUCCESS",
"timeout": "600s",
"startTime": "2017-11-22T11:18:45.353017219Z",
"logsBucket": "staging.united-backbone-186810.appspot.com",
"results": {
"images": [
{
"name": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838",
"digest": "sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12"
},
{
"name": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"digest": "sha256:6659b586325b131087fcbf872abf618fa1ee45503fff47cad7bb9e92d63bcd12"
}
],
"buildStepImages": [
"",
""
]
},
"id": "c3702b4b-7bc8-4861-944f-8490bf183078",
"source": {
"storageSource": {
"object": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"bucket": "staging.united-backbone-186810.appspot.com"
}
},
"options": {
"substitutionOption": "ALLOW_LOOSE"
},
"steps": [
{
"args": [
"--runtime-image",
"gcr.io/google-appengine/nodejs@sha256:2c743f7509798cca81aaebaa339c899c4d1924153beb4a94df00ff6af238fcb2"
],
"name": "gcr.io/gcp-runtimes/nodejs/gen-dockerfile@sha256:196bc20ff8d91905dc071100399538814e2c619d0d27576c35a6405674da696c",
"env": [
"GAE_APPLICATION_YAML_PATH=app.yaml"
]
},
{
"args": [
"build",
"-t",
"asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"."
],
"name": "gcr.io/cloud_builders/docker@sha256:8f8f572201e2b2ae876d8ca8b05c7d44df994e7ea8352c334ee5bae7ca3dc7f9",
"env": [
"GAE_APPLICATION_YAML_PATH=app.yaml"
]
}
],
"sourceProvenance": {
"resolvedStorageSource": {
"generation": "1511349522754483",
"object": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest",
"bucket": "staging.united-backbone-186810.appspot.com"
},
"fileHashes": {
"gs://staging.united-backbone-186810.appspot.com/asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest#1511349522754483": {
"fileHash": [
{
"type": "MD5",
"value": "RCwNC0JHUlmvZZz+C5RYsw=="
}
]
}
}
},
"projectId": "united-backbone-186810",
"images": [
"asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest"
],
"substitutions": {
"_GAE_APPLICATION_YAML_PATH": "app.yaml",
"_OUTPUT_IMAGE": "asia.gcr.io/united-backbone-186810/appengine/default.20171122t164838:latest"
},
"createTime": "2017-11-22T11:18:44.769257383Z",
"logUrl": "https://console.cloud.google.com/gcr/builds/c3702b4b-7bc8-4861-944f-8490bf183078?project=united-backbone-186810"
}
}
}
DEBUG: Reading GCS logfile: 416 (no new content; keep polling)
------------------------------------------------------------------------------------------------------------------------
DEBUG: Converted YAML to JSON: "{
"betaSettings": {
"module_yaml_path": "app.yaml",
"vm_runtime": "nodejs"
},
"env": "flex",
"handlers": [
{
"script": {
"scriptPath": "PLACEHOLDER"
},
"urlRegex": ".*"
}
],
"runtime": "vm"
}"
DEBUG: Received operation: [apps/united-backbone-186810/operations/51892505-4cb2-4b11-8431-ee7b62f0f236]
DEBUG: Operation [apps/united-backbone-186810/operations/51892505-4cb2-4b11-8431-ee7b62f0f236] not complete. Waiting to retry.
Updating service [default] (this may take several minutes).../DEBUG: Operation [apps/united-backbone-186810/operations/51892505-4cb2-4b11-8431-ee7b62f0f236] not complete. Waiting to retry.
Updating service [default] (this may take several minutes)...\DEBUG: Operation [apps/united-backbone-186810/operations/51892505-4cb2-4b11-8431-ee7b62f0f236] complete. Result: {
"metadata": {
"target": "apps/united-backbone-186810/services/default/versions/20171122t164838",
"method": "google.appengine.v1.Versions.CreateVersion",
"user": "prafactor9@gmail.com",
"insertTime": "2017-11-22T11:19:14.120Z",
"ephemeralMessage": "Deployment failed. Attempting to cleanup deployment artifacts.",
"@type": "type.googleapis.com/google.appengine.v1.OperationMetadataV1"
},
"done": true,
"name": "apps/united-backbone-186810/operations/51892505-4cb2-4b11-8431-ee7b62f0f236",
"error": {
"message": "An internal error occurred while creating a Google Cloud Storage bucket.",
"code": 13
}
}
Updating service [default] (this may take several minutes)...failed.
DEBUG: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
Traceback (most recent call last):
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\cli.py", line 789, in Execute
resources = calliope_command.Run(cli=self, args=args)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\calliope\backend.py", line 756, in Run
resources = command_instance.Run(args)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\surface\app\deploy.py", line 65, in Run
parallel_build=False)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 587, in RunDeploy
flex_image_build_option=flex_image_build_option)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\command_lib\app\deploy_util.py", line 395, in Deploy
extra_config_settings)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\appengine_api_client.py", line 188, in DeployService
message=message)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 244, in WaitForOperation
sleep_ms=retry_interval)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 266, in WaitFor
sleep_ms=sleep_ms)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\core\util\retry.py", line 222, in RetryOnResult
if not should_retry(result, state):
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\util\waiter.py", line 260, in _IsNotDone
return not poller.IsDone(operation)
File "C:\Users\sudha\AppData\Local\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudsdk\api_lib\app\operations_util.py", line 169, in IsDone
encoding.MessageToPyValue(operation.error)))
OperationError: Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
ERROR: (gcloud.app.deploy) Error Response: [13] An internal error occurred while creating a Google Cloud Storage bucket.
C:\Users\sudha\Desktop\nodejs-docs-samples\appengine\hello-world>
Try by setting this configuration parameter first:
gcloud config set app/use_deprecated_preparation True
as proposed in Google's Public Issue Tracker
这篇关于错误回应:[13]创建Google云端存储分区时发生内部错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!