This message was deleted.
# support
s
This message was deleted.
n
Can you check if you can exec into the otel collector and access those paths? There might be some mounting isssue. @Prashant Shahi incase you have seen this ^
p
Only
/var/log
and
/var/lib/docker/containers
host paths are mounted in otel-agent pod.
can you share which kubernetes vendor or tools you are using?
Also, Kubernetes CRI?
c
@nitya-signoz @Prashant Shahi Thanks, we on Linode Kubernetes Engine - LKE -
current Kubernetes version: v1.28.6
Kubernetes CRI
Copy code
Version:  0.1.0
RuntimeName:  containerd
RuntimeVersion:  1.6.25
RuntimeApiVersion:  v1
getting ERROR when try to
exec
into
otel-agent
pod
Copy code
➜  ~ kubectl -n platform exec -it prod-signoz-k8s-infra-otel-agent-kwj7z -- /bin/bash
Warning: Use tokens from the TokenRequest API or manually created secret-based tokens instead of auto-generated secret-based tokens.
error: Internal error occurred: error executing command in container: failed to exec in container: failed to start exec "07a610eeaa9278fed88dcf722227c0e32f94dc1efff7103f398f43f7fdd7fe6d": OCI runtime exec failed: exec failed: unable to start container process: exec: "/bin/bash": stat /bin/bash: no such file or directory: unknown
FYI,
/app/resources/logs/access-\${HOSTNAME}.log
<-- this Path from App POD so from host /
otel-agent
- it should be
Copy code
/var/log/pods/default_*/*/app/resources/logs/*.log
Correct ?
@nitya-signoz @Prashant Shahi - open bug in Github for this - #4539 if this help. Thanks
👍 2