-
Notifications
You must be signed in to change notification settings - Fork 74
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
Unable to create qcow2 format disks #23
Comments
I have the same issue on Ubuntu 20.04 with Packer 1.7.4, using the following configuration block:
|
Same issue here with Packer 1.7.6, I'm building a VM based off of a Peakflow ISO image with the following disk settings:
The only workaround I found is to live change the disk format while the OS is installing, before Packer converts it to a template. I tried with storage_pool_type |
Fixed with Telmate/proxmox-api-go@062fd1a |
Hello, is there any plan to bump github.com/Telmate/proxmox-api-go to v0.0.0-20220129131641-6909b62b8cf0 (I'm not aware at all about your release model)? Sounds like the fix is working |
We are also experiencing this issue with Packer 1.7.10 |
works fine now with 1.0.5, thanks |
@Pumba98 Are you sure? I upgraded to 1.0.5 and it still ignores the format value and produces only raw disks... |
yes, I am @theblop . I changed the version in my required_plugins to |
@Pumba98 that's weird... I upgraded too and I still get a raw disk...
After the build I get a raw image:
|
@theblop sorry, I have no idea what could be wrong. |
Can confirm it works on my side (Packer 1.8.0). Great !
|
I'm still experiencing the same issue even with plugin version 1.0.5:
|
@ruskofd, could you confirm that packer |
my packer version is
The same config works with |
Same issue for me, I am using Packer 1.8.3 and proxmox 1.0.8. |
No issues currently for me:
disks {
disk_size = "15G"
format = "qcow2"
storage_pool = "Proxmox"
storage_pool_type = "directory"
type = "scsi"
cache_mode = "writethrough"
io_thread = true
}
dir: Proxmox
path /mnt/prox
content images,snippets,rootdir,vztmpl,iso
prune-backups keep-all=1
shared 0 $ packer plugins installed
homedir/.config/packer/plugins/github.com/ivoronin/sshkey/packer-plugin-sshkey_v1.0.8_x5.0_linux_amd64
$ packer version
Packer v1.8.4 |
Packer creates the VM always with raw disks only, no matter what disk format is defined in
disks
block. Here's my disk configuration.disks {
storage_pool = var.isoStore
storage_pool_type = "directory"
type = "virtio"
disk_size = var.diskSize
cache_mode = "none"
format = "qcow2"
}
It creates VM with a raw disk always. I tried changing the disk type to
iscsi
, format toqcow
etc. but that did not help.I use the Packer version 1.7.3 on Ubuntu 20.04 and trying to create a template of Ubuntu 20.04.
The text was updated successfully, but these errors were encountered: