We are running into a Docker rate limit error when trying to install the universalmonitoragent UMA using ansible deployment. We want to know if it is possible to pull a local copy of the image to use during deployment.
We are working with ansible code to deploy the caapm agent into OpenShift 4.x clusters. The docker image for caapm is downloaded from Docker Hub. Recently, Docker added rate limiting to image downloads (see https://docs.docker.com/docker-hub/download-rate-limit/). We ran into the new docker limit error:
Pulling image "caapm/universalmonitoragent:uma-operator-xx.xx.0.117"
7m22s Normal Pulled pod/clusterinfo-587sad7d8996c-crllp Successfully pulled image "caapm/universalmonitoragent:uma-operator-xx.xx.0.117" in 524.73374ms
7m22s Warning Failed pod/clusterinfo-587sad7d8996c-crllp Error: container create failed: time="2021-02-24T01:15:39Z" level=error msg="container_linux.go:366: starting container process caused: exec: \"/usr/local/openshift/apmia/jre/bin/java\": stat /usr/local/openshift/apmia/jre/bin/java: no such file or directory"
105s Warning Failed pod/clusterinfo-587sad7d8996c-crllp Failed to pull image "caapm/universalmonitoragent:uma-operator-xx.xx.0.117": rpc error: code = Unknown desc = Error reading manifest uma-operator-xx.xx.0.117 in docker.io/caapm/universalmonitoragent: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
105s Warning Failed pod/clusterinfo-587sad7d8996c-crllp Error: ErrImagePull
Release : SAAS
Component : APM Agent
Please check and see if you can get the agent directly from the Red Hat catalog.
Home -> Software -> OpenShift operators -> CA Application Performance Management for Openshift