I was pointed here by the subiquity github, although I’m a bit unfamiliar with the community layout so please point me in the right direction if this is not the right place for my question.
I’ve been working on automating my home cloud provisioning, proxmox 8.2.7 is my hypervisor. I use tofu to spawn the vm and have a series of ipxe scripts for my netboot. I switch on the machine mac address and automatically boot the ubuntu 24.04.1 iso from my network. Notably, I had this working with the Terraform 2.9.0 proxmox provider, and when I upgraded to the 3.0.1-rc4 provider, suddenly ubuntu started looking for the vendor-data file on my static server, so I’m wondering if something about the vm had changed under the covers that tells it to boot with cloud-init. I admit that I’m very unfamiliar with cloud-init, so this is largely new to me.
Relevant files:
ipxe-boot-snippet with kernel args
user-data (this is all I really care about, trying to get ubuntu to autoinstall using this)
EDIT: Annoyingly it will not let me add more than two links, I suppose I will follow up with the meta-data and vendor-data pastebins.
vendor-data and meta-data I really just added because I was surprised to find that the installer was looking for these files on my static http server, and 404ing.
So the unexpected behavior is that when the machine successfully launches, it drops to the manual install wizard with the lang selection, and I’ve noticed this happens when there’s something wrong with the auto install. I was expecting to be able to pass the kernel arg that points to my http server with the autoinstall and that would run through the automatic install.
When trying to troubleshoot this issue, I’ll navigate up to help, drop to the shell, and look in the /var/log/installer directory. Looking at the subiquity-server-debug.log has been fruitful, but with my current install I’m not seeing anything that seems relevant or would cause a autoinstall failure. The only error I see is the following:
Traceback (most recent call last):
File "/snap/subiquity/6066/lib/python3.10/site-packages/subiquitycore/ssh.py", line 116, in user_key_fingerprints
user_info = pwd.getpwnam(username)
KeyError: "getpwnam(): name not found: 'installer'"
I’m not sure if this is a benign issue, or its the reason that autoinstall is failing. Could someone point me in the right direction.