Skip to content
This repository has been archived by the owner on Jan 27, 2023. It is now read-only.

Conversation

fearful-symmetry
Copy link
Contributor

This PR promotes packages from snapshot to staging.

Promoted packages:

  • system-0.10.8: 4def1a3abef66777

@elasticmachine
Copy link
Collaborator

elasticmachine commented Jan 27, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: mtojek commented: /test

    • Start Time: 2021-01-28T09:07:42.807+0000
  • Duration: 14 min 8 sec

  • Commit: 1fe6a0c

Test stats 🧪

Test Results
Failed 0
Passed 61
Skipped 0
Total 61

@mtojek
Copy link
Contributor

mtojek commented Jan 28, 2021

Ok, finally caught this nasty error HTTP 500 in Kibana. It looks like it has root cause in Elasticsearch. According to the logs...

Kibana:

kibana_1            | 2021-01-27T22:18:56.248219276Z {"type":"log","@timestamp":"2021-01-27T22:18:56+00:00","tags":["error","http","server","Kibana"],"pid":8,"message":"ResponseError: unavailable_shards_exception\n    at onBody (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:333:23)\n    at IncomingMessage.onEnd (/usr/share/kibana/node_modules/@elastic/elasticsearch/lib/Transport.js:260:11)\n    at IncomingMessage.emit (events.js:327:22)\n    at endReadableNT (internal/streams/readable.js:1327:12)\n    at processTicksAndRejections (internal/process/task_queues.js:80:21) {\n  meta: {\n    body: { error: [Object], status: 503 },\n    statusCode: 503,\n    headers: {\n      'x-opaque-id': '09a68fed-928e-49b8-9ebd-a357c5306c20',\n      'content-type': 'application/json; charset=UTF-8',\n      'content-length': '279'\n    },\n    meta: {\n      context: null,\n      request: [Object],\n      name: 'elasticsearch-js',\n      connection: [Object],\n      attempts: 3,\n      aborted: false\n    }\n  }\n}"}
kibana_1            | 2021-01-27T22:18:56.291622898Z {"type":"error","@timestamp":"2021-01-27T22:18:56+00:00","tags":[],"pid":8,"level":"error","error":{"message":"Internal Server Error","name":"Error","stack":"Error: Internal Server Error\n    at HapiResponseAdapter.toInternalError (/usr/share/kibana/src/core/server/http/router/response_adapter.js:58:19)\n    at interceptRequest (/usr/share/kibana/src/core/server/http/lifecycle/on_post_auth.js:68:34)\n    at runMicrotasks (<anonymous>)\n    at processTicksAndRejections (internal/process/task_queues.js:93:5)\n    at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:45:28)\n    at Request._invoke (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:339:30)\n    at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:312:32)\n    at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:221:9)"},"url":"http://localhost:5601/api/fleet/setup","message":"Internal Server Error"}
kibana_1            | 2021-01-27T22:18:56.292520475Z {"type":"response","@timestamp":"2021-01-27T22:18:56+00:00","tags":["access:fleet-read"],"pid":8,"method":"post","statusCode":500,"req":{"url":"/api/fleet/setup","method":"post","headers":{"host":"localhost:5601","user-agent":"Go-http-client/1.1","content-length":"0","kbn-xsrf":"ingest_manager","accept-encoding":"gzip"},"remoteAddress":"172.18.0.1","userAgent":"Go-http-client/1.1"},"res":{"statusCode":500,"responseTime":239,"contentLength":9},"message":"POST /api/fleet/setup 500 239ms - 9.0B"}

Source: https://beats-ci.elastic.co/job/Ingest-manager/job/package-storage/job/PR-824/1/artifact/src/github.com/elastic/package-storage/build/elastic-stack-logs/kibana.log

Elasticsearch:

elasticsearch_1     | 2021-01-27T22:18:56.141901189Z "stacktrace": ["org.elasticsearch.action.UnavailableShardsException: at least one primary shard for the index [.security-7] is unavailable",

Source: https://beats-ci.elastic.co/job/Ingest-manager/job/package-storage/job/PR-824/1/artifact/src/github.com/elastic/package-storage/build/elastic-stack-logs/elasticsearch.log

/cc @ruflin

@mtojek
Copy link
Contributor

mtojek commented Jan 28, 2021

/test

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants