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

Harvest Poller panics from ZapiPerf:Volume collector #302

Closed
hashi825 opened this issue Jul 14, 2021 · 1 comment · Fixed by #304
Closed

Harvest Poller panics from ZapiPerf:Volume collector #302

hashi825 opened this issue Jul 14, 2021 · 1 comment · Fixed by #304
Labels
bug Something isn't working status/done

Comments

@hashi825
Copy link

Describe the bug
Harvest Poller panics from ZapiPerf:Volume collector and doesn't recover

Environment
Provide accurate information about the environment to help us reproduce the issue.

  • Harvest version: harvest version 21.05.2-1 (commit ce091de) (build date 2021-06-14T20:31:09+0530) linux/amd64
  • Command line arguments used: [e.g. bin/harvest start --config=foo.yml --collectors Zapi]
  • OS: RHEL 7.9
  • Install method: yum
  • ONTAP Version: 9.7
  • Other:

To Reproduce
This seems to be due to when an instance goes missing from cache, which by default instance cache is 600s, the times I've experienced this issue is when a volume has been deleted. This particular occurrence a volume got deleted from the relevant cluster roughly 10mins before the panic occured.
panic

Expected behavior
Poller should not panic when a volume gets deleted

Actual behavior
ZapiPerf:Volume collector causes a panic when volume gets deleted.

Possible solution, workaround, fix
N/A

@rahulguptajss
Copy link
Contributor

Thanks @hashi825 . THis is similiar to #174 . I am working on the fix for the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status/done
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants