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

Cant see any data in NR , queries are not running automatically in container #45

Open
choudrybabu opened this issue Jan 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@choudrybabu
Copy link

Description

able to deploy the container but we see the below error message in the NR logs, tried install few packages to the image but no luck

Steps to Reproduce

Here is the contents of the docker file i used

FROM newrelic/infrastructure:latest
ADD newrelic-infra.yml /etc/newrelic-infra.yml

#add zscaler cert for installing packages/libraries/binaries in the image
ADD ZscalerRootCertificate-2048-SHA256.crt /usr/local/share/ca-certificates/ZscalerRootCertificate-2048-SHA256.crt

RUN cat /usr/local/share/ca-certificates/ZscalerRootCertificate-2048-SHA256.crt >> /etc/ssl/certs/ZscalerRootCertificate-2048-SHA256.crt

RUN apk update
RUN apk upgrade

RUN apk add git

RUN apk upgrade musl
RUN apk add libstdc++
RUN apk add libgcc

#Clone the git repo from github
RUN git clone https://github.com/newrelic/newrelic-snowflake-integration.git

#executable needed for the integration, downloaded from github repo
ADD snowflakeintegration-linux /newrelic-snowflake-integration/snowflakeintegration-linux

grant execute access on the file

RUN chmod +x /newrelic-snowflake-integration/snowflakeintegration-linux

#delete the github config file
RUN rm -rf /newrelic-snowflake-integration/config.yaml

#copy the modified wfs credentials config file
ADD config.yaml /newrelic-snowflake-integration/config.yaml

#flex file which calls queries and posts data to new relic
ADD flex-snowflake-linux.yml /etc/newrelic-infra/integrations.d/flex-snowflake-linux.yml

#define env variables
ENV NEWRELIC_SNOWFLAKE_HOME=/newrelic-snowflake-integration
ENV LD_LIBRARY_PATH=/lib64
ENV NEWRELIC_SNOWFLAKE_CONFIG_PATH=/newrelic-snowflake-integration/config.yaml

Expected Behavior

expected the container to send numbers and metric to NR

Relevant Logs / Console output

Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: gnu_get_libc_version: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: backtrace_symbols: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: __register_atfork: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: __strdup: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: setcontext: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: makecontext: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: backtrace: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: getcontext: symbol not found
Error relocating /newrelic-snowflake-integration/snowflakeintegration-linux: __libc_stack_end: symbol not found

Your Environment

  • ex: Browser name and version:
  • ex: Operating System and version:

Additional context

@choudrybabu choudrybabu added the bug Something isn't working label Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant