operating-system icon indicating copy to clipboard operation
operating-system copied to clipboard

Compression on HAOS released images makes Proxmox installs tougher

Open kaecyra opened this issue 7 months ago • 4 comments
trafficstars

Describe the issue you are experiencing

TL;DR

Could the HAOS releases be made to include either uncompressed or simple gz-compressed OVA images, rather than solely xz-compressed ones?

Why?

I'm currently rebuilding my homelab and taking the opportunity to Terraform the deployment of all my VMs to their respective Proxmox nodes, instead of provisioning them manually.

Trying to do as much as possible with Terraform and avoid manual configuration, which includes installing available boot images into Proxmox itself. Proxmox has a very cool feature that allows the installation of images by direct download to the VE. It even supports checksums and decompression as long as one of the 4 supported algorithms are used: gz, lzo, zst, bz2. The bpg/proxmox terraform provider supports this fully.

The Ubuntu base image was no problem because it is available uncompressed. The HAOS OVA QCow2 image is compressed with xz (and I think tar underneath that), which makes it impossible to leverage this Proxmox functionality. I will need to manually download and extract the image locally and then upload the result. This feels fragile and suboptimal.

I know xz offers superior compression ratios to gz, but it is less widely supported and therefore has some drawbacks.

The ask

So, any chance the HAOS releases could include uncompressed or gz-compressed OVA images?

Thank you for thinking about this!

What operating system image do you use?

ova (for Virtual Machines)

What version of Home Assistant Operating System is installed?

15.0

Did the problem occur after upgrading the Operating System?

No

Hardware details

Virtualized.

Host: Proxmox VE 8.3 Memory: 192Gb CPU: 2x Xeon E5-2640 v4 @ 2.40GHz Disk: Proxmox: 2x 1.2Tb (RAID 1) VMs: 6x 1.2Tb (RAID 10)

Guest: HAOS Memory: 4Gb CPU: 2x vCPU Disk: 32Gb

Steps to reproduce the issue

  1. Begin adding a new ISO image in Proxmox
  2. Attempt to "Query URL" against OVA image (https://github.com/home-assistant/operating-system/releases/download/15.0/haos_ova-15.0.qcow2.xz)
  3. Note the failed discovery
  4. Attempt to download the OVA image anway
  5. Failure

Anything in the Supervisor logs that might be useful for us?

No, this isn't about HAOS itself.

Anything in the Host logs that might be useful for us?

No, this isn't about HAOS itself.

System information

No response

Additional information

No response

kaecyra avatar Mar 28 '25 04:03 kaecyra