Node not Joining Cluster
Problem
Node is not able to join the cluster.
Environment
Platform9 Managed Kubernetes - All versions
Cause
Pf9 user permissions issue.
2024-08-08 22:09:18,781 - pf9_app.py INFO - Setting the desired service state
2024-08-08 22:09:18,781 - pf9_app.py INFO - Setting service state pf9-comms.5.9.3-1192.99bd9ba. Command: sudo systemctl start pf9-comms
2024-08-08 22:09:18,788 - pf9_app.py ERROR - Command sudo systemctl start pf9-comms, code=1 stdout= stderr=sudo: you do not exist in the passwd database
2024-08-08 22:09:18,789 - pf9_app.py WARNING - Failed to set service pf9-comms to state True
2024-08-08 22:09:18,789 - pf9_app_cache.py INFO - Downloading pf9-kube.1.27.13-pmk.208
2024-08-08 22:09:18,789 - pf9_app_cache.py INFO - Using previously cached file /var/cache/pf9apps/pf9-kube/1.27.13-pmk.208/pf9-kube-1.27.13-pmk.208.x86_64.deb
2024-08-08 22:09:18,789 - pf9_app.py INFO - Removing pf9-kube.1.28.6-pmk.26
2024-08-08 22:09:18,916 - pf9_app.py INFO - Setting the desired service state
2024-08-08 22:09:18,916 - pf9_app.py INFO - Setting service state pf9-nodeletd.1.28.6-pmk.26. Command: sudo systemctl stop pf9-nodeletd
2024-08-08 22:09:18,922 - pf9_app.py ERROR - Command sudo systemctl stop pf9-nodeletd, code=1 stdout= stderr=sudo: you do not exist in the passwd database
2024-08-08 22:09:18,922 - pf9_app.py WARNING - Failed to set service pf9-nodeletd to state False
2024-08-08 22:09:19,283 - pf9_app_db.py ERROR - Erase command failed : sudo /opt/pf9/hostagent/bin/pf9-apt erase pf9-kube. Return code: 1, stdout: , stderr: sudo: you do not exist in the passwd databaseResolution
Check pf9 user permissions.
If there is any issue with the pf9 user account and sudoers, fix those permissions.
PreviousKubeconfig Invalidated after Kubernetes Cluster Upgrade of PMK Clusters
NextEnable ETCD Encryption in Existing PMK Clusters
Last updated
