Open guillemlc opened 1 year ago
Same error here, as a workaround I downgraded packer to v1.8.5-1 and it worked
I think this is duplicate of #154
@nbensa yes, very much likely.
@guillemlc I can't see from your example which Proxmox builder you use, but it looks like proxmox
. Can you test if the error also occurs when you use proxmox-iso
?
For details see this issue: https://github.com/hashicorp/packer/issues/12309
I'm also using proxmox
. I was not aware of proxmox-iso
. I just built an image using proxmox-iso
. Thank you!
Similar error here:
==> proxmox-iso.template: Error creating VM: error creating VM: 506 upload 'Content-Type 'multipart/form-data; boundary=7e1fccbe89cbdf673339a9b2822585d3096ef84dba62f4fbd39bcbca1cdd' not implemented, error status: (params: map[agent:1 args: boot: cores:2 cpu:kvm64 description:Packer ephemeral build VM hotplug: ide2:nfs:iso/debian-11.6.0-amd64-netinst.iso,media=cdrom kvm:true machine: memory:2048 name:runner net0:virtio=E6:44:6A:DB:DA:33,bridge=vmbr0,firewall=false onboot:true ostype:l26 scsi0:zfs:30,iothread=false,format=raw scsihw:virtio-scsi-pci sockets:1 startup: tags: vmid:113])
Build 'proxmox-iso.template' errored after 57 seconds 693 milliseconds: Error creating VM: error creating VM: 506 upload 'Content-Type 'multipart/form-data; boundary=7e1fccbe89cbdf673339a9b2822585d3096ef84dba62f4fbd39bcbca1cdd' not implemented, error status: (params: map[agent:1 args: boot: cores:2 cpu:kvm64 description:Packer ephemeral build VM hotplug: ide2:nfs:iso/debian-11.6.0-amd64-netinst.iso,media=cdrom kvm:true machine: memory:2048 name:runner net0:virtio=E6:44:6A:DB:DA:33,bridge=vmbr0,firewall=false onboot:true ostype:l26 scsi0:zfs:30,iothread=false,format=raw scsihw:virtio-scsi-pci sockets:1 startup: tags: vmid:113])
Running:
Overview of the Issue
I am trying to build a Fedora CoreOS template with Packer, and later use the template with Terraform.
I am getting stuck, however at the VM creation step.
Reproduction Steps
Create a build file similar to the one supplied. Run:
packer build --on-error=ask .
Plugin and Packer version
Packer v1.8.6 packer-plugin-proxmox_v1.1.2_x5.0_linux_amd64
Simplified Packer Buildfile
The relevant part of the Buildfile:
Operating system and Environment details
Running from Fedora37 Proxmox is v7.3-3 pve user has full privileges ( I kept adding in case )
datastore is a nfs datastore for images and snippets ISOs is an nfs datastore for ISO files
Log Fragments and crash.log files