danielsollondon / azvmimagebuilder

Azure VM Image Builder
180 stars 153 forks source link

AIB - long installs fail with RPC endpoint: Communicator ended with: 16001 #133

Closed MarkSchlegel closed 7 months ago

MarkSchlegel commented 1 year ago

Hello,
I have an Azure Image Builder issue where several long-running install scripts fail with: "RPC endpoint: Communicator ended with: 16001" .

Can you explain how to make a default setting of "as long as the install takes" ? I don't want to put a value into each install script, and the time can vary widely, depending on load, 5-30+ minutes. Example from customization log: Note the ten minute timespan. this happens on different install scritps, suggesting a global setting. I just can't find it.: 2022/12/16 18:43:15 2022/12/16 18:53:17

[7c171b0c-5af3-4749-9048-633d5f528640] PACKER ERR 2022/12/16 18:43:15 packer-plugin-azure plugin: 2022/12/16 18:43:15 [INFO] starting remote command: powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-639cbc1b-6993-a7e7-ad7f-533c0c603061.ps1" [7c171b0c-5af3-4749-9048-633d5f528640] PACKER OUT azure-arm: Transcript started, output file is C:\Comcast\InstallVSBuildTools.txt [7c171b0c-5af3-4749-9048-633d5f528640] PACKER OUT azure-arm: True [7c171b0c-5af3-4749-9048-633d5f528640] PACKER OUT ==> azure-arm: Provisioning step had errors: Running the cleanup provisioner, if present... [7c171b0c-5af3-4749-9048-633d5f528640] PACKER ERR 2022/12/16 18:53:17 packer-plugin-azure plugin: 2022/12/16 18:53:17 [INFO] command 'powershell -executionpolicy bypass -file "C:/Windows/Temp/packer-elevated-shell-639cbc1b-6993-a7e7-ad7f-533c0c603061.ps1"' exited with code: 16001 [7c171b0c-5af3-4749-9048-633d5f528640] PACKER OUT ==> azure-arm: [7c171b0c-5af3-4749-9048-633d5f528640] PACKER ERR 2022/12/16 18:53:17 packer-plugin-azure plugin: 2022/12/16 18:53:17 [INFO] RPC endpoint: Communicator ended with: 16001

Thank in advance! Mark Schlegel

neleshgoel commented 1 year ago

Hello @danielsollondon , is there any update on the issue.... I am facing same issue where several long-running install scripts fail with: "RPC endpoint: Communicator ended with: 16001" [5d7e952a-310d-4744-a2a2-30efa8ce11b4] PACKER ERR 2022/12/27 10:53:43 packer-plugin-azure plugin: 2022/12/27 10:53:43 &'c:/Windows/Temp/script-63aac834-c39b-a68b-d018-fc1afc87b09f.ps1'; exit $LastExitCode }"' exited with code: 16001 [5d7e952a-310d-4744-a2a2-30efa8ce11b4] PACKER ERR 2022/12/27 10:53:43 packer-plugin-azure plugin: 2022/12/27 10:53:43 [INFO] RPC endpoint: Communicator ended with: 16001

danielsollondon commented 7 months ago

Apologies for the delay here, please raise further issues here: https://github.com/azure/azvmimagebuilder