I am trying to create a Proxmox VM with tag "ubuntu-24.04". This worked until recently, when I updated Packer and the plug-ins. Now, Packer refuses this Proxmox tag, due to "." in the tag.
Overview of the Issue
Build 'proxmox-iso' errored after 12 seconds 174 milliseconds: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
"ubuntu-24.04" is a valid tag, it should be accepted by Packer.
Reproduction Steps
"builders": [
{
"type": "proxmox-iso",
...
"tags": "ubuntu-24.04",
Plugin and Packer version
dreibh@kringsjaa:$ packer version
Packer v1.13.1
dreibh@kringsjaa:$ packer plugin installed
/home/dreibh/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.1.1_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/proxmox/packer-plugin-proxmox_v1.2.2_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.3_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/virtualbox/packer-plugin-virtualbox_v1.1.2_x5.0_linux_amd64
Log Fragments and crash.log files
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Force set, checking for existing artifact on PVE cluster
2025/07/10 16:15:54 packer-plugin-proxmox_v1.2.2_x5.0_linux_amd64 plugin: 2025/07/10 16:15:54 vm '250710613' not found
2025-07-10T16:15:54+02:00: ==> proxmox-iso: No existing artifact found
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Creating VM
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Wait completed after 12 seconds 168 milliseconds
2025/07/10 16:15:54 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2025/07/10 16:15:54 machine readable: proxmox-iso,error []string{"Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"}
==> Builds finished but no artifacts were created.
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
2025/07/10 16:15:54 waiting for all plugin processes to complete...
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Step "stepStartVM" failed, aborting...
2025-07-10T16:15:54+02:00: ==> proxmox-iso: aborted: skipping cleanup of step "stepDownloadISOOnPVE"
2025-07-10T16:15:54+02:00: Build 'proxmox-iso' errored after 12 seconds 168 milliseconds: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Wait completed after 12 seconds 168 milliseconds
==> Some builds didn't complete successfully and had errors:
--> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Builds finished but no artifacts were created.
I am trying to create a Proxmox VM with tag "ubuntu-24.04". This worked until recently, when I updated Packer and the plug-ins. Now, Packer refuses this Proxmox tag, due to "." in the tag.
Overview of the Issue
Build 'proxmox-iso' errored after 12 seconds 174 milliseconds: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
"ubuntu-24.04" is a valid tag, it should be accepted by Packer.
Reproduction Steps
"builders": [
{
"type": "proxmox-iso",
...
"tags": "ubuntu-24.04",
Plugin and Packer version
dreibh@kringsjaa:
$ packer version$ packer plugin installedPacker v1.13.1
dreibh@kringsjaa:
/home/dreibh/.packer.d/plugins/github.com/hashicorp/docker/packer-plugin-docker_v1.1.1_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/proxmox/packer-plugin-proxmox_v1.2.2_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/qemu/packer-plugin-qemu_v1.1.3_x5.0_linux_amd64
/home/dreibh/.packer.d/plugins/github.com/hashicorp/virtualbox/packer-plugin-virtualbox_v1.1.2_x5.0_linux_amd64
Log Fragments and crash.log files
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Force set, checking for existing artifact on PVE cluster
2025/07/10 16:15:54 packer-plugin-proxmox_v1.2.2_x5.0_linux_amd64 plugin: 2025/07/10 16:15:54 vm '250710613' not found
2025-07-10T16:15:54+02:00: ==> proxmox-iso: No existing artifact found
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Creating VM
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Wait completed after 12 seconds 168 milliseconds
2025/07/10 16:15:54 machine readable: error-count []string{"1"}
==> Some builds didn't complete successfully and had errors:
2025/07/10 16:15:54 machine readable: proxmox-iso,error []string{"Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-"}
==> Builds finished but no artifacts were created.
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
2025/07/10 16:15:54 waiting for all plugin processes to complete...
2025-07-10T16:15:54+02:00: ==> proxmox-iso: Step "stepStartVM" failed, aborting...
2025-07-10T16:15:54+02:00: ==> proxmox-iso: aborted: skipping cleanup of step "stepDownloadISOOnPVE"
2025-07-10T16:15:54+02:00: Build 'proxmox-iso' errored after 12 seconds 168 milliseconds: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Wait completed after 12 seconds 168 milliseconds
==> Some builds didn't complete successfully and had errors:
--> proxmox-iso: Error creating VM: tag may not start with - and may only include the following characters: abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789_-
==> Builds finished but no artifacts were created.