Splunk AppDynamics

Machine Agent

Josh_Varughese
Engager

Hey Folks, 

We are trying to deployed the machine agent on EKS 1.27. The version of the machine agent is v22.3.0. 

The pod gets stuck with the below error :

 
Error in custom provider, javax.xml.ws.WebServiceException: Failed to get a response from /info using a GET request.
 
The error encountered is: java.net.SocketException: Connection refused
 
[machineagent.jar:Machine Agent v22.3.0-3296 GA compatible with 4.4.1.0 Build Date 2022-03-18 19:50:59]
 
Could not start up the machine agent due to: Failed to get a response from /info using a GET request. The error encountered is: java.net.SocketException: Connection refused

Please see startup.log in the current working directory for details


Labels (1)
0 Karma
1 Solution

rganapavarapu
Path Finder

Hello @Josh.Varughese 

Yes, the old version machineagent is only supported by the docker runtime but the latest MA is supported by the contatinerd. Please use the latest MA.

Best Regards,
Rajesh Ganapavarapu

View solution in original post

iamryan
Community Manager
Community Manager

Hi @Josh.Varughese,

If anyone of Rajesh's replies helped, please click the "Accept as Solution" button if, not, please reply and keep the conversation going! 

0 Karma

rganapavarapu
Path Finder

Hello @Josh.Varughese 

Yes, the old version machineagent is only supported by the docker runtime but the latest MA is supported by the contatinerd. Please use the latest MA.

Best Regards,
Rajesh Ganapavarapu

rganapavarapu
Path Finder

There could be several reasons for failure.

  1. Please verify whether your environment is utilizing a Docker runtime built on ContainerD or a similar platform. If your intended machine agent is v22.3.0, it only supports Docker runtime exclusively.

  2. Additionally, ensure that the user has access to /run/docker.sock. You can check this by running:

    bash
    cat /run/docker.sock
  3. In past instances, this issue occurred due to either no running containers or permission problems. You can diagnose this with the following command:

     
    sudo curl -s -S -i --unix-socket /var/run/docker.sock http:/info

    docker info

  4. If you're utilizing the containerd runtime, consider upgrading to the latest version, such as 24.3.0 MA.

I would recommend you to open a Support ticket for any further help as it involves a lot of debugging.

Best Regards,
Rajesh Ganapavarapu

 
 
 
 
 

Josh_Varughese
Engager

Thanks Rajesh for your prompt response!

1. We use containerd-shim-runc as the CRI. Not sure if that is compatible with Docker runtime. 

2. I couldn't find any docker process running on the worker node, so could'nt execute Docker related cmds

3.  Is there a dependency with Docker.  As we have a similar setup of the machine agent on a EKS 1.23 without Docker functioning as expected. 

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Mile High Learning with Splunk University, Denver, Colorado

If Denver is known for its mile-high elevation, Splunk University is about to raise the bar on technical ...

IT Service Intelligence 5.0 Series: Your Guide to the June Launch

We are excited to announce the June release of Splunk IT Service Intelligence (ITSI) 5.0. This update ...

Agent Mode Engaged! Enchaining Agentic Operations with Splunk AI Assistant 2.0

    Are you ready to transform how your team handles complex data requests? We invite you to our upcoming ...