When doing a icm_client reconfigure you may face the below error:
From admin node logs:åÊ/var/log/gphd/gphdmgr/gphdmgr-webservices.log
sudo: no tty present and no askpass program specified [ERROR] Unable to modify password of user, gpadmin
From the slave node logs: /tmp/GPHDNodeInstaller_xxx.log
[INFO] Checking yum repo file [ERROR] Expected puppet tar file, /home/gpadmin/1.tar.gz, does not exist.
1. Check the file under /etc/sudoers.d/gpadmin file permission which need to have below permission:
[root@pccadmin ~]# ll /etc/sudoers.d/ total 4 -r--r-----. 1 root root 54 Sep 30 21:20 gpadmin
2. The contents of the file should have the following in order to overcome the error above
[root@pccadmin ~]# cat /etc/sudoers.d/gpadmin %gpadmin ALL=(ALL) NOPASSWD:ALL Defaults !requiretty