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!

Splunk Enterprise Security 8.0.2 Availability: On cloud and On-premise!

A few months ago, we released Splunk Enterprise Security 8.0 for our cloud customers. Today, we are excited to ...

Logs to Metrics

Logs and Metrics Logs are generally unstructured text or structured events emitted by applications and written ...

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...