Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxmox ve builds qcow2 images, which aren't compatible with proxmox #1635

Open
stenwt opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1636
Open

proxmox ve builds qcow2 images, which aren't compatible with proxmox #1635

stenwt opened this issue Nov 26, 2024 · 0 comments · May be fixed by #1636
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@stenwt
Copy link

stenwt commented Nov 26, 2024

Environment

  • Make target: make build-proxmox-ubuntu-2404 (also tried 2204)
  • Run using container image? (Y/N): tried both
  • Environment vars:
PROXMOX_URL=my-url
PROXMOX_USERNAME=my-token-id
PROXMOX_TOKEN=my-token-secret
PROXMOX_NODE=my-node
PROXMOX_ISO_POOL=my-pool
PROXMOX_BRIDGE=my-bridge
PROXMOX_STORAGE_POOL=my-pool
PACKER_FLAGS="-var 'kubernetes_rpm_version=1.29.6' -var 'kubernetes_semver=v1.29.6' -var 'kubernetes_series=v1.29' -var 'kubernetes_deb_version=1.29.6-1.1'"


  • Vars file:

What steps did you take and what happened?

Build fails, saying qcow2 image is incompatible

What did you expect to happen?

Build should use a compatible image format, and succeed

Relevant log output

Log Output


proxmox-iso.ubuntu-2404: output will be in this color.

==> proxmox-iso.ubuntu-2404: Retrieving ISO
==> proxmox-iso.ubuntu-2404: Trying https://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso
==> proxmox-iso.ubuntu-2404: Trying https://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso?checksum=sha256%3Ae240e4b801f7bb68c20d1356b60968ad0c33a41d00d828e74ceb3364a0317be9
    proxmox-iso.ubuntu-2404: ubuntu-24.04.1-live-server-amd64.iso 2.58 GiB / 2.58 GiB [==================================================================================] 100.00% 2m8s
==> proxmox-iso.ubuntu-2404: https://releases.ubuntu.com/noble/ubuntu-24.04.1-live-server-amd64.iso?checksum=sha256%3Ae240e4b801f7bb68c20d1356b60968ad0c33a41d00d828e74ceb3364a0317be9 => downloaded_iso_path/85d1bf86e5e0ecdd6e91515a63cc10bdab146dca.iso
    proxmox-iso.ubuntu-2404: Uploaded ISO to local:iso/85d1bf86e5e0ecdd6e91515a63cc10bdab146dca.iso
==> proxmox-iso.ubuntu-2404: Creating VM
==> proxmox-iso.ubuntu-2404: No VM ID given, getting next free from Proxmox
==> proxmox-iso.ubuntu-2404: Error creating VM: error creating VM: unable to create VM 105 - unsupported format 'qcow2' at /usr/share/perl5/PVE/Storage/LvmThinPlugin.pm line 87., error status:  (params: map[agent:1 cores:2 cpu:kvm64 description:Packer ephemeral build VM ide2:local:iso/85d1bf86e5e0ecdd6e91515a63cc10bdab146dca.iso,media=cdrom kvm:true memory:2048 name:packer-6745fe4d-30e7-59ba-70a3-c13347163274 net0:e1000=7A:97:06:E0:D9:6F,bridge=vmbr0 numa:false onboot:false ostype:other scsi0:local-lvm:20,cache=none,format=qcow2,replicate=0 scsihw:lsi sockets:2 tags: vmid:105])
Build 'proxmox-iso.ubuntu-2404' errored after 2 minutes 34 seconds: Error creating VM: error creating VM: unable to create VM 105 - unsupported format 'qcow2' at /usr/share/perl5/PVE/Storage/LvmThinPlugin.pm line 87., error status:  (params: map[agent:1 cores:2 cpu:kvm64 description:Packer ephemeral build VM ide2:local:iso/85d1bf86e5e0ecdd6e91515a63cc10bdab146dca.iso,media=cdrom kvm:true memory:2048 name:packer-6745fe4d-30e7-59ba-70a3-c13347163274 net0:e1000=7A:97:06:E0:D9:6F,bridge=vmbr0 numa:false onboot:false ostype:other scsi0:local-lvm:20,cache=none,format=qcow2,replicate=0 scsihw:lsi sockets:2 tags: vmid:105])


Anything else you would like to add?

it looks like this is was introduced in #1587 which was at least motivated by #1579 . from looking at proxmox docs, I don't think it should be expected for qcow2 images to work; raw did work when I attempted it


/kind bug

@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants