Is it thread-safe to create VMs?

Lotan81

New Member
Dec 6, 2022
8
0
1
Hi, we are looking for a safe way to create VMs via API calls.
Is it thread-safe to create VMs this way? (for example, can the storage assigned to one VM also be assigned to another VM?)
 
in a cluster, creation api calls are guarded against name clashes with locks (so you can create multiple vms in parallel, with different ids)
the storage plugins also handle these, and the namespace for disks are different per vm

so yes, this should work
 
  • Like
Reactions: Lotan81
in a cluster, creation api calls are guarded against name clashes with locks (so you can create multiple vms in parallel, with different ids)
the storage plugins also handle these, and the namespace for disks are different per vm

so yes, this should work
Thanks!