gpcc-util ignores $HOME and hard codes the gpadmin users' home directory to /home/gpadmin
search cancel

gpcc-util ignores $HOME and hard codes the gpadmin users' home directory to /home/gpadmin

book

Article ID: 432278

calendar_today

Updated On:

Products

VMware Tanzu Data VMware Tanzu Greenplum

Issue/Introduction

gpcc-util ignores $HOME (and the home dir entry in /etc/passwd) and apparently hard codes the gpadmin users' home directory to /home/gpadmin

Resolution

Following command should run successfully:

gpcc-util clean-tempfile start -k $HOME/.ssh/id_rsa

 

The following summarizes the supported flags with gpcc-util clean-tempfile option - including -k which should successfully work through modifying the default home directory.

Flags:

FlagDescription
-kPath to the SSH private key used to connect to hosts (defaults to /home/<user>/.ssh/id_rsa)
-r(optional) Skip the collect step — only delete the temp files without saving data to the database