Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a Vertex AI Tensorboard instance failed with permission error #5

Open
myoshimu opened this issue Nov 22, 2022 · 1 comment
Open

Comments

@myoshimu
Copy link
Member

I tried to follow this step but when I run the "gcloud ai tensorboards create" command it failed with permission error. Maybe permission required for the service account?
https://github.com/GoogleCloudPlatform/t5x-on-vertex-ai#create-a-vertex-ai-tensorboard-instance

(base) jupyter@t5x:~/t5x-on-vertex-ai$ gcloud ai tensorboards create --display-name $DISPLAY_NAME --project $PROJECT_ID --region=$REGION
Using endpoint [https://us-central1-aiplatform.googleapis.com/]
ERROR: (gcloud.ai.tensorboards.create) PERMISSION_DENIED: Permission 'aiplatform.tensorboards.create' denied on resource '//aiplatform.googleapis.com/projects/kmikit5x/locations/us-central1' (or it may not exist).

  • '@type': type.googleapis.com/google.rpc.ErrorInfo
    domain: aiplatform.googleapis.com
    metadata:
    permission: aiplatform.tensorboards.create
    resource: projects/kmikit5x/locations/us-central1
    reason: IAM_PERMISSION_DENIED
@leiterenato
Copy link
Contributor

leiterenato commented Nov 22, 2022

Hi @myoshimu,
To create a new Tensorboard instance on Vertex AI you need the aiplatform.tensorboards.create permission on that specific project.

Here is a list of Roles on IAM that carry this permission:
Screen Shot 2022-11-22 at 13 18 27

Vertex AI User can be a good candidate. Try to grant this role for your user and try again.
Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants