Skip to content
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

Fix task manager error message on Kibana startup #162419

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

mikecote
Copy link
Contributor

This PR fixes an error logged on Kibana startup by making the endpoint:metadata-check-transforms-task task always return the state object.

Error logged

[2023-07-24T11:00:25.201-04:00][ERROR][plugins.taskManager] Task endpoint:metadata-check-transforms-task "endpoint:metadata-check-transforms-task:0.0.1" failed: Error: [restartAttempts]: expected value of type [object] but got [undefined]

Steps to reproduce

  1. Startup a fresh Kibana from main
  2. Notice the error logged

Steps to verify PR:

  1. Startup a fresh Kibana from main
  2. Notice the error is no longer logged

@mikecote mikecote added release_note:skip Skip the PR/issue when compiling release notes Feature:Task Manager Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.10.0 labels Jul 24, 2023
@mikecote mikecote self-assigned this Jul 24, 2023
@mikecote
Copy link
Contributor Author

cc @patrykkopycinski FYI, I'm working on a fix for the task manager error that is logged on Kibana startup regarding the endpoint:metadata-check-transforms-task task. This is caused by my original PR: #161747. I'll have this PR ready for review once CI goes green.

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @mikecote

@mikecote mikecote marked this pull request as ready for review July 24, 2023 17:18
@mikecote mikecote requested a review from a team as a code owner July 24, 2023 17:18
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@mikecote mikecote enabled auto-merge (squash) July 24, 2023 17:18
Copy link
Contributor

@patrykkopycinski patrykkopycinski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @mikecote 🙇

@mikecote mikecote merged commit 7af3bf5 into elastic:main Jul 24, 2023
9 checks passed
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jul 24, 2023
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
This PR fixes an error logged on Kibana startup by making the
`endpoint:metadata-check-transforms-task` task always return the state
object.

### Error logged
```
[2023-07-24T11:00:25.201-04:00][ERROR][plugins.taskManager] Task endpoint:metadata-check-transforms-task "endpoint:metadata-check-transforms-task:0.0.1" failed: Error: [restartAttempts]: expected value of type [object] but got [undefined]
```
### Steps to reproduce
1. Startup a fresh Kibana from main
2. Notice the error logged

### Steps to verify PR:
1. Startup a fresh Kibana from main
2. Notice the error is no longer logged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Task Manager release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) v8.10.0
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

5 participants