Hello everyone,
I’m using LXD to create multiple virtual machines in parallel or very close time range. To do this, I launch them with lxc launch
, stop them with lxc stop -f
, and then delete them with lxc delete -f
. I repeat this process to create new VMs.
This works most of the time, but occasionally I get an error message that says:
Error: Failed creating instance from image: Volume path "/var/snap/lxd/common/lxd/storage-pools/default/virtual-machines/vm-x" already exists
This error occurs even though I have successfully stopped and deleted the VM.
What should I do to resolve this error? I appreciate any help or suggestions you can provide.
Thank you!