can not upgrade calico when kubernetes master units running in LXD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Calico Charm |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
When I'm upgrading the charmed kubernetes 1.19 to 1.24, if the master and worker units are running on VMs, I am able to upgrade the cluster directly to 1.24 successfully.
But if master units are running in LXD (not tested for workers but most probably result will be the same), calico upgrade stucks in "waiting" state.
I have deployed the bundle I attached. In this deployment kubernetes-master units are running in LXD. Per the upgrade documentation [1];
First, I have upgraded containerd, etcd, easyrsa and kubeapi-
juju upgrade-charm containerd --switch ch:containerd --channel 1.24/stable
juju upgrade-charm etcd --switch ch:etcd --channel 1.24/stable
juju upgrade-charm easyrsa --switch ch:easyrsa --channel 1.24/stable
juju upgrade-charm api-lb --switch ch:kubeapi-
But after I run the command below:
juju upgrade-charm calico --switch ch:calico --channel 1.24/stable
Calico units got stuck at "waiting" state and the message was "Waiting to retry BGP peer configuration"
I'm also attaching juju debug logs and calico logs.
Attached calico logs.