Skip to content

[ML] Fix monitoring if orphaned anomaly detector persistent tasks exist #57235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 27, 2020

Conversation

droberts195
Copy link
Contributor

Since #51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Since elastic#51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

@droberts195 droberts195 merged commit 4bfd076 into elastic:master May 27, 2020
@droberts195 droberts195 deleted the fix_orphaned_task_npe branch May 27, 2020 18:11
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request May 27, 2020
…s exist

Since elastic#51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of elastic#57235
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request May 27, 2020
…s exist

Since elastic#51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of elastic#57235
droberts195 added a commit to droberts195/elasticsearch that referenced this pull request May 27, 2020
…s exist

Since elastic#51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of elastic#57235
@droberts195 droberts195 added v7.7.2 and removed v7.7.1 labels May 27, 2020
droberts195 added a commit that referenced this pull request May 27, 2020
…s exist (#57240)

Since #51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of #57235
droberts195 added a commit that referenced this pull request May 27, 2020
…s exist (#57242)

Since #51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of #57235
droberts195 added a commit that referenced this pull request May 28, 2020
…s exist (#57243)

Since #51888 the ML job stats endpoint has returned entries for
jobs that have a persistent task but not job config. Such
orphaned tasks caused monitoring to fail.

This change ignores any such corrupt jobs for monitoring purposes.

Backport of #57235
@droberts195 droberts195 added v7.7.1 and removed v7.7.2 labels May 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants