# Machine learning, No node found to open the job because job memory requirements are stale

**URL:** <https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582>\
**Category:** Elasticsearch\
**Created:** [January 29, 2021, 2:33am UTC](https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582 "2021-01-29T02:33:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ElasticLiver](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/elasticliver/32/64869_2.png) [@ElasticLiver](https://discuss.elastic.co/u/ElasticLiver)\
**Post date:** [January 29, 2021, 2:33am UTC](https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582/1 "2021-01-29T02:33:16Z")

</div>

Hi, Im getting this warning from ML jobs after restart the nodes on docker

![image](https://us1.discourse-cdn.com/elastic/original/3X/d/7/d72a72d100d807405c7170b9c3d05a8c6498ab98.png)

I run this commands in devs tools before restart the nodes

```auto
PUT _cluster/settings
{
  "persistent": {
    "cluster.routing.allocation.enable": "primaries"
  }
}

POST _flush/synced

POST _ml/set_upgrade_mode?enabled=true

POST _ml/datafeeds/_all/_stop

```

and this after the nodes restarted

```auto
PUT _cluster/settings
{
  "persistent": {
    "cluster.routing.allocation.enable": null
  }
}

POST _ml/set_upgrade_mode?enabled=false

```

and started the datafeed manually on all jobs

how can I solve this?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 26, 2021, 2:34am UTC](https://discuss.elastic.co/t/machine-learning-no-node-found-to-open-the-job-because-job-memory-requirements-are-stale/262582/2 "2021-02-26T02:34:11Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
