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

Reporting page doesn't show any reports. User doesn't get report completed notifications #75239

Closed
LeeDr opened this issue Aug 17, 2020 · 6 comments · Fixed by #75365
Closed
Labels
bug Fixes for quality problems that affect the customer experience (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead regression

Comments

@LeeDr
Copy link
Contributor

LeeDr commented Aug 17, 2020

Kibana version: 7.10.0-snapshot (same problem on 8.0.0-snapshot)

Elasticsearch version: 7.10.0-snapshot

Server OS version: Ubuntu 16.04

Browser version: Chrome

Browser OS version: Windows 10

Original install method (e.g. download page, yum, from source, etc.): tar.gz default dist

Describe the bug: An automated test that uses watcher to email a dashboard PDF passed on the 7.x snapshot build from Aug 13th but failed on today's build (Aug 17th).

When I manually generate a dashboard PDF (using eCommerce sample data) I get the notification that the report was queued but I don't get a notification that it completed. I can see kibana logs that indicate the report was completed successfully.

Possibly related to this recent PR #74453

Steps to reproduce:

  1. Install the default dist of Kibana tar.gz package DON'T configure security on Elasticsearch or Kibana
  2. Load eCommerce sample data
  3. go to the eCommerce dashboard and generate the PDF (doesn't matter if you optimize for printing or if you do the PNG instead).
  4. tail -k the kibana log and grep for report so you can see when Job execution completed successfully while watching for the notification dialog in Kibana. (I don't see one)
  5. check the reporting page in Kibana. It shows "No reports have been created"

Expected behavior: User should get notification. Reports should appear in Reporting page.

Screenshots (if relevant):

Errors in browser console (if relevant): No errors in Kibana browser console.

Provide logs and/or server output (if relevant): I'll update logs soon. Same problem on master branch.

Any additional context:

@LeeDr LeeDr added bug Fixes for quality problems that affect the customer experience regression (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:Reporting Services labels Aug 17, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-reporting-services (Team:Reporting Services)

@LeeDr
Copy link
Contributor Author

LeeDr commented Aug 18, 2020

Here's a log file (grep report in kibana.stdout) from 7.9.0 where the log looks like the PDF report finished successfully but no notification in the UI and no reports shown on reporting page;

reporting.txt

@tsullivan
Copy link
Member

tsullivan commented Aug 18, 2020

NOTE: #74453 isn't going to be part of the 7.9.0 release, but still exists in the 7.9 branch

@tsullivan
Copy link
Member

tsullivan commented Aug 18, 2020

I am not able to reproduce this, either with security enabled or disabled. I am thinking something is happening in the environment, or between the browser and server.

Update: I wasn't able to repro in the 7.9 branch, when assuming it would be evident there. But the bug description clearly says 7.10. I was able to reproduce this issue in the current 7.x branch.

@tsullivan
Copy link
Member

I've dug in an think I have the root cause. A PR snuck in a change that switched the username for the "security disabled" scenario from false to null. With security disabled, the jobs query as it is can never find the jobs that belong to false because that user indexed them as null.

Going to roll back the change, this would be a headache of a breaking change.

@tsullivan
Copy link
Member

The bug arose in this PR: #74915

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 (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead regression
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants