-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
zfs collector - panic when parse.Uint on a negative value #1158
Comments
Not familiar with zfs. Is a negative value here something valid?
Doesn't sound like this should be ever negative? So maybe it's actually an kernel/upstream issue? |
I agree that it's weird - could be any number of problems (bad hardware clock, etc.) I've filed a bug with zol: openzfs/zfs#8131 Should I make a PR here? |
Yes, I think it's reasonable to be more liberal in what we accept here. |
Interestingly, I came across this: d7348a5 By changing Uint64 to Int64, I failed the
The zfsonlinux version referenced there is 0.7.5. We're running:
It's a pretty old version of zfs. I was curious if the behavior changed for handling negative values in zfs-on-linux - I followed the chain here: openzfs/zfs#6988 Not sure it's a good idea to patch node_exporter for a bizarre bug on an old version of ZFS that's missing many bug fixes. |
Ah, thanks for investigating! I agree, in think in this case there is nothing we can/should do here. |
Just got some negative values in my ZFS kstat:
I'm trying to find out why that's happening. However, this crashes node_exporter (for obvious reasons, parse.Uint):
Should node-exporter be able to scrape these values?
The text was updated successfully, but these errors were encountered: