packer-builder-vsphere icon indicating copy to clipboard operation
packer-builder-vsphere copied to clipboard

vsphere-clone error when VM template has multiple disks

Open dkirrane opened this issue 5 years ago • 1 comments

I hit this vsphere-clone error VM has multiple disks Using

  • packer 1.3.3
  • packer-builder-vsphere v2.3
  • VMware vSphere 6.5.0, 10719125
2019/01/11 13:55:52 [INFO] (telemetry) Starting builder vsphere-clone
2019/01/11 13:55:53 ui: ask: ==> vsphere-clone: Pausing after run of step 'StepConnect'. Press enter to continue.
2019/01/11 13:55:59 ui: ==> vsphere-clone: Cloning VM...
2019/01/11 13:56:34 ui: ==> vsphere-clone: Destroying VM...
2019/01/11 13:56:36 ui: ask: ==> vsphere-clone: Pausing before cleanup of step 'StepConnect'. Press enter to continue.
2019/01/11 13:59:50 [INFO] (telemetry) ending vsphere-clone
2019/01/11 13:59:50 ui error: Build 'vsphere-clone' errored: VM has multiple disks
2019/01/11 13:59:50 Waiting on builds to complete...
2019/01/11 13:59:50 Builds completed. Waiting on interrupt barrier...
2019/01/11 13:59:50 machine readable: error-count []string{"1"}
2019/01/11 13:59:50 ui error: 
==> Some builds didn't complete successfully and had errors:
2019/01/11 13:59:50 machine readable: vsphere-clone,error []string{"VM has multiple disks"}
2019/01/11 13:59:50 ui error: --> vsphere-clone: VM has multiple disks
2019/01/11 13:59:50 ui: 
==> Builds finished but no artifacts were created.
2019/01/11 13:59:50 [INFO] (telemetry) Finalizing.
2019/01/11 13:59:51 waiting for all plugin processes to complete...
2019/01/11 13:59:51 C:\apps\HashiCorp\packer-builder-vsphere-clone.exe: plugin process exited

dkirrane avatar Jan 11 '19 14:01 dkirrane

I think this is going to be addressed in https://github.com/jetbrains-infra/packer-builder-vsphere/pull/113

dkirrane avatar Apr 26 '19 10:04 dkirrane