-
Notifications
You must be signed in to change notification settings - Fork 759
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.kubectl" failed: cannot create transient scope: DBus error "System.Error.E2BIG" #2194
Comments
Just curious if you run a standalone kubectl (not thru microk8s kubectl) do you see the same error? |
Following your question, I have installed |
Not really an expert on this, it looks like something has to be tuned on the system. |
@balchua Like I mentioned in the issue I have already tried increasing it substantially -- but it didn't help too much. Besides, like you remarked yourself, it's not clear what's the upper limit. |
Using this post, I have found that you may place an extra One thing I noticed that may be helpful but I can't figure it out. |
Maybe increasing the stack size like |
I noticed that if I switch to |
Perhaps the ulimit settings is user session based. The ulimit you set in the containerd-env file is set using the root user. Im probably saying something wrong tho. |
@balchua thanks. Yeah, that was my gut feeling also. But the weirdest thing is that I also checked |
I'm thinking I could rule out the |
Is it ok to upload the inspect tarball? Im not sure it can reveal anything tho. |
I'm also seeing this on Inspect doesn't work either:
Rebooting brings it back, at least temporarily. I read here that running |
@robotrapta yes, you linked the issue here :) |
I'm having the same issue on my cluster. I'm also getting random errors with pods failing. I'm also getting the |
I get this if I leave |
@flyte same here -- but what would be the root cause? I remember this wasn't the problem before, I had open |
I think it's specifically a problem with kubectl when it's installed as a snap. Beyond that I don't know. |
I've provided some info in https://forum.snapcraft.io/t/dbus-error-system-error-e2big-error/29227/2, if possible please capture the session bus traffic, as well as the journal. |
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. |
Just ran into this issue in 1.25
Restarting |
This started showing up for me again, and also appears to be related to
|
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. |
Problem description
When trying to execute any of the
microk8s
commands I get:After some time of cluster activity the
microk8s
fails with the above error. This error effectively prevents from doing any operations withmicrok8s
command, including themicrok8s inspect
,microk8s.start/stop
ormicrok8s.kubectl
.It seems that the only solution is to restart the system and the cluster comes back to a healthy state again. However, after couple of hours it goes back to the failed state again.
Interestingly enough, it seems that the services inside the cluster ARE working and responding -- I can query them and so on, they are working as expected, but I cannot check their state or logs.
System data
microk8s
: 1.15/1.17 stable (both had the same problem occuring)System
: Ubuntu 18.04.1Comments
microk8s
that crashes with this error.ulimit
size but it didn't help and I'm not too keen on doing that indefinitely.Is there a way to at least recover the system permanently from that state?
I tried restarting each of the services from here: https://microk8s.io/docs/configuring-services
Only one did help:
systemctl restart snap.microk8s.daemon-containerd
, but the cluster falls back into the same failed state (DBus error) couple of seconds after restarting thecontainerd
service -- so eventually it didn't help.The text was updated successfully, but these errors were encountered: