1 卸载时提示如下账号登录错误

  1. TASK [05. delete greenplum user] ********************************************************************************************************************
  2. fatal: [10.1.20.24]: FAILED! => {"changed": false, "msg": "userdel: user gpadmin is currently used by process 3119\n", "name": "gpadmin", "rc": 8}

解决方法:说明有其他终端以用户gpadmin账号登录,只需将该终端退出登录即可解决。

2 安装或卸载时提示如下配置错误

  1. [INFO]: Parse configure file content following:
  2. IP:10.1.20.24 User:tang Password:XXXXXXX
  3. [ERROR]: File content format error,reason [user name] not is root
  4. OVER!!!!

解决方法:配置文件account.txt中的账号必须为root。

3 安装或卸载时提示如下配置免登录错误

  1. [INFO]: copy remote public key to local...
  2. cat: ./.id_rsa.pub.10.1.20.24.tmp: No such file or directory
  3. [ERROR]: Config auto ssh failed, error code is 1, Check the error log.
  4. OVER!!!!

解决方法:配置文件account.txt中的账号密码或者主机IP存在错误,或者机器的22端口不通,请核查并纠正。