mattmcspirit / azurestack

Azure Stack Resources
80 stars 41 forks source link

Issue processing Windows Server 2016 full & core images #108

Closed gijs007 closed 4 years ago

gijs007 commented 4 years ago

I'm experiencing an issue with the creation of the Windows Server 2016 full & core images. I'm using the same Windows Server 2016 RTM refresh ISO as usual, but to be safe I've re-downloaded it from the Microsoft website.

From the log files, it seems that there is an incorrect parameter being parsed by the AzS POC config script. See the output below. I'll email the log files, when I'm back at work tomorrow.

INFO : Closing Windows image... INFO : Closing ISO... INFO : Done.

ServerFull.2016.40.20190930.vhd has been successfully created with Servicing Stack Updates. Mounting ServerFull.2016.40.20190930.vhd to inject cumulative updates Creating a mount directory Mounting the VHD PS>TerminatingError(Mount-WindowsImage): "The parameter is incorrect. " Image creation wasn't successful. Cleaning up, then waiting 10 seconds before retrying. The parameter is incorrect. .Exception.Message

Azure Stack POC Configurator Stage: ServerFull2016Image failed. Updating AzSPoC Progress database Creating a Windows Server (ServerFull.2016.40.20190930.vhd) image failed after 3 attempts. Check the logs then retry. Exiting process..Exception.Message

mattmcspirit commented 4 years ago

Hey - I haven't seen this before, but I'll test in my environment on a fresh 1908 ASDK and let you know if there's an issue. I've typically tested with the WS Eval ISO from the public Microsoft website. If you can email me the WindowsImage logs, i can take a look but I suspect there won't be much more info than what is above.

mattmcspirit commented 4 years ago

To close this out, it seems to be an issue with 1908+, based on Windows Server 2019, and the use of the USB drive as the path for the -downloadPath. Using a local drive has solved the issue.