Hi all,
I am trying to clone multiple instance of one of my LXC templates using Terraform (Telmate Provider) (as I am always doing with VMs) but with the containers, I am getting this lock issue as PVE is not capable to clone multiple containers from the same template at once. It throws the error as soon as my counter is more than one, and I would need 15 for my use-case. This is the first time I am trying to use the counter with LXCs but it doesn't seem reasonable that this feature wouldn't be provided. I am sure that users don't create 50 LCXs one by one by hand or by shell commands?! Or do they?
I have tried multiple different LXC templates, but they all seem to have the same issue. Linked cloning/Full cloning also didn't make any difference.
Error Output:
I am happy to hear any thought/inputs/experiences from the rich community.
Thank You very much in advance. Have a great weekend.
I am trying to clone multiple instance of one of my LXC templates using Terraform (Telmate Provider) (as I am always doing with VMs) but with the containers, I am getting this lock issue as PVE is not capable to clone multiple containers from the same template at once. It throws the error as soon as my counter is more than one, and I would need 15 for my use-case. This is the first time I am trying to use the counter with LXCs but it doesn't seem reasonable that this feature wouldn't be provided. I am sure that users don't create 50 LCXs one by one by hand or by shell commands?! Or do they?
I have tried multiple different LXC templates, but they all seem to have the same issue. Linked cloning/Full cloning also didn't make any difference.
Error Output:
Code:
Error: error cloning LXC container: 500 CT is locked (disk), error status: (params: {"full":false,"hostname":"lxcdockerdev-1","newid":1301,"node":"proxvm13","target":"proxvm13","vmid":"8121"})
│
│ with module.dockerdev-[1].proxmox_lxc.lxc,
│ on modules/lxc/main.tf line 1, in resource "proxmox_lxc" "lxc":
│ 1: resource "proxmox_lxc" "lxc" {
I am happy to hear any thought/inputs/experiences from the rich community.
Thank You very much in advance. Have a great weekend.
Last edited: