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!

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

The Latest Cisco Integrations With Splunk Platform!

Join us for an exciting tech talk where we’ll explore the latest integrations in Cisco &#43; Splunk! We’ve ...

AI Adoption Hub Launch | Curated Resources to Get Started with AI in Splunk

Hey Splunk Practitioners and AI Enthusiasts! It’s no secret (or surprise) that AI is at the forefront of ...