Hi, did you manage to figure out the solution?
I'm also experiencing problems when using images from an Artifactory Docker registry and Microsoft documentation is very lacking in that regard.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are using a private Artifactory registry for our Docker images and have added a ContainerRegistry connection to the Azure ML workspace to authenticate.
This connection is working fine to run Jobs, but when creating online endpoint deployments we get the following error message:
{"level":"[ERROR]","ts":"Jun 13 13:30:39","logger":"VMAgent.ImageFetcher","caller":"imagefetcher/image_fetcher.go:641","msg":"ctr pull image failed","imageURL":"xxx.jfrog.io/xxx/xxx:v0.1.0","error":"exit status 1","stderr":"time=\"2023-06-13T13:30:39Z\" level=info msg=\"trying next host\" error=\"failed to authorize: failed to fetch anonymous token: unexpected status: 401 \" host=xxx.jfrog.io\nctr: failed to resolve reference \"xxx.jfrog.io/xxx/xxx:v0.1.0\": failed to authorize: failed to fetch anonymous token: unexpected status: 401 \n","stacktrace":"goms.io/azureml/mir/mir-vmagent/pkg/imagefetcher.(*ctrCommandExecutor).PullImage\n\t/mnt/vss/_work/1/s/pkg/imagefetcher/image_fetcher.go:641\ngoms.io/azureml/mir/mir-vmagent/pkg/imagefetcher.(*ImageFetcher).PullAllImages.func1.1\n\t/mnt/vss/_work/1/s/pkg/imagefetcher/image_fetcher.go:271\ngoms.io/azureml/mir/mir-vmagent/pkg/common.RetryWithCondition\n\t/mnt/vss/_work/1/s/pkg/common/code_util.go:29\ngoms.io/azureml/mir/mir-vmagent/pkg/common.Retry\n\t/mnt/vss/_work/1/s/pkg/common/code_util.go:22\ngoms.io/azureml/mir/mir-vmagent/pkg/imagefetcher.(*ImageFetcher).PullAllImages.func1\n\t/mnt/vss/_work/1/s/pkg/imagefetcher/image_fetcher.go:269\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\t/opt/hostedtoolcache/go/1.18.5/x64/pkg/mod/golang.org/x/sync@v0.1.0/errgroup/errgroup.go:75"}
Is there a reason why the connection does not seem to work for deployments? How can this be fixed?
Hi, did you manage to figure out the solution?
I'm also experiencing problems when using images from an Artifactory Docker registry and Microsoft documentation is very lacking in that regard.
Microsoft Support confirmed that this feature is not supported for endpoints, so we had to migrate to Azure Container Registry.