I wanted to create a custom training in vertex ai.
I followed exactly the steps listed in the google courses : https://codelabs.developers.google.com/vertex-p2p-training#4
I have the same error via the CLI or the UI
The only thing i change is the location, i put my artifact registry and my vertex ai training job in europewest9
But i have an error my custom training do not seem to use a service account :
Training pipeline failed with error message: Docker image 'europe-west9-docker.pkg.dev/XXX/train-model/train-model@sha256:d2a4d2adae12fe3e39532c03d943ab55abdf5ad8b9d217275ec4f69a098b7bd8' could not be pulled. Details: Error response from daemon: Get "https://europe-west9-docker.pkg.dev/v2/XXX/train-model/train-model/manifests/sha256:d2a4d2adae12fe3e...": denied: Unauthenticated request. Unauthenticated requests do not have permission "artifactregistry.repositories.downloadArtifacts" on resource "projects/cagip-genai-sbox-2e5b/locations/europe-west9/repositories/train-model" (or it may not exist)
I add "artifact registry reader" autorisation to almost all service account even the default one Vertex ai code agent, vertex ai agent ...
i tried to specified the service account i want.
i created via the UI a new worker pool
Thx for the respond
This might be a case of erroneous project name, I suggest check your environment variables with this as a troubleshoot.
I also suggest following the post from SO to authenticate the image. for example this command:
gcloud auth configure-docker us-east1-docker.pkg.dev