Knowledge Management

Unable to deploy MLTK

sylim_splunk
Splunk Employee
Splunk Employee

Using both 8.0.1 and 8.0.6, I am unable to redeploy apps when attempting to deploy Splunk_ML_Toolkit with Splunk_SA_Scientific_Python_linux_x86_64. The same error occurs in both environments in which I have tried it:

Error while deploying apps to first member, aborting apps deployment to all members: Error while updating app=Splunk_SA_Scientific_Python_linux_x86_64 on target=https://10.8.8.13:8089:Network-layer error: Connection reset by peer



This occurs almost immediately after trying command below;

$ splunk apply shcluster-bundle -target https://10.8.8.13:8089

Labels (1)
1 Solution

sylim_splunk
Splunk Employee
Splunk Employee

If I remove those 2 SHC apps, then I can redeploy the other SHC apps on that deployer without any issues. This SHC is running version 8.0.6. The same problem happened in another environment that was running 8.0.1.

It was found that, the max_content_length was set less than the size of one of the apps for MLTK by mistake.

 

In server.conf on all SHC members;

[httpServer]

max_content_length = 2gb bytes, back to default value.

 

View solution in original post

sylim_splunk
Splunk Employee
Splunk Employee

If I remove those 2 SHC apps, then I can redeploy the other SHC apps on that deployer without any issues. This SHC is running version 8.0.6. The same problem happened in another environment that was running 8.0.1.

It was found that, the max_content_length was set less than the size of one of the apps for MLTK by mistake.

 

In server.conf on all SHC members;

[httpServer]

max_content_length = 2gb bytes, back to default value.

 

Get Updates on the Splunk Community!

Observability | How to Think About Instrumentation Overhead (White Paper)

Novice observability practitioners are often overly obsessed with performance. They might approach ...

Cloud Platform | Get Resiliency in the Cloud Event (Register Now!)

IDC Report: Enterprises Gain Higher Efficiency and Resiliency With Migration to Cloud  Today many enterprises ...

The Great Resilience Quest: 10th Leaderboard Update

The tenth leaderboard update (11.23-12.05) for The Great Resilience Quest is out >> As our brave ...