When registering PACI Instance Manager, task to install packages fails:
Task name Install additional packages on node 'im' according role PACI_IM Last execution output Command '/bin/sh -c service terracotta start' execution failed with code 1: FATAL: Choose correct Terracotta DSO boot jar
And the hostname of the node cannot be resolved from itself:
# hostname paci-im.domain.tld # ping paci-im.domain.tld ping: unknown host paci-im.domain.tld
Terracotta DSO boot jar fails to initialize due to java.net.UnknownHostException.
Please make sure that future Instance Manager can resolve its hostname or add the line
/etc/hosts file on that node, then do one of the following:
1) Remove terracotta rpm
2) generate the boot jar manually by using
# export JAVA_HOME=/usr/java/default # ./usr/local/terracotta-3.6.1/platform/bin/make-boot-jar.sh
And re-run the failing task.