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

microk8s.daemon-containerd is filling my syslog with "zfs does not implement Usage() yet" messages #1077

Closed
bjf opened this issue Mar 30, 2020 · 10 comments
Labels
inactive kind/support Question with a workaround

Comments

@bjf
Copy link

bjf commented Mar 30, 2020

I'm running Ubuntu 20.04 with zfs as root and microk8s.daemon-containerd is spewing errors about "zfs does not implement Usage() yet"

inspection-report-20200330_144131.tar.gz

@balchua
Copy link
Collaborator

balchua commented Mar 30, 2020

Hi @bjf is it working?
If not, you can refer to the docs here and scroll to the section which talks about zfs.
Thanks

@bjf
Copy link
Author

bjf commented Mar 30, 2020 via email

@balchua
Copy link
Collaborator

balchua commented Mar 30, 2020

I think containerd log is set to debug.
You can edit the file /var/snap/microk8s/current/args/containerd and add this line --log-level fatal
After that you can do a microk8s.stop and then microk8s.start.
Can you see if this works? Thanks

@bjf
Copy link
Author

bjf commented Mar 31, 2020 via email

@balchua balchua added the kind/support Question with a workaround label Mar 31, 2020
@balchua
Copy link
Collaborator

balchua commented Mar 31, 2020

Great. Thanks

@balchua balchua closed this as completed Mar 31, 2020
@tvansteenburgh
Copy link
Contributor

Wait, shouldn't we consider making this the default?

@balchua
Copy link
Collaborator

balchua commented Mar 31, 2020

Sorry about closing it sooner. Maybe info or error.

@balchua balchua reopened this Mar 31, 2020
@ktsakalozos
Copy link
Member

I am +1 to reducing the log level.

This specific log message [1] is marked as error so if we are to silence it we would need to log almost nothing. I am not so sure this is the right approach. We gather containerd logs via the microk8s.inspect script to figure out if something is wrong.

In its default setup on zfs MicroK8s uses the native snapshoter so you normally do not see this message.

[1] https://github.com/containerd/zfs/blob/9abf673ca6ff9ab8d9bd776a4ceff8f6dc699c3d/zfs.go#L133
[2] containerd/zfs#17

@stale
Copy link

stale bot commented Feb 25, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the inactive label Feb 25, 2021
@dalbani
Copy link
Contributor

dalbani commented Mar 22, 2021

The ZFS snapshotter plugin has been fixed in containerd/zfs#38.
And the fix is marked for inclusion in containerd 1.5 in containerd/containerd#5243.
What does this mean for MicroK8s? In terms of when it will land in a stable release.
I suppose quite far down the line, right? Because I read that MicroK8s 1.21 will use containerd version 1.4.
Given how annoying those log message are, is there a way to compile and include the fix manually in MicroK8s or something like that?

@stale stale bot closed this as completed Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
inactive kind/support Question with a workaround
Projects
None yet
Development

No branches or pull requests

5 participants