Not at the same time but sequentially after each other.
At least per VM. There might be multiple API requests at the same time, but only when configuring multiple VMs, the lock situation shouldn't be an issue then I guess.
This is the list of API requests that were sent before eventually trying to start the VM:
- Create VM:
- Endpoint: POST /nodes/{node}/qemu/{templateId}/clone
- Parameters: newid, full, name
- Set VM Configuration:
- Endpoint: POST /nodes/{node}/qemu/{vmId}/config
- Parameters: Dynamic based on VM configuration (e.g., cores, memory, net0, scsi0)
- Set Key for Cloud Init:
- Endpoint: PUT /nodes/{node}/qemu/{vmId}/config
- Parameters: ciuser, sshkeys
- Configure Networking:
- Endpoint: POST /nodes/{node}/qemu/{vmId}/config
- Parameters: ipconfig0, nameserver
- Configure IP Set:
- Create IP Set Endpoint: POST /nodes/{node}/qemu/{vmId}/firewall/ipset/
- Create IP Set Parameters: name, node, vmid
- Attach IP Set Endpoint: POST /nodes/{node}/qemu/{vmId}/firewall/ipset/ipfilter-net0
- Attach IP Set Parameters: name, node, vmid, cidr
- Apply Firewall Defaults:
- Create Rule Endpoint: POST /nodes/{node}/qemu/{vmId}/firewall/rules/
- Create Rule Parameters: action, type, sport, proto, dport, source, dest, pos, enable, node, vmid