Hi Friends,
We have a 21-node cluster with a few thousand VMs; most are powered off (they're used for students to practice networking, computer science, etc, not actual production workloads). We do a lot of scripting to provision machines out for the students and we've noticed we're getting duplicate vmid's.
We're using proxmoxer for the majority of our provisioning, right before copying the vm, we make a call to cluster/nextid to get the next unique vmid-- but the value we're getting back isn't always unique. It tends to be the vmid of a VM we just created.
We're not cloning VMs asynchronously, we wait for the previous clone operation to finish before getting the next vmid & starting to copy the next vm. Every node in the cluster is running 8.2.0 as well. We do occasionally get a file lock issue
but those don't seem to correlate to the duplicate vmids.
Does anyone have advice as to the logs I could look into to see what could be causing this? It feels like the cluster is out of sync, but we aren't seeing any other major problems.
We have a 21-node cluster with a few thousand VMs; most are powered off (they're used for students to practice networking, computer science, etc, not actual production workloads). We do a lot of scripting to provision machines out for the students and we've noticed we're getting duplicate vmid's.
We're using proxmoxer for the majority of our provisioning, right before copying the vm, we make a call to cluster/nextid to get the next unique vmid-- but the value we're getting back isn't always unique. It tends to be the vmid of a VM we just created.
We're not cloning VMs asynchronously, we wait for the previous clone operation to finish before getting the next vmid & starting to copy the next vm. Every node in the cluster is running 8.2.0 as well. We do occasionally get a file lock issue
Code:
cfs-lock 'file-user_cfg' error: got lock request timeout
Does anyone have advice as to the logs I could look into to see what could be causing this? It feels like the cluster is out of sync, but we aren't seeing any other major problems.