# ImagePullBackoff error on OneAgent and ActiveGate pods

**URL:** <https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906>\
**Category:** Troubleshooting\
**Tags:** kubernetes\
**Created:** [December 6, 2023, 8:00am UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906 "2023-12-06T08:00:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![darynakovyrina](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/darynakovyrina/32/30846_2.png) [@darynakovyrina](https://community.dynatrace.com/u/darynakovyrina)\
**Post date:** [December 6, 2023, 8:00am UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/1 "2023-12-06T08:00:00Z")

</div>

The underlying host’s container runtime doesn’t contain the certificate presented by your endpoint.

SpoilerThe `skipCertCheck` field in the DynaKube YAML doesn’t control this certificate check.&nbsp;Additionally, the `trustedCAs` field in the DynaKube YAML is used to add custom Root Certificate Authorities for communication with the Dynatrace API and does not apply to the ActiveGate.

Example error (the error message may vary):

```auto
desc = failed to pull and unpack image "<environment>/linux/activegate:latest": failed to resolve reference "<environment>/linux/activegate:latest": failed to do request: Head "<environment>/linux/activegate/manifests/latest": x509: certificate signed by unknown authority
Warning Failed ... Error: ErrImagePull
Normal BackOff ... Back-off pulling image "<environment>/linux/activegate:latest"
Warning Failed ... Error: ImagePullBackOff

```

In this example, if the description on your pod shows `x509: certificate signed by unknown authority`, you must fix the certificates on your Kubernetes hosts, or use the private repository configuration to store the images.&nbsp;Additionally, for issues related to Dynatrace API communication, you can use the `trustedCAs` configuration in the DynaKube YAML to trust additional RootCAs. This involves adding custom RootCAs from a configmap where the key to the data must be `"certs"`. This setting is specifically for enhancing security in API communications and does not influence the ActiveGate’s certificate handling.

---

<div class="post-metadata">

**Author:** ![Brijesh\_Saw](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/brijesh_saw/32/18901_2.png) [@Brijesh\_Saw](https://community.dynatrace.com/u/Brijesh_Saw)\
**Post date:** [December 12, 2023, 5:47pm UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/2 "2023-12-12T17:47:00Z")

</div>

Hi&nbsp;[@darynakovyrina](https://community.dynatrace.com/user/48950),

I have faced same issue with operator version v0.14.0, Where I got to know that there is a issue with operator itself and I rolled back to old operator version.  
Can you please try the same with different operator version.

Thanks and Regards

---

<div class="post-metadata">

**Author:** ![sirbaughmf](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sirbaughmf](https://community.dynatrace.com/u/sirbaughmf)\
**Post date:** [July 24, 2024, 3:57pm UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/3 "2024-07-24T15:57:22Z")

</div>

We too have this issue, what exactly is the fix for this issue.&nbsp; As I understand it, adding configMap and enabling trustedCAs is not the answer as it doesn’t apply to the OCP Active Gate.&nbsp; Thus what is the solution or workaround?

Much thx! Marcie

---

<div class="post-metadata">

**Author:** ![ronaldnnr](https://avatars.discourse-cdn.com/v4/letter/r/b782af/32.png) [@ronaldnnr](https://community.dynatrace.com/u/ronaldnnr)\
**Post date:** [July 25, 2024, 8:09pm UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/4 "2024-07-25T20:09:50Z")

</div>

Does anyone have a solution for this problem? I have the same problem

![ronaldnnr_1-1721938181244.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/7/4728fb5ded2d5882a728faa89c73b12cee7263fa.png)

---

<div class="post-metadata">

**Author:** ![gopher](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/gopher/32/5728_2.png) [@gopher](https://community.dynatrace.com/u/gopher)\
**Post date:** [September 2, 2024, 5:28am UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/5 "2024-09-02T05:28:57Z")

</div>

All,

After v0.14.0 The typical solution for this (One Agent, Active Gate, Operator) is to use the following annotation in the CRD

'[feature.dynatrace.com/no-proxy:](http://feature.dynatrace.com/no-proxy:) “\<your internal repository\>” and this will allow for the&nbsp; connectivity to your private repository.

This will allow communication to the private repository without going through the proxy and will allow for not using pull secrets on&nbsp;&nbsp;One Agent, Active Gate, Operator.&nbsp; &nbsp;If you are are using ‘code-module images’ you must have pull secrets at this point of time for it to download.

Thanks

---

<div class="post-metadata">

**Author:** ![attilaa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/attilaa/32/5251_2.png) [@attilaa](https://community.dynatrace.com/u/attilaa)\
**Post date:** [May 19, 2025, 1:15pm UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/6 "2025-05-19T13:15:48Z")

</div>

Hello Team,

After upgraded the Operator to 1.5.1 , we still have the problem on our environments with the following error messages:  
Failed to pull image “[Login - Dynatrace](http://pyx18484.live.dynatrace.com/linux/oneagent:1.313.38-raw)”: rpc error: code = Canceled desc = reading blob sha256:95833c5ea187db26ca343ae5e52555df0f14c8559fcc9b259479926bc4f7298b: Get “”: context canceled

---

<div class="post-metadata">

**Author:** ![shahinm](https://avatars.discourse-cdn.com/v4/letter/s/7ab992/32.png) [@shahinm](https://community.dynatrace.com/u/shahinm)\
**Post date:** [May 19, 2025, 1:22pm UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/7 "2025-05-19T13:22:59Z")

</div>

[@attilaa](https://community.dynatrace.com/user/51076) what is your container runtime client, is it crio?

---

<div class="post-metadata">

**Author:** ![attilaa](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/attilaa/32/5251_2.png) [@attilaa](https://community.dynatrace.com/u/attilaa)\
**Post date:** [May 30, 2025, 8:54am UTC](https://community.dynatrace.com/t/imagepullbackoff-error-on-oneagent-and-activegate-pods/42906/8 "2025-05-30T08:54:13Z")

</div>

Hello&nbsp;[@shahinm](https://community.dynatrace.com/user/12486)

Yes, it is CRI-O.  
We already raised a support case:&nbsp;[Re: [Dynatrace] Re: Openshift Dynatrace Operator update issues – Dynatrace](https://one.dynatrace.com/hc/en-us/requests/482474)  
I saw your article:&nbsp;[Intermittent failures when pulling OneAgent container images [CRI-O \<v1.32] - Dynatrace Community](https://community.dynatrace.com/topic/277911)
