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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...