Flannel migration controller tries to run a flannel cleanup pod on each node. It seems the cleanup pod failed to start for some reason. Is this happening on the very first node to migrate? Or there are nodes migrated succesfully?
Can you watch pod in kube-system namespace and see if the cleanup pod did come up?
It looks like it’s getting through quite a bit of the migration process before failing to find a pod. Please see attached complete set of logs and a screenshot of cluster events for more info.
It appears that a flannel-migration pod ran to completion and was deleted before flannel-migration-controller could clean it up. I’m not sure what’s happening to cause that, though.
Sorry for late reply. Could you start a new cluster and apply yaml below on one of your nodes? This is same as running a remove-flannel pod but give us chance to evaluate what could go wrong.
Please put in your node name and collect logs for this pod. Thanks!
If you are using rancher and Canal you will run into troubles following migration tutorial. Normal attempt to migrate from Canal to Calico will result in below error message which render migration unsuccessful.
In order to migrate to Calico first install Canal by using yaml file in documentation section. Remember to change “Network” CIDR from its default value to your network CIDR and everything will go smoothly.