Platform9 Generic
Latest
Hostagent Unable to Start pf9-* Services
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
$ grep '^pf9group:' /etc/group
pf9group:*:1003
$ id pf9
uid=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.
# vi /etc/group
pf9group:*:1001
After correction, the output will look as below.
$ id pf9
uid=1001(pf9) gid=1001(pf9group) groups=1001(pf9group)
Restart the pf9-hostagent service on the host.
$ systemctl restart pf9-hostagent.service
Last updated on
Was this page helpful?
Frequently Asked Questions
How To
Solution
Internal Only
Templates
Powered by
