-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Closed
Labels
Feature:AlertingTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//Platform ResponseOps team (formerly the Cases and Alerting teams) t//
Description
Kibana version: master
Steps to reproduce:
start the functional test server, then run the following commands at a terminal
$ npm install -g pmuellr/kbn-action
...
$ export KBN_URLBASE=http://elastic:changeme@localhost:5620
$ kbn-action create .server-log server-log {} {}
{
"id": "ec1783c9-38ae-4fac-91d3-ad1fd78e2faa"
}
$ export ACTION_ID=ec1783c9-38ae-4fac-91d3-ad1fd78e2faa
$ kbn-alert create test.always-firing 5s '{index:test_always_firing}' \
"[{group:default id:'$ACTION_ID' params:{message: 'from alert 5s'}}]"
{
"id": "c832e950-b494-11e9-b723-f594131b7bfc",
...
}
$ { run same command as above, creating another alert }
{
"id": "c4475740-b494-11e9-b723-f594131b7bfc",
...
}
...
$ kbn-alert delete c832e950-b494-11e9-b723-f594131b7bfc
kbn-alert.js: status code 204
body: ""
$ { delete more of the alerts, based on id }
kbn-alert.js: status code 204
body: ""After deleting alerts, you may see one or both of these messages in the Kibana log:
[error][task_manager] Task alerting:test.always-firing
"c682c850-b494-11e9-b723-f594131b7bfc"
failed: Error: Saved object [alert/c6205d00-b494-11e9-b723-f594131b7bfc] not found
[warning][task_manager] Task alerting:test.always-firing
"a4f9e1f0-b494-11e9-b723-f594131b7bfc"
failed in attempt to run:
Saved object [task/a4f9e1f0-b494-11e9-b723-f594131b7bfc] not found
Expected behavior:
Should not display error/warning messages when firing alerts that have recently been deleted. Or at least should be fairly rare, and not scary (warning not error), in case it's difficult to precisely nail this down.
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
Metadata
Metadata
Assignees
Labels
Feature:AlertingTeam:ResponseOpsPlatform ResponseOps team (formerly the Cases and Alerting teams) t//Platform ResponseOps team (formerly the Cases and Alerting teams) t//