terraform-provider-proxmox: Error: 500 can't lock file

Hi,

does anyone had similar error? Any solution for that?


Error: 500 can't lock file '/var/lock/qemu-server/lock-104.conf' - got timeout

  on vm-gitlab.tf line 2, in resource "proxmox_vm_qemu" "gitlab":
   2: resource "proxmox_vm_qemu" "gitlab" {



Error: 500 can't lock file '/var/lock/qemu-server/lock-103.conf' - got timeout

  on vm-squid.tf line 2, in resource "proxmox_vm_qemu" "squid":
   2: resource "proxmox_vm_qemu" "squid" {

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 4
  • Comments: 20 (3 by maintainers)

Most upvoted comments

Aha! Okay, I was able to reproduce this. Looks like @rpelissi was on the right path in suggesting the timeout parameter is not being honored somewhere. I dropped the timeout to 5 seconds in my testing but I had to clone a massive enough VM to cause the lock error to occur after 5 minutes of waiting for the clone to finish. I’ll dive in here and update when I think I’ve found a solution. In the meanwhile I do believe the clone_wait attribute should be a valid workaround.