我正在尝试使用控制台或 gcloud 创建自定义图片,即( 注意: 网址被 [naURL] 掩盖以解决网址发布限制。):
$ gcloud compute images create debian-9-1-v20170810-1 --source-uri = https:[naURL] // storage.googleapis.com/ [my bucket] /compressed-image.tar.gz
命令运行大约半小时(即1800s),然后给出以下错误:
错误:(gcloud.compute.images.create)无法获取资源: - 未在19世纪内创建以下资源:https:[naURL] // www.googleapis.com/compute/v1/projects/spherical-proxy-175708/global/images/debian-9-1-v20170810-1。这些操作可能仍在远程进行,并且仍可能成功;使用gcloud list并描述命令或https:[naURL] // console.developers.google.com/来检查资源状态
通过项目的控制台>计算引擎>操作可访问的相应REST记录为:
{
"kind": "compute#operation",
"id": "5371669110648613089",
"name": "operation-1502320142020-5565a2a676da1-06d76920-4c86568d",
"operationType": "insert",
"targetLink": "https:[naURL]//www.googleapis.com/compute/v1/projects/spherical-proxy-175708/global/images/debian-9-1-v20170810-1",
"targetId": "3098231522309056737",
"status": "DONE",
"user": "andree.leidenfrost@gmail.com",
"progress": 100,
"insertTime": "2017-08-09T16:09:02.501-07:00",
"startTime": "2017-08-09T16:09:03.136-07:00",
"endTime": "2017-08-09T16:59:29.128-07:00",
"error": {
"errors": [
{
"code": "INTERNAL_ERROR",
"message": "Code: '8625676013601614622'"
}
]
},
"httpErrorStatusCode": 503,
"httpErrorMessage": "SERVICE UNAVAILABLE",
"selfLink": "https:[naURL]//www.googleapis.com/compute/v1/projects/spherical-proxy-175708/global/operations/operation-1502320142020-5565a2a676da1-06d76920-4c86568d"
}
因为HTTP错误是503“SERVICE UNAVAILABLE”我在过去几天尝试了几次但问题仍然存在。
我正在尝试按照文档Importing Boot Disk Images to Compute Engine中的说明进行操作。
任何帮助或提示如何进一步调试将非常感谢!