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 Mar 8, 2023. It is now read-only.
I am trying to build a vsphere template from an iso using the builder "vsphere-iso".
When I build my template, I have the following issue :
2019/09/04 16:19:07 Detected home directory from env var: /Users/benjy
2019/09/04 16:19:07 Setting cache directory: /Users/benjy/local/src/perso/infra-kube/packer_cache
2019/09/04 16:19:07 Detected home directory from env var: /Users/benjy
2019/09/04 16:19:07 Loading builder: vsphere-iso
2019/09/04 16:19:07 Creating plugin client for path: /Users/benjy/.packer.d/plugins/packer-builder-vsphere-iso
2019/09/04 16:19:07 Starting plugin: /Users/benjy/.packer.d/plugins/packer-builder-vsphere-iso []string{"/Users/benjy/.packer.d/plugins/packer-builder-vsphere-iso"}
2019/09/04 16:19:07 Waiting for RPC address for: /Users/benjy/.packer.d/plugins/packer-builder-vsphere-iso
2019/09/04 16:19:07 packer-builder-vsphere-iso: 2019/09/04 16:19:07 Plugin minimum port: 10000
2019/09/04 16:19:07 packer-builder-vsphere-iso: 2019/09/04 16:19:07 Plugin maximum port: 25000
2019/09/04 16:19:07 packer-builder-vsphere-iso: 2019/09/04 16:19:07 Plugin address: unix /var/folders/lm/zt_9zrtn2l7dx6wl4m6kpwwm0000gn/T/packer-plugin412181951
2019/09/04 16:19:07 packer-builder-vsphere-iso: 2019/09/04 16:19:07 Waiting for connection...
2019/09/04 16:19:07 packer-builder-vsphere-iso: 2019/09/04 16:19:07 Serving a plugin connection...
2019/09/04 16:19:07 Build debug mode: false
2019/09/04 16:19:07 Force build: false
vsphere-iso output will be in this color.
2019/09/04 16:19:07 On error:
2019/09/04 16:19:07 Preparing build: vsphere-iso
2019/09/04 16:19:07 Waiting on builds to complete...
2019/09/04 16:19:07 Starting build run: vsphere-iso
2019/09/04 16:19:07 Running builder: vsphere-iso
2019/09/04 16:19:07 [INFO] (telemetry) Starting builder vsphere-iso
==> vsphere-iso: Creating VM...
==> vsphere-iso: Customizing hardware...
==> vsphere-iso: Mount ISO images...
==> vsphere-iso: Creating floppy disk...
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Floppy path: /var/folders/lm/zt_9zrtn2l7dx6wl4m6kpwwm0000gn/T/packer718629394
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Initializing block device backed by temporary file
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Formatting the block device with a FAT filesystem...
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Initializing FAT filesystem on block device
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Reading the root directory from the filesystem
vsphere-iso: Copying files flatly from floppy_files
vsphere-iso: Done copying files from floppy_files
vsphere-iso: Collecting paths from floppy_dirs
vsphere-iso: Resulting paths from floppy_dirs : [/Users/benjy/local/src/perso/infra-kube/packer-floppy]
vsphere-iso: Recursively copying : /Users/benjy/local/src/perso/infra-kube/packer-floppy
vsphere-iso: Done copying paths from floppy_dirs
==> vsphere-iso: Uploading created floppy image
2019/09/04 16:19:10 packer-builder-vsphere-iso: 2019/09/04 16:19:10 Deleting floppy disk: /var/folders/lm/zt_9zrtn2l7dx6wl4m6kpwwm0000gn/T/packer718629394
==> vsphere-iso: Destroying VM...
2019/09/04 16:19:11 [INFO] (telemetry) ending vsphere-iso
2019/09/04 16:19:11 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2019/09/04 16:19:11 machine readable: vsphere-iso,error []string{"ServerFaultCode: A specified parameter was not correct: spec.url"}
Build 'vsphere-iso' errored: ServerFaultCode: A specified parameter was not correct: spec.url
==> Builds finished but no artifacts were created.
==> Some builds didn't complete successfully and had errors:
2019/09/04 16:19:11 [INFO] (telemetry) Finalizing.
--> vsphere-iso: ServerFaultCode: A specified parameter was not correct: spec.url
==> Builds finished but no artifacts were created.
2019/09/04 16:19:12 waiting for all plugin processes to complete...
2019/09/04 16:19:12 /Users/benjy/.packer.d/plugins/packer-builder-vsphere-iso: plugin process exited
I saw on vmware kb (https://kb.vmware.com/s/article/2078709) that it might be a problem with TLS certificate of my esxi host. I tried to regenerate it but it doesn't work.
Hello,
I am trying to build a vsphere template from an iso using the builder "vsphere-iso".
When I build my template, I have the following issue :
I saw on vmware kb (https://kb.vmware.com/s/article/2078709) that it might be a problem with TLS certificate of my esxi host. I tried to regenerate it but it doesn't work.
Can you help me to solve this issue ?
Here is the json file I am trying to build:
Thank you,
Benjy
The text was updated successfully, but these errors were encountered: