This occurs roughly to 1/5 runs in our CI right now. So far openstack only. Two baremetal deploy of openstack and one on serverstack.
Just to add a little bit more information, on each kubernetes-master subordinate charms, I'm seeing:
juju-run[17250]: ERROR cannot write leadership settings: cannot write settings: not the leader
apparmor="DENIED" operation="mkdir" profile="snap.kube-apiserver.daemon" name="/run/kubernetes/" pid=5993 comm="kube-apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
This occurs roughly to 1/5 runs in our CI right now. So far openstack only. Two baremetal deploy of openstack and one on serverstack.
Just to add a little bit more information, on each kubernetes-master subordinate charms, I'm seeing:
juju-run[17250]: ERROR cannot write leadership settings: cannot write settings: not the leader
apparmor="DENIED" operation="mkdir" profile= "snap.kube- apiserver. daemon" name="/ run/kubernetes/ " pid=5993 comm="kube- apiserver" requested_mask="c" denied_mask="c" fsuid=0 ouid=0