Closed gorgonzola5000 closed 1 month ago
#1: received an HTTP 400 response - Reason: Parameter verification failed. (name: invalid format - value does not look like a valid DNS name)
- coincidentally, I changed the dns block inside the initialization block when this error message started appearing. I became so fixated on 'DNS' that I just glanced over 'name: invalid format'. I was so hopeless that I even started looking into Proxmox source code to find the function which checks if a DNS name is valid and the exact regex used for validation. Only after this I managed to spot the error - '_' instead of '-' in 'name' of the VM.
After provisioning a VM with:
I cannot provision any VMs. Independent of dns block presence in the plan. VM creation fails during
terraform apply
:Error message:
My config file (notice no 'dns' block inside 'initialization' block). VM creation still fails
My setup:
I set up bpg/proxmox provider with:
What I did to resolve the issue:
apt update && apt upgrade
)terraform DEBUG log dump: https://pastebin.com/KrmN5W55 log dump from /var/log/pveproxy: https://pastebin.com/jTYqD2yB