Closed tonyespy closed 2 months ago
Hey @tonyespy, I see a lot of these messages when trying to see the system logs of services in the the report:
[0;1;38;5;185mJournal file /var/log/journal/0794bfcccf8b402c87b2482afaa26392/system@ec1d3e5a7e354886b837239a7cb8b8ac-00000000003cee93-0006020bd9f098f0.journal uses an unsupported feature, ignoring file.[0m
[0;1;38;5;185mUse SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/0794bfcccf8b402c87b2482afaa26392/system@ec1d3e5a7e354886b837239a7cb8b8ac-00000000003cee93-0006020bd9f098f0.journal to see the details.[0m
looks like some sort of unsupported journalctl feature issue. Can you run these commands to get more info on these services? For example in the above case, use:
SYSTEMD_LOG_LEVEL=debug journalctl --file=/var/log/journal/0794bfcccf8b402c87b2482afaa26392/system@ec1d3e5a7e354886b837239a7cb8b8ac-00000000003cee93-0006020bd9f098f0
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.
Summary
According to this microk8s doc page, microk8s uses:
That said, I think this is only used as the default on a machine that for which you've run
add-node
(and possiblejoin-node
too). I may have done this recently while testing at a sprint.The problem is that once this has been done once, the
vxlan.calico
network interface and associatedcaliXXXX
ethernet interfaces are not deleted if the microk8s snap is removed. If you re-install the snap, a new pair ofcaliXXXX
eth interface get created (I now have 21 on my system). The number increases by two every time you remove and then re-install the snap.Snap version: v1.27.3 5590 (arm64)
What Should Happen Instead?
When the microk8s snap is removed, it should clean up any network interfaces that it created.
Reproduction Steps
I've been able to reproduce this consistently on one machine running 22.04 LTS Desktop, but haven't reproduced it on another machine yet (see above comment about
add-node
command). I will try again when I have more bandwidth, and will update the issue with my findings.microk8s add-node
(again I think this is what got me here)ipaddr
ornmcli d
and notice thevxlan.calico
andcaliXXXX
interface(s)sudo snap remove microk8s --purge
caliXXX
interfacesIntrospection Report
inspection-report-20230803_181941.tar.gz
Can you suggest a fix?
Are you interested in contributing with a fix?