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

Nginx auto instrumentation failed to get nginx version on dash 0.5.10.2-5 #3651

Open
IldarMinaev opened this issue Jan 22, 2025 · 0 comments · May be fixed by #3650
Open

Nginx auto instrumentation failed to get nginx version on dash 0.5.10.2-5 #3651

IldarMinaev opened this issue Jan 22, 2025 · 0 comments · May be fixed by #3650
Labels
bug Something isn't working needs triage

Comments

@IldarMinaev
Copy link

Component(s)

auto-instrumentation

What happened?

Description

Nginx clone script template uses export command for new set variable with command substitution containing spaces. Some old shells can have errors (I have image with dash 0.5.10.2-5).

Steps to Reproduce

Run auto-instrumentation of pod with robotshop/rs-web:latest image.

Expected Result

Init container able to prepare auto-instrumentation of the pod.

Actual Result

Init container failed with error:

/bin/sh: 1: export: version:: bad variable name

Kubernetes Version

1.31.4

Operator version

0.116.0

Collector version

0.116.1

Environment information

Environment

OS: Rancher on Fedora 41

Log output

kubectl logs -n robot-shop web-5599c65d9f-rnfxn otel-agent-source-container-clone
/bin/sh: 1: export: version:: bad variable name

Additional context

No response

@IldarMinaev IldarMinaev added bug Something isn't working needs triage labels Jan 22, 2025
@IldarMinaev IldarMinaev linked a pull request Jan 22, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant