Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentelemetry-auto-instrumentation-dotnet init container just fails to start #100

Open
ymor opened this issue Sep 4, 2024 · 2 comments
Open

Comments

@ymor
Copy link

ymor commented Sep 4, 2024

Image: 602401143452.dkr.ecr.eu-west-2.amazonaws.com/eks/observability/adot-autoinstrumentation-dotnet:v1.2.0

cp: preserving times for '/otel-auto-instrumentation-dotnet/.': Operation not permitted

This is the only log from the container itself.

Describe logs:

opentelemetry-auto-instrumentation-dotnet:
    Container ID:  containerd://59e667e0ec408c37a61850defce4ca0ec60a8570b09cc10a8d75a577fd848eb0
    Image:         602401143452.dkr.ecr.eu-west-2.amazonaws.com/eks/observability/adot-autoinstrumentation-dotnet:v1.2.0
    Image ID:      602401143452.dkr.ecr.eu-west-2.amazonaws.com/eks/observability/adot-autoinstrumentation-dotnet@sha256:e22607f4032502c4f971e249de5686ec7ed30c75f9cc180a405173b3992aa4fd
    Port:          <none>
    Host Port:     <none>
    Command:
      cp
      -a
      /autoinstrumentation/.
      /otel-auto-instrumentation-dotnet
    State:          Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Wed, 04 Sep 2024 11:04:10 +0000
      Finished:     Wed, 04 Sep 2024 11:04:10 +0000
    Last State:     Terminated
      Reason:       Error
      Exit Code:    1
      Started:      Wed, 04 Sep 2024 11:03:17 +0000
      Finished:     Wed, 04 Sep 2024 11:03:17 +0000
    Ready:          False
    Restart Count:  4
    Limits:
      cpu:     500m
      memory:  128Mi
    Requests:
      cpu:     50m
      memory:  128Mi

Same issue occurs when I annotate any of my .net (8) applications using instrumentation.opentelemetry.io/inject-dotnet: "true"

@pxaws
Copy link
Member

pxaws commented Oct 17, 2024

The error indicates that the cp command is attempting to preserve the original file timestamps (such as access time and modification time) during the copy operation, but it doesn't have the necessary permissions to do so. I guess sometime the file system might not support support preserving timestamps or has restricted permissions.

I think we need more information to reproduce the issue on our end. Could you provide information regarding the EKS cluster and the filesystem that you use for your application (or how you configure it)?

@ymor
Copy link
Author

ymor commented Oct 17, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants