我正在尝试按照本指南创建和使用自定义图像,但出现错误。
$ gcutil --project=es-cloud addimage elasticsearch-0-90-2 gs://esimage/e4686d7f5bf904a924ae0cfeb58d0827c6d5b966.image.tar.gz --preferred_kernel=projects/google/global/kernels/gce-v20130603
它给:
INFO: Waiting for insert of image elasticsearch-0-90-2. Sleeping for 3s.
+---------------------+-------------------------------------------------+
| property | value |
+---------------------+-------------------------------------------------+
| name | operation-1372347522289-4e0248e924631-f9512254 |
| region | |
| zone | |
| creation-time | |
| status | DONE |
| progress | 100 |
| status-message | |
| target | elasticsearch-0-90-2 |
| target-id | |
| client-operation-id | |
| insert-time | 2013-06-27T08:38:42.289-07:00 |
| user | 338179480470@project.gserviceaccount.com |
| start-time | 2013-06-27T08:38:42.346-07:00 |
| end-time | |
| operation-type | insert |
| error-code | 403 |
| error-message | FORBIDDEN |
| warning | |
| warning-message | |
| | |
| errors | |
| | |
| error | PERMISSIONS_ERROR |
| message | Required 'read' permission for 'rawDisk.source' |
+---------------------+-------------------------------------------------+
我不明白错误信息。
我可以使用以下方法读取我的磁盘:
$ gsutil ls gs://esimage
给
gs://esimage/e4686d7f5bf904a924ae0cfeb58d0827c6d5b966.image.tar.gz
我正在使用 gcutil 1.8.1。
我错过了在某处添加权限吗?谢谢你的帮助。