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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...