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

Failed to poll for work #46670

Closed
utkonos opened this issue Sep 26, 2019 · 1 comment · Fixed by #81779
Closed

Failed to poll for work #46670

utkonos opened this issue Sep 26, 2019 · 1 comment · Fixed by #81779
Assignees
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) triage_needed

Comments

@utkonos
Copy link

utkonos commented Sep 26, 2019

Kibana version:
7.3.2
Elasticsearch version:
7.3.2
Server OS version:
19.04 Ubuntu
Browser version:
Firefox Quantum 69.0.1
Browser OS version:
19.04 Ubuntu
Original install method (e.g. download page, yum, from source, etc.):
Download page from tar.gz
Describe the bug:
When running bin/kibana this error appears.
Steps to reproduce:

  1. tar -zxvf kibana.tgz
  2. cd kibana
  3. bin/kibana

Expected behavior:
No error.
Provide logs and/or server output (if relevant):
log [00:50:28.204] [info][task_manager] Installed .kibana_task_manager index template: version 7030299 (API version 1)
log [00:50:32.397] [error][task_manager] Failed to poll for work: [search_phase_execution_exception] all shards failed :: {"path":"/.kibana_task_manager/_search","query":{"ignore_unavailable":true},"body":"{"query":{"bool":{"must":[{"term":{"type":"task"}},{"bool":{"must":[{"terms":{"task.taskType":["maps_telemetry","vis_telemetry","actions:.server-log","actions:.slack","actions:.email"]}},{"range":{"task.attempts":{"lte":3}}},{"range":{"task.runAt":{"lte":"now"}}},{"range":{"kibana.apiVersion":{"lte":1}}}]}}]}},"size":10,"sort":{"task.runAt":{"order":"asc"}},"seq_no_primary_term":true}","statusCode":503,"response":"{"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[]},"status":503}"}
log [00:50:35.408] [error][task_manager] Failed to poll for work: [search_phase_execution_exception] all shards failed :: {"path":"/.kibana_task_manager/_search","query":{"ignore_unavailable":true},"body":"{"query":{"bool":{"must":[{"term":{"type":"task"}},{"bool":{"must":[{"terms":{"task.taskType":["maps_telemetry","vis_telemetry","actions:.server-log","actions:.slack","actions:.email"]}},{"range":{"task.attempts":{"lte":3}}},{"range":{"task.runAt":{"lte":"now"}}},{"range":{"kibana.apiVersion":{"lte":1}}}]}}]}},"size":10,"sort":{"task.runAt":{"order":"asc"}},"seq_no_primary_term":true}","statusCode":503,"response":"{"error":{"root_cause":[],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[]},"status":503}"}
error [00:50:35.475] [warning][stats-collection] [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="na" & index=".kibana" } :: {"path":"/.kibana/_search","query":{},"body":"{"track_total_hits":true,"query":{"term":{"type":{"value":"space"}}},"aggs":{"disabledFeatures":{"terms":{"field":"space.disabledFeatures","include":["discover","visualize","dashboard","dev_tools","advancedSettings","indexPatterns","savedObjectsManagement","timelion","graph","monitoring","ml","apm","maps","canvas","infrastructure","logs","siem","uptime"],"size":18}}},"size":0}","statusCode":404,"response":"{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"na","index":".kibana"}],"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"na","index":".kibana"},"status":404}"}
at respond (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:315:15)
at checkRespForFailure (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:274:7)
at HttpConnector. (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
at IncomingMessage.wrapper (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1103:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
log [00:50:35.482] [warning][stats-collection] Unable to fetch data from spaces collector
log [00:50:40.895] [info][migrations] Creating index .kibana_1.
log [00:50:45.208] [info][migrations] Pointing alias .kibana to .kibana_1.
error [00:50:45.322] [warning][stats-collection] [index_not_found_exception] no such index [.kibana], with { resource.type="index_or_alias" & resource.id=".kibana" & index_uuid="na" & index=".kibana" } :: {"path":"/.kibana/_search","query":{},"body":"{"track_total_hits":true,"query":{"term":{"type":{"value":"space"}}},"aggs":{"disabledFeatures":{"terms":{"field":"space.disabledFeatures","include":["discover","visualize","dashboard","dev_tools","advancedSettings","indexPatterns","savedObjectsManagement","timelion","graph","monitoring","ml","apm","maps","canvas","infrastructure","logs","siem","uptime"],"size":18}}},"size":0}","statusCode":404,"response":"{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"na","index":".kibana"}],"type":"index_not_found_exception","reason":"no such index [.kibana]","resource.type":"index_or_alias","resource.id":".kibana","index_uuid":"na","index":".kibana"},"status":404}"}
at respond (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:315:15)
at checkRespForFailure (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/transport.js:274:7)
at HttpConnector. (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/src/lib/connectors/http.js:166:7)
at IncomingMessage.wrapper (/home/user/Downloads/kibana-7.3.2-linux-x86_64/node_modules/elasticsearch/node_modules/lodash/lodash.js:4929:19)
at IncomingMessage.emit (events.js:194:15)
at endReadableNT (_stream_readable.js:1103:12)
at process._tickCallback (internal/process/next_tick.js:63:19)
log [00:50:45.323] [warning][stats-collection] Unable to fetch data from spaces collector
log [00:50:46.183] [info][migrations] Finished in 5491ms.

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-services

@bmcconaghy bmcconaghy added Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) and removed Team:Stack Services labels Dec 12, 2019
@gmmorris gmmorris self-assigned this Oct 28, 2020
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) triage_needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants