bitnami / containers

Bitnami container images
https://bitnami.com
Other
3.35k stars 4.81k forks source link

[bitnami/nginx-ingress-controller] Error Loading libabsl_synchronization.so.2206.0.0 when Enabling OpenTelemetry in Bitnami NGINX Ingress Controller #73142

Open kobin23 opened 1 week ago

kobin23 commented 1 week ago

Name and Version

bitnami/nginx-ingress-controller:1.11.2-debian-12-r5

What architecture are you using?

amd64

What steps will reproduce the bug?

  1. Enable OpenTelemetry in the Helm Chart by specifying enable-opentelemetry: "true" in config section of values file.
  2. Deploy the Bitnami NGINX Ingress Controller Helm Chart on a Kubernetes cluster.
  3. Observe the error in the controller logs.

What is the expected behavior?

Ingress controller should enable OpenTelemetry module

What do you see instead?

Error: exit status 1
2024/10/07 17:09:53 [emerg] 1609#1609: dlopen() "/etc/nginx/modules/otel_ngx_module.so" failed (libabsl_synchronization.so.2206.0.0: cannot open shared object file: No such file or directory) in /tmp/nginx/nginx-cfg759397434:7
nginx: [emerg] dlopen() "/etc/nginx/modules/otel_ngx_module.so" failed (libabsl_synchronization.so.2206.0.0: cannot open shared object file: No such file or directory) in /tmp/nginx/nginx-cfg759397434:7
nginx: configuration file /tmp/nginx/nginx-cfg759397434 test failed

Additional information

No response

migruiz4 commented 5 days ago

Thank you for reporting this issue @kobin23

We have detected an issue with the /etc/nginx/modules/otel_ngx_module.so linked dependencies and we are currently working on a fix.

I have no name!@nginx-ingress-controller-7cc6c57448-2ch4l:/etc/nginx$ ldd modules/otel_ngx_module.so 
...
        libabsl_synchronization.so.2206.0.0 => not found
...