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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...