You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2023. It is now read-only.
Post Processor fails to find disk on ESXi though it is present. The problem only occurs when VMware builder used, VirtualBox runs fine with few issues and solutions discussed here.
ENVIRONMENT
Host OS: CentOS 7.2 x86_64
Builder: VirtualBox
Guest OS: CentOS 7.2 x86_64
packer 0.9.0
go 1.6
ovftool 4.1.0
ESXi 5.5
LOGS
==> vmware: Running post-processor: vsphere-ova
vmware (vsphere-ova): Setting the hardware version in the vmx to version '8'
vmware (vsphere-ova): Uploading output-vmware/disk.vmdk and output-vmware/packer-centos_7.2-x86_64.vmx to Datastore datastore1 on host 192.168.1.151
vmware (vsphere-ova): 0 B / 553 B [-----------------] 0.00%
vmware (vsphere-ova): 553 B / 553 B [======] 100.00% 669 B/s0
vmware (vsphere-ova): Uploaded output-vmware/disk.vmdk
vmware (vsphere-ova): 0 B / 2.56 KB [---------------] 0.00%
vmware (vsphere-ova): 2.56 KB / 2.56 KB 100.00% 4.97 KB/s0
vmware (vsphere-ova): Uploaded output-vmware/packer-centos_7.2-x86_64.vmx
vmware (vsphere-ova): Registering packer-centos_7.2-x86_64 from [datastore1] packer-templates/packer-centos_7.2-x86_64.vmx
vmware (vsphere-ova): Registererd VM packer-centos_7.2-x86_64
vmware (vsphere-ova): Cloning VM packer-centos_7.2-x86_64-vm
Build 'vmware' errored: 1 error(s) occurred:
* Post-processor failed: Failed: File /vmfs/volumes/56cf089b-9799c926-bdd6-000c298f05ad/packer-templates/disk.vmdk was not found
==> Some builds didn't complete successfully and had errors:
--> vmware: 1 error(s) occurred:
* Post-processor failed: Failed: File /vmfs/volumes/56cf089b-9799c926-bdd6-000c298f05ad/packer-templates/disk.vmdk was not found
==> Builds finished but no artifacts were created.
ESXi
~ # ls -l /vmfs/volumes/56cf089b-9799c926-bdd6-000c298f05ad/packer-templates/disk.vmdk
-rw------- 1 root root 553 Mar 10 11:21 /vmfs/volumes/56cf089b-9799c926-bdd6-000c298f05ad/packer-templates/disk.vmdk
~ #
The text was updated successfully, but these errors were encountered:
Post Processor fails to find disk on ESXi though it is present. The problem only occurs when VMware builder used, VirtualBox runs fine with few issues and solutions discussed here.
ENVIRONMENT
LOGS
ESXi
The text was updated successfully, but these errors were encountered: