[
https://issues.apache.org/jira/browse/LIBCLOUD-900?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dylan Semler updated LIBCLOUD-900:
----------------------------------
Summary: Instructions for connecting to Google Compute Engine missing a
permissions step (was: Instructions for connecting to Google Compute Engine
missing a scope step)
> Instructions for connecting to Google Compute Engine missing a permissions
> step
> -------------------------------------------------------------------------------
>
> Key: LIBCLOUD-900
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-900
> Project: Libcloud
> Issue Type: Bug
> Components: Documentation
> Reporter: Dylan Semler
> Priority: Trivial
>
> The instructions for using libcloud with GCE cloud storage[1] are quite good,
> except they appear to be missing a step. If you follow the instructions
> using a Service Account and then follow the first example, you will get an
> error
> {noformat}
> GoogleBaseError: {'domain': 'global', 'reason': 'forbidden', 'message':
> "Required 'compute.zones.list' permission for 'projects/<project id>'"}
> {noformat}
> The user needs to take an additional step to provide the newly-created
> service account permission to list the compute zones. I don't know if there
> are other ways to achieve this, but one way is to go to IAM & Admin -> IAM
> (on the left menu panel) -> ADD. Fill in your new service account in the
> Members field and then select the role Compute Engine -> Compute Network
> Viewer.
> [1] http://libcloud.readthedocs.io/en/latest/compute/drivers/gce.html
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)