Splunk AppDynamics

python agent failing on mac m1 pro

SIVA_KURAPATI
Engager

hi Team,

Docker build is failing with this error.

=> ERROR [15/16] RUN sed -i 's/<AppenderRef ref=\"Console\"\/>/<!-- <AppenderRef ref=\"Console\"\/> -->/g' /usr/local/lib/python3.10/site-packages/appdynamics_bindeps/proxy/conf/logging/log4j2.xml 

below is the pkg version

appdynamics==23.8.0.6197

appdynamics-bindeps is not getting pulled/installed 

tried with latest version of appdynamics pkg .. same experience..
appdynamics==24.2.0.6567

this is happening only on mac m1 pro.

adding explicitly "appdynamics-bindeps-linux-x64==23.8.0" in requirements.txt

is giving below error.

File "/tmp/appd/lib/cp310-cp310-ffd7b4d13d09a0572eb0f3d85bb006d0043821e28e0e1e2c12f81995da1bd796/site-packages/appdynamics_bindeps/zmq/backend/cython/__init__.py", line 6, in <module>
2024-04-10 11:14:44 from . import (constants, error, message, context,
2024-04-10 11:14:44 ImportError: cannot import name 'constants' from partially initialized module 'appdynamics_bindeps.zmq.backend.cython' (most likely due to a circular import) (/tmp/appd/lib/cp310-cp310-ffd7b4d13d09a0572eb0f3d85bb006d0043821e28e0e1e2c12f81995da1bd796/site-packages/appdynamics_bindeps/zmq/backend/cython/__init__.py)

Labels (1)
Tags (4)
0 Karma
1 Solution

SIVA_KURAPATI
Engager

resolved this.. by adding "

--platform=linux/amd64

while pulling the image..

for instance 
use 

FROM --platform=linux/amd64 tiangolo/uvicorn-gunicorn-fastapi:python3.10

instead of 

FROM  tiangolo/uvicorn-gunicorn-fastapi:python3.10 

View solution in original post

0 Karma

SIVA_KURAPATI
Engager

resolved this.. by adding "

--platform=linux/amd64

while pulling the image..

for instance 
use 

FROM --platform=linux/amd64 tiangolo/uvicorn-gunicorn-fastapi:python3.10

instead of 

FROM  tiangolo/uvicorn-gunicorn-fastapi:python3.10 
0 Karma
Get Updates on the Splunk Community!

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...

New This Month in Splunk Observability Cloud - Synthetic Monitoring updates, UI ...

This month, we’re delivering several platform, infrastructure, application and digital experience monitoring ...