gpdb
gpdb copied to clipboard
gpssh-exkeys succeeds but gpssh reports Error: No user name available to Login method
I use docker to deploy the greenplum cluster, use the docker image of centos7, the rpm package is greenplum-db-6.16.3-rhel7-x86_64.rpm, during the deployment process, I encountered the situation that gpssh-exkeys succeeded but gpssh failed, which corresponds to master and other nodes have been configured for ssh password-free operation.
Screenshot below:
how should i solve this problem?
This doesn't look like a bug. You shouldn't be doing this as the root user. Is it right?
Try switching to the gpadmin
user.
Try switching to the
gpadmin
user.
https://github.com/greenplum-db/gpdb/blob/master/gpMgmt/bin/gppylib/util/ssh_utils.py#L175