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
implement Usage #17
Comments
Do we need to implement this before v1.1 GA? If so, I'll port over btrfs implementation for consistency, rather than adopting the zfs-native |
I didn't realize we didn't have usage implemented yet. I probably would have suggested we either implement it or not have it enabled by default. I think we are too late for 1.1.0 but we can fix for 1.1.1. |
Still not sure whether we should use naive differ as we did for btrfs (containerd/containerd#1871), or use filesystem-native usage value, which we didn't adopt for btrfs (containerd/containerd#1836). For consistency with btrfs/overlayfs, probably we should use the former one, but for performance and future potential support of Maybe we should support both and make them configurable? |
Hey, I found this bug when trying to understand why I had hundreds of message in the logs of Note to self: I see an entry |
@dalbani you are right. cri-containerd will collect usage about container snapshotters very If not to have all those errors, zfs needs |
@fuweid @dmcgowan WDYT: #17 (comment) |
@AkihiroSuda @dmcgowan I prefer to use ZFS-native model as default instead of native-diff. In production, some apps like nodejs/python has a lot of small files and native-diff will consumes cpu resources in containerd side. It is cool to have ZFS-native model and native-diff both, and the switch is up to user's configuration. |
This is a workaround to allow microk8s to run on ZFS systems. See issue: canonical#401 Using the zfs snapshotter would be another option, but currently it seems that the zfs snapshotter requires it's own dedicated filesystem and is still missing features such as Usage(). containerd/zfs#17
This is a workaround to allow microk8s to run on ZFS systems. See issue: canonical#401 Using the zfs snapshotter would be another option, but currently it seems that the zfs snapshotter requires it's own dedicated filesystem and is still missing features such as Usage(). containerd/zfs#17
This is a workaround to allow microk8s to run on ZFS systems. See issue: #401 Using the zfs snapshotter would be another option, but currently it seems that the zfs snapshotter requires it's own dedicated filesystem and is still missing features such as Usage(). containerd/zfs#17
Just ran into this issue as well. I expect it to be more frequent with Ubuntu 20.04 offering root on ZFS support now. The default microk8s install still uses native snapshotter but there is a how-to here https://microk8s.io/docs/install-alternatives on switching to ZFS snapshotter which triggers tons of error messages about Usage not being implemented unless you tweak the logging way down. I imagine this would be a quick add for someone familiar with the code now that the decision to use ZFS native output was made above, but if no one has the time I may try diving into it. |
Are there any plans to fix this? I'm still getting these errors... |
Until there is a final and good solution for this, can we get a quick patch instead? This generates tons of useless logging. |
close by #38 |
Unlike btrfs, just returning
USED
field should be ok for zfs, I guesshttps://linux.die.net/man/8/zfs
related: containerd/containerd#1801 (btrfs)
The text was updated successfully, but these errors were encountered: