'GCP Vertex AI Service Agent access to GCR image Error
I am getting the below error. Does anyone have any idea how to solve it?
Failed to create pipeline job. Error: Vertex AI Service Agent
'[email protected]' should be granted
access to the image gcr.io/gcp-project-id/application:latest
Solution 1:[1]
This error may have occurred due to missing roles or permissions for pulling and pushing images into Container Registry. All the users and service accounts must be given appropriate permissions for Cloud Storage who interact with Container Registry. You can give roles/storage.objectViewer, roles/storage.legacyBucketWriter and roles/storage.admin to your service account to access your image in Container Registry using the service-account. You can follow this doc for giving appropriate roles and permissions to the Service Account.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Shipra Sarkar |
