Platform9 Generic
Latest
Frequently Asked Questions
How To
Solution
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?
Hostagent Unable to Start pf9-* Services
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Host not able to converge with the management plane
- Hostagent fails to start pf9-* services
2020-05-29 06:15:16,155 - pf9_app.py ERROR - Command sudo /etc/init.d/pf9-muster start, code=1 stdout= stderr=sudo: no tty present and no askpass program specified- For gid 1001 for pf9-user, we see a different group instead of pf9-group
xxxxxxxxxx$ grep '^pf9group:' /etc/grouppf9group:*:1003 $ id pf9uid=1001(pf9) gid=1001('diff-username') groups=1001('diff-group-name')Environment
- Platform9 Managed OpenStack - All Versions
- Platform9 Managed Kubernetes - All Versions
Cause
The /etc/group file on the hosts is modified reflecting a different gid for user pf9group.
Resolution
- Correct the gid for pf9group to 1001 in /etc/group file.
xxxxxxxxxx# vi /etc/grouppf9group:*:1001- After correction, the output will look as below.
xxxxxxxxxx$ id pf9uid=1001(pf9) gid=1001(pf9group) groups=1001(pf9group)- Restart the pf9-hostagent service on the host.
xxxxxxxxxx$ systemctl restart pf9-hostagent.serviceVariableType 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