我们尝试从 Google Marketplace 部署 Bitnami Djangostack。但是,在部署过程中我们似乎遇到了权限错误:
Error: {"ResourceType":"compute.v1.instance","ResourceErrorCode":"403","ResourceErrorMessage":{"code":403,"errors":[{"domain":"global","message":"Required 'compute.instances.create' permission for 'projects/xyz/zones/asia-east1-a/instances/django-1-vm'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.disks.create' permission for 'projects/xyz/zones/asia-east1-a/disks/django-1-vm'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.subnetworks.use' permission for 'projects/xyz/regions/asia-east1/subnetworks/default'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.subnetworks.useExternalIp' permission for 'projects/xyz/regions/asia-east1/subnetworks/default'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.instances.setMetadata' permission for 'projects/xyz/zones/asia-east1-a/instances/django-1-vm'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.instances.setTags' permission for 'projects/xyz/zones/asia-east1-a/instances/django-1-vm'","reason":"forbidden"},{"domain":"global","message":"Required 'compute.instances.setServiceAccount' permission for 'projects/xyz/zones/asia-east1-a/instances/django-1-vm'","reason":"forbidden"}],"message":"Required 'compute.instances.create' permission for 'projects/xyz/zones/asia-east1-a/instances/django-1-vm'","statusMessage":"Forbidden","requestPath":"https://compute.googleapis.com/compute/v1/projects/xyz/zones/asia-east1-a/instances","httpMethod":"POST","suggestion":"Consider granting permissions to [email protected]"}}
我们已经提供了建议中提到的计算管理员权限。