danielsollondon/azvmimagebuilder

RPC client: Communicator ended with: 16001

jquinn99002 opened this issue · 2 comments

Hi,

I am building an imagine for Windows Server 2019 and keep finding my build fails, and in the customisation log it says : RPC client: Communicator ended with: 16001
Is anyone able to help?

[692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-builder-azure-arm plugin: [INFO] command 'powershell -executionpolicy bypass "& { if (Test-Path variable:global:ProgressPreference){set-variable -name variable:global:ProgressPreference -value 'SilentlyContinue'};. c:/Windows/Temp/packer-ps-env-vars-5f956214-25da-5cf3-b8fc-7ad7300de06c.ps1; &'c:/Windows/Temp/script-5f956214-04e3-8ede-cb7f-c35c82877b9e.ps1'; exit $LastExitCode }"' exited with code: 16001 [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER OUT ==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present... [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-builder-azure-arm plugin: [INFO] RPC endpoint: Communicator ended with: 16001 [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER OUT ==> azure-arm: [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 [INFO] 7111 bytes written for 'stdout' [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER OUT ==> azure-arm: The resource group was not created by Packer, deleting individual resources ... [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 [INFO] 0 bytes written for 'stderr' [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 [INFO] RPC client: Communicator ended with: 16001 [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 [INFO] RPC endpoint: Communicator ended with: 16001 [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-provisioner-powershell plugin: [INFO] 0 bytes written for 'stderr' [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-provisioner-powershell plugin: [INFO] 7111 bytes written for 'stdout' [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-provisioner-powershell plugin: [INFO] RPC client: Communicator ended with: 16001 [692f3899-c759-4f6a-9722-7d7e48a49216] PACKER ERR 2020/10/25 12:09:44 packer-provisioner-powershell plugin: c:/Windows/Temp/script-5f956214-04e3-8ede-cb7f-c35c82877b9e.ps1 returned with exit code 16001

It seems to be an issue with c:/Windows/Temp/script-5f956214-04e3-8ede-cb7f-c35c82877b9e.ps1, returning 16001 but I cannot work out why.

Please can you raise a support case, and share the case ref? We have a specialist AIB support team, and the product group triages with them daily.