Pivotal Knowledge Base

Follow

icm_client reconfigure issue : [ERROR] Expected puppet tar file

Environment

PHD x.x.x

Problem Summary

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.

Solution/Reference

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

Comments

Powered by Zendesk