Questions tagged with Windows Provisioning

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

AWS AMI ami-0c7328b3dbb11f540 (Windows_Server-2012-R2_RTM-English-64Bit-Base-2022.07.13) seems corrupt. It can't run basic powershell commands upon autoscaling launch due to missing files?

AWS released the latest Windows Server 2012 R2 AMIs on 7/13/2022. Upon testing this morning, I found that ami-0c7328b3dbb11f540 is corrupt and will not properly run powershell commands upon launch due to missing files in the filesystem. Reverting to the June image (ami-09e13647920b2ba1d) allowed our autoscaling EC2 instances to launch properly. For specifics, below is the error that triggered an autoscaling build failure. ``` 2022-07-15 13:43:32,501 [ERROR] -----------------------BUILD FAILED!------------------------ 2022-07-15 13:43:32,501 [ERROR] Unhandled exception during build: [Errno 2] No such file or directory: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tmp2_4a69w_/subp-stderr-8e0905c1-1293-4379-bbb8-bf88a2978290.txt' Traceback (most recent call last): File "cfn-init", line 176, in <module> File "cfnbootstrap\construction.pyc", line 137, in build File "cfnbootstrap\construction.pyc", line 564, in build File "cfnbootstrap\construction.pyc", line 578, in run_config File "cfnbootstrap\construction.pyc", line 146, in run_commands File "cfnbootstrap\command_tool.pyc", line 92, in apply File "cfnbootstrap\util.pyc", line 587, in call File "cfnbootstrap\util.pyc", line 562, in call FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp\\tmp2_4a69w_/subp-stderr-8e0905c1-1293-4379-bbb8-bf88a2978290.txt' ```
4
answers
0
votes
197
views
asked 5 months ago