{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/2738","repository_url":"https://api.github.com/repos/kubernetes/ingress-nginx","labels_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/2738/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/2738/comments","events_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/2738/events","html_url":"https://github.com/kubernetes/ingress-nginx/issues/2738","id":337902176,"node_id":"MDU6SXNzdWUzMzc5MDIxNzY=","number":2738,"title":"nginx: [error] Failed to load tracing library /usr/local/lib/libjaegertracing.so","user":{"login":"mikebryant","id":1478103,"node_id":"MDQ6VXNlcjE0NzgxMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1478103?v=4","gravatar_id":"","url":"https://api.github.com/users/mikebryant","html_url":"https://github.com/mikebryant","followers_url":"https://api.github.com/users/mikebryant/followers","following_url":"https://api.github.com/users/mikebryant/following{/other_user}","gists_url":"https://api.github.com/users/mikebryant/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebryant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebryant/subscriptions","organizations_url":"https://api.github.com/users/mikebryant/orgs","repos_url":"https://api.github.com/users/mikebryant/repos","events_url":"https://api.github.com/users/mikebryant/events{/privacy}","received_events_url":"https://api.github.com/users/mikebryant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-07-03T13:35:43Z","updated_at":"2018-07-04T11:11:50Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions.-->\r\n\r\n**Is this a request for help?** (If yes, you should use our troubleshooting guide and community support channels, see https://kubernetes.io/docs/tasks/debug-application-cluster/troubleshooting/.): No\r\n\r\n**What keywords did you search in NGINX Ingress controller issues before filing this one?** (If you have found any duplicates, you should instead reply there.): Failed to load tracing library\r\n\r\n---\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one): BUG REPORT\r\n\r\n**NGINX Ingress controller version**: 0.16.2\r\n\r\n\r\n**Kubernetes version** (use `kubectl version`):\r\n```\r\nClient Version: version.Info{Major:\"1\", Minor:\"8\", GitVersion:\"v1.8.7\", GitCommit:\"b30876a5539f09684ff9fde266fda10b37738c9c\", GitTreeState:\"clean\", BuildDate:\"2018-01-16T21:59:57Z\", GoVersion:\"go1.8.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\nServer Version: version.Info{Major:\"1\", Minor:\"8+\", GitVersion:\"v1.8.7+coreos.0\", GitCommit:\"768e049ab5230010251f30475e0e785e2e999566\", GitTreeState:\"clean\", BuildDate:\"2018-01-18T00:17:18Z\", GoVersion:\"go1.8.3\", Compiler:\"gc\", Platform:\"linux/amd64\"}\r\n```\r\n\r\n**Environment**:\r\n\r\n- **Cloud provider or hardware configuration**:\r\n- **OS** (e.g. from /etc/os-release):\r\n- **Kernel** (e.g. `uname -a`):\r\n- **Install tools**:\r\n- **Others**:\r\n\r\n\r\n**What happened**:\r\n\r\nTried to upgrade to 0.16.2 from 0.15.0. Have opentracing  with the jaeger backend configured. It fails to load, with the following output\r\n\r\n```\r\nI0703 13:32:58.009633       7 controller.go:169] Configuration changes detected, backend reload required.\r\nE0703 13:32:58.628312       7 controller.go:175] Unexpected failure reloading the backend:\r\n\r\n-------------------------------------------------------------------------------\r\nError: exit status 1\r\n2018/07/03 13:32:58 [error] 111#111: Failed to load tracing library /usr/local/lib/libjaegertracing.so: H�  \r\nnginx: [error] Failed to load tracing library /usr/local/lib/libjaegertracing.so: H�  \r\nnginx: configuration file /tmp/nginx-cfg156395180 test failed\r\n\r\n-------------------------------------------------------------------------------\r\nW0703 13:32:58.628337       7 queue.go:130] requeuing kube-system/kube-dns, err \r\n-------------------------------------------------------------------------------\r\nError: exit status 1\r\n2018/07/03 13:32:58 [error] 111#111: Failed to load tracing library /usr/local/lib/libjaegertracing.so: H�  \r\nnginx: [error] Failed to load tracing library /usr/local/lib/libjaegertracing.so: H�  \r\nnginx: configuration file /tmp/nginx-cfg156395180 test failed\r\n\r\n-------------------------------------------------------------------------------\r\n```\r\n\r\n\r\n**What you expected to happen**:\r\nTo be able to load the config\r\n\r\n\r\n**How to reproduce it** (as minimally and precisely as possible):\r\n\r\n\r\n```\r\nm@hotppc17686:~$ docker run -it --user 0 --rm --entrypoint=/bin/bash mirror-quay.docker.tech.lastmile\r\n.com/kubernetes-ingress-controller/nginx-ingress-controller:0.16.2 \r\nroot@be9ef4ddd0da:/etc/nginx# cat /etc/nginx/opentracing.json\r\n{                        \r\n          \"service_name\": \"nginxingresscontroller\",\r\n            \"sampler\": { \r\n                            \"type\": \"remote\",     \r\n                                    \"param\": 1\r\n                                      },\r\n                                        \"reporter\": {\r\n                                                        \"localAgentHostPort\": \"127.0.0.1:6831\"\r\n                                                          }\r\n}\r\n\r\nroot@be9ef4ddd0da:/etc/nginx# cat /etc/nginx/nginx.conf                                              \r\n# A very simple nginx configuration file that forces nginx to start.                                 \r\npid /tmp/nginx.pid;                                                                                  \r\n                                                                     \r\nload_module /etc/nginx/modules/ngx_http_opentracing_module.so;                                       \r\nevents {}                                                                    \r\n# Load the OpenTracing dynamic module.                                                               \r\n                                                                                                     \r\nhttp {                                                                                               \r\n  # Load a vendor tracer                                                                             \r\n  #opentracing_load_tracer /usr/local/lib/libjaegertracing_plugin.so /etc/jaeger-nginx-config.json;  \r\n  opentracing_load_tracer /usr/local/lib/libjaegertracing.so       /etc/nginx/opentracing.json;      \r\n                                                                                                     \r\n  # or                                                                                               \r\n  #   opentracing_load_tracer /usr/local/lib/liblightstep_tracer_plugin.so /path/to/config;          \r\n  # or                                                                                               \r\n  #   opentracing_load_tracer /usr/local/lib/libzipkin_opentracing_plugin.so /path/to/config;\r\n                                                                                                     \r\n  # Enable tracing for all requests.                             \r\n  opentracing on;                                                                                    \r\n                                                                                                     \r\n  # Optionally, set additional tags.                                                                 \r\n  opentracing_tag http_user_agent $http_user_agent;                                                  \r\n                                                                                                     \r\n  upstream backend {                                                                          \r\n    server app-service:9001;                                                                         \r\n  }                                                                        \r\n                                                                                              \r\n  location ~ {                                                                                      \r\n    # The operation name used for spans defaults to the name of the location                  \r\n    # block, but you can use this directive to customize it.                                        \r\n    opentracing_operation_name $uri;                                               \r\n                                                                                                    \r\n    # Propagate the active span context upstream, so that the trace can be\r\n    # continued by the backend.                                                                     \r\n    # See http://opentracing.io/documentation/pages/api/cross-process-tracing.html              \r\n    opentracing_propagate_context;                                                                  \r\n                                                                                            \r\n    proxy_pass http://backend;                                                                       \r\n  }                                                                                                  \r\n}                                                                                                    \r\ndaemon off;                \r\nroot@be9ef4ddd0da:/etc/nginx# nginx -c /etc/nginx/nginx.conf\r\n2018/07/04 11:03:37 [error] 320#320: Failed to load tracing library /usr/local/lib/libjaegertracing.so: H  \r\nnginx: [error] Failed to load tracing library /usr/local/lib/libjaegertracing.so: H  \r\nroot@be9ef4ddd0da:/etc/nginx# \r\n\r\n\r\n```\r\n\r\n\r\n**Anything else we need to know**:\r\n"},"comment":{"url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/comments/402447551","html_url":"https://github.com/kubernetes/ingress-nginx/issues/2738#issuecomment-402447551","issue_url":"https://api.github.com/repos/kubernetes/ingress-nginx/issues/2738","id":402447551,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjQ0NzU1MQ==","user":{"login":"mikebryant","id":1478103,"node_id":"MDQ6VXNlcjE0NzgxMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1478103?v=4","gravatar_id":"","url":"https://api.github.com/users/mikebryant","html_url":"https://github.com/mikebryant","followers_url":"https://api.github.com/users/mikebryant/followers","following_url":"https://api.github.com/users/mikebryant/following{/other_user}","gists_url":"https://api.github.com/users/mikebryant/gists{/gist_id}","starred_url":"https://api.github.com/users/mikebryant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikebryant/subscriptions","organizations_url":"https://api.github.com/users/mikebryant/orgs","repos_url":"https://api.github.com/users/mikebryant/repos","events_url":"https://api.github.com/users/mikebryant/events{/privacy}","received_events_url":"https://api.github.com/users/mikebryant/received_events","type":"User","site_admin":false},"created_at":"2018-07-04T11:11:50Z","updated_at":"2018-07-04T11:11:50Z","author_association":"NONE","body":"Following https://github.com/opentracing-contrib/nginx-opentracing/tree/master/example/trivial/ubuntu-x86_64 more closely, and downloading the binary releases explicitly (`wget -O libjaegertracing_plugin.so https://github.com/jaegertracing/jaeger-client-cpp/releases/download/v0.4.1/libjaegertracing_plugin.linux_amd64.so`) fixes the issue..."}}
{"actor":{"display_login":"mikebryant"}}