Summary
After upgrading my host to plucky, I noticed that I couldn't bootstrap any Juju controllers in microk8s. I purged and reinstalled the snap (1.32-strict/stable, since strict confinement is suggested for Juju) but still couldn't bootstrap. The issue is when creating the persisted volume claims with hotstpath-storage.
Going further, trying to verify the behavior of hostpath-storage fails https://microk8s.io/docs/addon-hostpath-storage#verify.
I do see some permission issues on the coredns pod:
k logs coredns-79b94494c7-j2ln5 -nkube-system
listen tcp :8080: socket: permission denied
And apparmor denials in dmesg:
[ 2544.616352] audit: type=1400 audit(1747829697.711:1934): apparmor="DENIED" operation="create" class="net" profile="cri-containerd.apparmor.d" pid=90766 comm="coredns" family="inet6" sock_type="stream" protocol=0 requested="create" denied="create"
[ 2544.616358] audit: type=1400 audit(1747829697.711:1935): apparmor="DENIED" operation="create" class="net" profile="cri-containerd.apparmor.d" pid=90766 comm="coredns" family="inet6" sock_type="stream" protocol=0 requested="create" denied="create"
[ 2546.036927] audit: type=1400 audit(1747829699.132:1936): apparmor="DENIED" operation="create" class="net" profile="cri-containerd.apparmor.d" pid=12612 comm="hostpath-provis" family="inet" sock_type="stream" protocol=0 requested="create" denied="create"
[ 2549.026025] audit: type=1400 audit(1747829702.121:1937): apparmor="DENIED" operation="create" class="net" profile="cri-containerd.apparmor.d" pid=12612 comm="hostpath-provis" family="inet" sock_type="stream" protocol=0 requested="create" denied="create"
What Should Happen Instead?
These steps should pass https://microk8s.io/docs/addon-hostpath-storage#verify.
Reproduction Steps
Just these steps https://microk8s.io/docs/addon-hostpath-storage#verify.
Introspection Report
Can you suggest a fix?
Are you interested in contributing with a fix?
Summary
After upgrading my host to plucky, I noticed that I couldn't bootstrap any Juju controllers in microk8s. I purged and reinstalled the snap (
1.32-strict/stable, since strict confinement is suggested for Juju) but still couldn't bootstrap. The issue is when creating the persisted volume claims with hotstpath-storage.Going further, trying to verify the behavior of hostpath-storage fails https://microk8s.io/docs/addon-hostpath-storage#verify.
I do see some permission issues on the coredns pod:
And apparmor denials in dmesg:
What Should Happen Instead?
These steps should pass https://microk8s.io/docs/addon-hostpath-storage#verify.
Reproduction Steps
Just these steps https://microk8s.io/docs/addon-hostpath-storage#verify.
Introspection Report
Can you suggest a fix?
Are you interested in contributing with a fix?