Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Node not Joining Cluster
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
Node is not able to join the cluster.
Environment
- Platform9 Managed Kubernetes - All versions
Cause
- Pf9 user permissions issue.
hostagent.log
x
2024-08-08 22:09:18,781 - pf9_app.py INFO - Setting the desired service state2024-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-comms2024-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 True2024-08-08 22:09:18,789 - pf9_app_cache.py INFO - Downloading pf9-kube.1.27.13-pmk.2082024-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.deb2024-08-08 22:09:18,789 - pf9_app.py INFO - Removing pf9-kube.1.28.6-pmk.262024-08-08 22:09:18,916 - pf9_app.py INFO - Setting the desired service state2024-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-nodeletd2024-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 False2024-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.
Bash
xxxxxxxxxx# lslogins pf9 # chage -l pf9# sudo -l -U pf9# ls -l /etc/sudoers /etc/sudoers.d/*# grep "^pf9:" /etc/passwd /etc/shadow# namei -l /var/opt/pf9/hostagent/data.conf- If there is any issue with the pf9 user account and sudoers, fix those permissions.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message