Azure / azure-quickstart-templates

Azure Quickstart Templates
https://aka.ms/azqst
MIT License
14k stars 16.1k forks source link

The automated install of the tableau-server-single-node template deploys an Ubuntu 16 VM on Azure but then fails to install Tableau #8503

Open sideshowtom opened 3 years ago

sideshowtom commented 3 years ago

The automated install of the tableau-server-single-node template deploys an Ubuntu 16 VM on Azure but then fails to install Tableau.

This is because line 7 of

azure-quickstart-templates/tableau-server-single-node/scripts/config-linux.sh

which is

"while getopts .....option"

should have an 'e' option for the tableau server version, because it is used on line 237 of

azure-quickstart-templates/tableau-server-single-node/azuredeploy.json

and without the 'e' option in the getopts, config-linux.sh fails to get any of the parameters.

MCKLMT commented 3 years ago

Are you sure about that? I don't see the version used in the script.

sideshowtom commented 3 years ago

Its passed in from azuredeploy.json as a parameter. See line 29 of azuredeploy.json.

MCKLMT commented 3 years ago

I see Tom but the parameter is not used in the script.

sideshowtom commented 3 years ago

It is. If you look at line 237 of azuredeploy.json, thats where its set up to be passed to config-linux.sh, with the -f parameter. Line 237 is very long so you have look near the end of it.

On line 487 of azuredeploy.json is where its specified to create the VM according to the OS parameter. The vm is created ok but no parameters are passed to config-linux.sh because of the mismatch in getopts in config-linux.sh.