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
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

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

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...