Hi,
I'm new with elasticsearch. I currently have the trial period Platinum subscription, since I want to check if elasticsearch fits with what I want to do.
I want to test the elster_model_2 ML model. However, every time that I try to deploy it I get the following error:
Could not start deployment because no ML nodes with sufficient capacity were found
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "[status_exception\n\tCaused by:\n\t\tillegal_state_exception: Could not start deployment because no suitable nodes were found, allocation explanation [Could not assign (more) allocations on node [iYF2E0RcS8S5D_rUdpSBXA]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].|Could not assign (more) allocations on node [rmiiO1-LTtaZVPon05N39Q]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].|Could not assign (more) allocations on node [z9GMuSTwRuGuDGtwQI8BGQ]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].]\n\tRoot causes:\n\t\tstatus_exception: Could not start deployment because no ML nodes with sufficient capacity were found]: Could not start deployment because no ML nodes with sufficient capacity were found",
"attributes": {
"body": {
"error": {
"root_cause": [
{
"type": "status_exception",
"reason": "Could not start deployment because no ML nodes with sufficient capacity were found"
}
],
"type": "status_exception",
"reason": "Could not start deployment because no ML nodes with sufficient capacity were found",
"caused_by": {
"type": "illegal_state_exception",
"reason": "Could not start deployment because no suitable nodes were found, allocation explanation [Could not assign (more) allocations on node [iYF2E0RcS8S5D_rUdpSBXA]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].|Could not assign (more) allocations on node [rmiiO1-LTtaZVPon05N39Q]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].|Could not assign (more) allocations on node [z9GMuSTwRuGuDGtwQI8BGQ]. Reason: This node has insufficient available memory. Available memory for ML [322122547 (307.1mb)], free memory [322122547 (307.1mb)], estimated memory required for this model [469581194 (447.8mb)].]"
}
},
"status": 429
}
}
}
I curently have 3 ML nodes with 1GB total memory each (512 MB estimated available memory). Am I missing something? How can I change this? Would having more RAM solve this issue (I currently only have 32 GB)?
On Prem Self Managed Nodes, Dockers? K8s? Are they in containers?
Yes Elastic will set the RAM to 50% of the available system memory assuming that we have not changed configurations.
Did you set up specific ML Nodes?
You will need to share your configs otherwise we will just be guessing and answering a lot of partial questions
Hello,I got the same situation AND my cluster deployed in docker containers with 4GB RAM constrained. I got the error code when I try to test the built-in model E5.
Should I have to redeploy a cluster with 16GB at least?
OR I found some documents mention # autoscaling. Does it can solve this problem? How do i enable it ?
{
"statusCode": 429,
"error": "Too Many Requests",
"message": "[status_exception\n\tCaused by:\n\t\tillegal_state_exception: Could not start deployment because no suitable nodes were found, allocation explanation [none]\n\tRoot causes:\n\t\tstatus_exception: Could not start deployment because no ML nodes with sufficient capacity were found]: Could not start deployment because no ML nodes with sufficient capacity were found",
"attributes": {
"body": {
"error": {
"root_cause": [
{
"type": "status_exception",
"reason": "Could not start deployment because no ML nodes with sufficient capacity were found"
}
],
"type": "status_exception",
"reason": "Could not start deployment because no ML nodes with sufficient capacity were found",
"caused_by": {
"type": "illegal_state_exception",
"reason": "Could not start deployment because no suitable nodes were found, allocation explanation [none]"
}
},
"status": 429
}
}
}
Thanks for the response @SlytherinWyne I'm glad you got this working.
In the error message I was expecting an explanation for why the model did not deploy but in your example it is none. This shouldn't happen, it's something for us to look into. Thanks the feedback.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.