Closed
Description
Code of Conduct
- I have read and agree to the project's Code of Conduct.
Project Version
main
VMware vSphere
7.03
HashiCorp Packer
1.8.3
HashiCorp Packer Plugin for VMware vSphere
1.0.8
Guest Operating System
Ubuntu 22.04
Environment Details
This is a new fresh build. Everything matches the recommended settings. Fresh lab build
Description
So I set it up following the recommended settings. During a Server 2022 build it drops a 500 Internal Server Error while uploading the packer#####.iso to packer_cache/packer#####.iso. Here is the full build info.
terraformadmin@terraform:~/packer-examples-for-vsphere$ packer build -force --only vsphere-iso.windows-server-standard-core -var-file="config/vsphere.pkrvars.hcl" -var-file="config/build.pkrvars.hcl" -var-file="config/common.pkrvars.hcl" builds/windows/server/2022
vsphere-iso.windows-server-standard-core: output will be in this color.
==> vsphere-iso.windows-server-standard-core: Creating CD disk...
vsphere-iso.windows-server-standard-core: xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
vsphere-iso.windows-server-standard-core: Drive current: -outdev 'stdio:/tmp/packer866700732.iso'
vsphere-iso.windows-server-standard-core: Media current: stdio file, overwriteable
vsphere-iso.windows-server-standard-core: Media status : is blank
vsphere-iso.windows-server-standard-core: Media summary: 0 sessions, 0 data blocks, 0 data, 11.7g free
vsphere-iso.windows-server-standard-core: xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
vsphere-iso.windows-server-standard-core: Added to ISO image: directory '/'='/tmp/packer_to_cdrom2082491390'
vsphere-iso.windows-server-standard-core: xorriso : UPDATE : 4 files added in 1 seconds
vsphere-iso.windows-server-standard-core: xorriso : UPDATE : 4 files added in 1 seconds
vsphere-iso.windows-server-standard-core: ISO image produced: 195 sectors
vsphere-iso.windows-server-standard-core: Written to medium : 195 sectors at LBA 0
vsphere-iso.windows-server-standard-core: Writing to 'stdio:/tmp/packer866700732.iso' completed successfully.
vsphere-iso.windows-server-standard-core: Done copying paths from CD_dirs
==> vsphere-iso.windows-server-standard-core: Uploading packer866700732.iso to packer_cache/packer866700732.iso
Build 'vsphere-iso.windows-server-standard-core' errored after 275 milliseconds 847 microseconds: 500 Internal Server Error
Expected Behavior
I would expect it would build a 2022 server.
Actual Behavior
500 Internal Server Error
Steps to Reproduce
setup environment, and it errors out.
Log Fragments and Files
terraformadmin@terraform:~/packer-examples-for-vsphere$ packer build -force --only vsphere-iso.windows-server-standard-core -var-file="config/vsphere.pkrvars.hcl" -var-file="config/build.pkrvars.hcl" -var-file="config/common.pkrvars.hcl" builds/windows/server/2022
vsphere-iso.windows-server-standard-core: output will be in this color.
==> vsphere-iso.windows-server-standard-core: Creating CD disk...
vsphere-iso.windows-server-standard-core: xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
vsphere-iso.windows-server-standard-core: Drive current: -outdev 'stdio:/tmp/packer866700732.iso'
vsphere-iso.windows-server-standard-core: Media current: stdio file, overwriteable
vsphere-iso.windows-server-standard-core: Media status : is blank
vsphere-iso.windows-server-standard-core: Media summary: 0 sessions, 0 data blocks, 0 data, 11.7g free
vsphere-iso.windows-server-standard-core: xorriso : WARNING : -volid text does not comply to ISO 9660 / ECMA 119 rules
vsphere-iso.windows-server-standard-core: Added to ISO image: directory '/'='/tmp/packer_to_cdrom2082491390'
vsphere-iso.windows-server-standard-core: xorriso : UPDATE : 4 files added in 1 seconds
vsphere-iso.windows-server-standard-core: xorriso : UPDATE : 4 files added in 1 seconds
vsphere-iso.windows-server-standard-core: ISO image produced: 195 sectors
vsphere-iso.windows-server-standard-core: Written to medium : 195 sectors at LBA 0
vsphere-iso.windows-server-standard-core: Writing to 'stdio:/tmp/packer866700732.iso' completed successfully.
vsphere-iso.windows-server-standard-core: Done copying paths from CD_dirs
==> vsphere-iso.windows-server-standard-core: Uploading packer866700732.iso to packer_cache/packer866700732.iso
Build 'vsphere-iso.windows-server-standard-core' errored after 275 milliseconds 847 microseconds: 500 Internal Server Error
Screenshots
No response
Additional Context
No response