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

Ingest Manager - unable to check permissions message seen on the screen -while logged in as elastic super user. #74457

Closed
rashmivkulkarni opened this issue Aug 5, 2020 · 9 comments
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana - BC7 - 7.9.0

I just spun BC7 - 7.9.0 and when I navigated to Ingest Manager I saw the following , although I was logged in as elastic super user.

Screen Shot 2020-08-05 at 12 25 17 PM

logs in the console say

:5601/api/ingest_manager/check-permissions:1 Failed to load resource: net::ERR_EMPTY_RESPONSE
core.entry.js:84 Detected an unhandled Promise rejection.
TypeError: Failed to fetch

However I was not able to reproduce this again. Upon reload of the page, I saw that the page was rightly served, and got 200 response.

Refreshing the page with dev tools open, and looked for Network tab in Dev Tools:

Request URL: https://localhost:5601/app/ingestManager
Request Method: GET
Status Code: 200 OK
Remote Address: 127.0.0.1:5601
Referrer Policy: no-referrer-when-downgrade

Logs looked clean . Logging this intermittent bug.

cc @EricDavisX @jfsiii

@rashmivkulkarni rashmivkulkarni added bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team labels Aug 5, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/ingest-management (Team:Ingest Management)

@EricDavisX
Copy link
Contributor

Thanks Rashmi!

@ph ph changed the title Ingest Manager - unable to check permissions message seen on the screen -while logged in as elastic super user. Ingest Manager - unable to check permissions message seen on the screen -while logged in as elastic super user. Aug 17, 2020
@ph
Copy link
Contributor

ph commented Aug 17, 2020

@jfsiii Can you investigate it, this look like a major issue?

@EricDavisX Did you run into that with the latest snapshots.

@ph
Copy link
Contributor

ph commented Aug 17, 2020

related to #71641

@jfsiii
Copy link
Contributor

jfsiii commented Aug 24, 2020

I wasn't able to reproduce this initially, but after working out steps to reproduce #75497 I was able to get a "no admin user" error like #71641

I also have a better idea how to simulate errors at different layers now. I'll add tests for this as a part of #66688

@EricDavisX
Copy link
Contributor

sorry for late reply @ph no, I didn't see this - tho I hadn't been in the 'Stack Management' as often, unless I had a specific need

@jfsiii
Copy link
Contributor

jfsiii commented Oct 5, 2020

I haven't been able to reproduce this specific error. However, I believe our work in #77975 & #74409 will a) prevent the unhandled promise rejection b) give more details if it does occur again.

@ph I'm closing this but feel free to re-open

@jfsiii jfsiii closed this as completed Oct 5, 2020
@ph
Copy link
Contributor

ph commented Oct 5, 2020

sound good @jfsiii

@sasconsul
Copy link

sasconsul commented Dec 8, 2020

Folks, I still see this problem with version 7.10 elasticsearch, kibana, (and logstash -- for completeness. ). All installed via homebrew.

This is the mystery log message from the log (whole log attached as kibana.log.1.zip )

...
{"type":"log","@timestamp":"2020-12-08T05:53:56Z","tags":["warning","environment"],"pid":98654,"message":"Detected an unhandled Promise rejection.\nError: Cannot delete files/directories outside the current working directory. Can be overridden with the `force` option."}

Attached are the config files from my last iteration.
elasticsearch.yml.zip
kibana.yml.zip
logstash_confs.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Team:Fleet Team label for Observability Data Collection Fleet team
Projects
None yet
Development

No branches or pull requests

6 participants