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

Infra Details Export CSV times out after 60 seconds with large data sets #4944

Closed
collinmcneese opened this issue Apr 9, 2021 · 0 comments
Closed
Labels

Comments

@collinmcneese
Copy link
Contributor

collinmcneese commented Apr 9, 2021

Describe the bug

With a large (20k+ nodes) dataset within Chef automate, using the Export CSV function from the Automate UI Infra tab to collect a report of all nodes results in a truncated csv file with the following error at the end of the file:
rpc error: code = Internal desc = Post "http://127.0.0.1:10144/node-state/_search": context deadline exceeded
Export functionality looks to timeout at 60 seconds every time, likely due to a hardcoded system configuration.

To Reproduce

Steps to reproduce the behavior:

  • Have a large data-set within Chef Automate Infra reporting (20k+ nodes)
  • Run the Export to CSV function from the Automate UI from the Infra tab to collect a dump of all nodes

Expected behavior

  • Export to CSV should complete successfully.
  • Timeout settings should be tune-able that are being encountered for larger data sets.

Versions (please complete the following information):

  • 20210324172345

Aha! Link: https://chef.aha.io/epics/SH-E-260

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

No branches or pull requests

3 participants