terraform-provider-proxmox: Timeout clone

Hello, when I run a clone with template cloud-init I have this error: Error: 500 command '/usr/bin/qemu-img resize -f raw /var/lib/vz/images/113/vm-113-disk-0.raw 21474836480' failed: got timeout Have you ever had this problem? Can we change the timeout duration?

thanks

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Reactions: 7
  • Comments: 23 (1 by maintainers)

Most upvoted comments

Issue still existing on 2.9.1

That sounds very laborious. Since others have the same problem, I don’t think it’s me.

You can execute tf like this:

resource "proxmox_vm_qemu" "proxmox_vm" {
  target_node       = var.pve_cluster_node
  pool              = var.pve_folder_path
  numa              = var.vm_numa
  count             = var.vm_count
  name              = count.index > 0 ? "${var.vm_name}-${count.index + 1}" : var.vm_name
  desc              = var.vm_notes
  clone_wait        = 45
  clone             = var.vm_template
  bios              = var.vm_firmware

Yes yes i know clone_wait is deprecated but without it dont work for me on 2.8.0 with higher then 1 vm count. This will allow you to reproduce the problem yourself

v2.9.1 pm_timeout = 3600

timeouts { create = “20m” delete = “10m” }

изображение

latest working version 2.8.0 with clone_wait,additional_wait,ci_wait

2.9.0 got the same, pm_timeout - not helping