quickstart-microsoft-sql icon indicating copy to clipboard operation
quickstart-microsoft-sql copied to clipboard

Error in SetMaxDOP.ps1 causes stack creation to fail

Open bjwyse opened this issue 6 years ago • 0 comments

There is an additional comma in the script SetMaxDOP.ps1 which causes the stack creation to fail.

cfn-init log file shows:

2019-07-24 16:40:47,977 [DEBUG] Command a-set-maxdop output: At C:\cfn\scripts\SetMaxDOP.ps1:22 char:15
+     $dop="30",
+               ~
Missing expression after ','.
    + CategoryInfo          : ParserError: (:) [], ParseException
    + FullyQualifiedErrorId : MissingExpressionAfterToken
 

2019-07-24 16:40:47,977 [ERROR] Error encountered during build of Configure: Command a-set-maxdop failed
Traceback (most recent call last):
  File "cfnbootstrap\construction.pyc", line 544, in run_config
  File "cfnbootstrap\construction.pyc", line 138, in run_commands
  File "cfnbootstrap\command_tool.pyc", line 117, in apply
ToolError: Command a-set-maxdop failed
2019-07-24 16:40:47,977 [ERROR] Unhandled exception during resume: Command a-set-maxdop failed
Traceback (most recent call last):
  File "cfn-init", line 76, in <module>
  File "cfnbootstrap\construction.pyc", line 177, in resume
  File "cfnbootstrap\construction.pyc", line 544, in run_config
  File "cfnbootstrap\construction.pyc", line 138, in run_commands
  File "cfnbootstrap\command_tool.pyc", line 117, in apply
ToolError: Command a-set-maxdop failed

bjwyse avatar Jul 25 '19 10:07 bjwyse