Deploying Elasticsearch might fail if the Elasticsearch host name contains the word "elasticsearch"


When you deploy SAS® Visual Investigator, the Elasticsearch deployment might fail with an error similar to the following in the deployment.log file if the host on which Elasticsearch is being deployed contains the word "elasticsearch" in the host name and/or fully qualified domain name (FQDN). Here is an example: "company-elasticsearch-01.sub.domain"

"stderr": "Incorrect number of command arguments\n2020/12/07 16:13:46 Incorrect number of command arguments\n[2020-12-07 16:13:45] [FATAL] An error occurred in line 148 of file /opt/sas/viya/home/share/../share/svi-configuration/svi-configuration-functions.sh:\n eval \"$command\" \"$@\"\n[2020-12 -07 16:13:45] [ERROR] /opt/sas/viya/home/share/../share/svi-configuration/svi-configuration-functions.sh exited with return code 1"

In this scenario, the PLAY RECAP suffix in the log reads as follows:

company-elasticsearch-01.sub.domain :ok=220  changed=104  unreachable=0   failed=1...

To resolve this issue, change the host name to not include the word "elasticsearch". Here is an example: "company-es-01.sub.domain"