Cluster Node is reporting offline as pf9-kube service is in a stopped state. The following error message observed in /var/log/pf9/nodelet.log.
+ apt-get -y purge docker lxc-docker docker-engine\n E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.\n" func=main.startKubeService file="/pf9/nodelet/nodeletd.go:210"
time="<date:time>" level=warning msg="Trying to start pf9-kube 2501. Failed task on the last run was: Configure Docker" func=main.writeExtensionData file="/pf9/nodelet/nodeletd.go:261"
- Platform9 Managed Kubernetes - v4.1
The pf9-kube was unable to purge the packages as some of the packages were broken.
+ apt-get -y purge docker lxc-docker docker-engine
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem.
- Manually run the below command on the node to fix the broken packages.
# sudo dpkg --configure -a
- Once this command completes successfully the nodeletd service will start pf9-kube service and the node will be reported as Ready.