Hello,
We’re creating Amazon machine images of the HPC head nodes using Packer, and an issue arises when the box is being provisioned with powershell scripts via a winRM connection.
When setup.exe for HPC is run, the logs show the install finishing prematurely when setup.exe attempts to run the installer for SQL Server 2016 Express:
21:41:00.461 - Install Microsoft SQL Server 2016 Express with return value -2146233079
21:41:00.461 - getNextInstallItemIndex: 9, Microsoft SQL Server 2016 Express
21:41:00.461 - Installation finished.
The base image we’re using is Windows Server 2016 Base, though this error can be reproduced on Windows Server 2016 Core and Windows Server 2016 w/SQL Express 2016. This issue also occurs when we use AWS's remote code execution
tool. Running the included sql server express setup.exe beforehand produces the same result.
We're running setup.exe as follows (it works fine when run in powershell in an rdp session):
start-process -FilePath "setup.exe" -ArgumentList "-Unattend -ClusterName:cluster1 -HeadNode -HeadNodeList:$hostname -SSLPfxFilePath:cluster1.pfx -SSLPfxFilePassword:$sslPass -Wait
Thanks for the help!