Hello everyone,
I believe you can learn how to deal with FusionInsight HD NodeAgent Installation Failure from my case.
[Applicable Versions]
6.5.x
[Symptom]
NodeAgent installation fails when a cluster is installed.
[Fault Locating]
Check the controller log (/var/log/Bigdata/controller/controller.log) and find the following error information:
2019-12-03 13:43,164 WARN [pool-33-thread-1] 192.168.0.99: Failed Command execution CommandResponse [success=false, completed=true, exitCode=12, stdOut=Installing node agent... keytool error: java.lang.Exception: Alias <tomcat> does not exist ERROR:Failed to start nodeagent Start nodeagent process. ERROR:Failed to install node agent. , stdErr=chmod: cannot access `/opt/huawei/Bigdata/nodeagent/setup/web/*': No such file or directory, command=Command [executableScript=su - omm -c "/opt/huawei/Bigdata/nodeagent/setup/installnodeagent.sh {OM_NODEAGENT_NODEID} 192.168.0.99 20025 /var/log/Bigdata {IS_START_AGENT}", capture=EXECUTE_ONLY, script=su - {OMM_USER} -c "{NODEAGENT_HOME}/setup/installnodeagent.sh {OM_NODEAGENT_NODEID} {OM_NODEAGENT_CONTROLLER_IP} {OM_NODEAGENT_CONTROLLER_PORT} {BIGDATA_LOG_HOME} {IS_START_AGENT}", success=null, ifFail=null]] com.huawei.hadoop.om.controller.agent.nodesetup.SshActionChannelHandler.processFail(SshActionChannelHandler.java:515)Check the configuration of and permission on /etc/hosts.
hostname
hostname -i
According to the result, the permission on /etc/hosts is 600. As a result, the IP address cannot be found after the hostname -i command is run under user omm.
[Solution]
Change the permission on /etc/hosts to a value greater than 644 and click Retry.
Hope you can learn from it, thank you!