# Deployment seems successful, but the dynatrace-oneagent container doesn't produce meaningful logs

**URL:** <https://community.dynatrace.com/t/deployment-seems-successful-but-the-dynatrace-oneagent-container-doesnt-produce-meaningful-logs/42897>\
**Category:** Troubleshooting\
**Tags:** kubernetes\
**Created:** [December 21, 2023, 8:10pm UTC](https://community.dynatrace.com/t/deployment-seems-successful-but-the-dynatrace-oneagent-container-doesnt-produce-meaningful-logs/42897 "2023-12-21T20:10:00Z")\
**Posts on this page:** 2\
**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 21, 2023, 8:10pm UTC](https://community.dynatrace.com/t/deployment-seems-successful-but-the-dynatrace-oneagent-container-doesnt-produce-meaningful-logs/42897/1 "2023-12-21T20:10:00Z")

</div>

**DaemonSet**

1. Check the status of the OneAgent pod in your environment:

### Kubernetes

```auto
kubectl get pods --namespace=kube-system
<br>> NAME READY STATUS RESTARTS AGE
  dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s

```

### OpenShift

```auto
oc get pods

> NAME READY STATUS RESTARTS AGE
  dynatrace-oneagent-abcde 0/1 ContainerCreating 0 3s

```

2. View the logs of the OneAgent pod:

### Kubernetes

```auto
kubectl logs -f dynatrace-oneagent-abcde --namespace=kube-system

```

### OpenShift

```auto
oc logs -f dynatrace-oneagent-abcde

```

The following error&nbsp;is typically the case if the container hasn’t yet fully started. Simply wait a few more seconds.

`> Error from server (BadRequest): container "dynatrace-oneagent" in pod "dynatrace-oneagent-abcde" is waiting to start: ContainerCreating`

---

<div class="post-metadata">

**Author:** ![radek\_jasinski](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/radek_jasinski/32/10432_2.png) [@radek\_jasinski](https://community.dynatrace.com/u/radek_jasinski)\
**Post date:** [December 21, 2023, 9:43pm UTC](https://community.dynatrace.com/t/deployment-seems-successful-but-the-dynatrace-oneagent-container-doesnt-produce-meaningful-logs/42897/2 "2023-12-21T21:43:46Z")

</div>

This advice is worth remembering.
