Tom Parrott
Tom Parrott
If @stgraber is open to the idea then would be happy to assign to you.
I think @stgraber will have thoughts on this. @M1cha for discussions we use https://discuss.linuxcontainers.org/ so would be better to post there first in the future.
What storage pool is this, I've not been able to recreate on ZFS loop backed on NVME.
If I run `lxc stop -f t` in a loop in one window and then launch a fresh container `t` in another I see: ``` Error: Not Found Error: Not...
Must be extremely fast as I cannot reproduce on my NVME ZFS partition either :(
> Extremely fast outta be relative as the machine is from 2016 ;) That new ;)
I can theorise that there is a very small race potential here: https://github.com/lxc/lxd/blob/42bd6dcf91aa3fb0ae4a2ece1ff9c0c1fadd6a98/lxd/instance/operationlock/operationlock.go#L119-L126 Called from `Start()`: https://github.com/lxc/lxd/blob/master/lxd/instance/drivers/driver_lxc.go#L2355-L2369 and `Stop()`: https://github.com/lxc/lxd/blob/master/lxd/instance/drivers/driver_lxc.go#L2614-L2624 Such that both Start and Stop both think there is...
Although the lock in `Create` should still catch it: https://github.com/lxc/lxd/blob/42bd6dcf91aa3fb0ae4a2ece1ff9c0c1fadd6a98/lxd/instance/operationlock/operationlock.go#L59-L74 Which is what I see in my tests: ``` Error: Instance is busy running a "start" operation ```
Can you get me the debug log output when you see this happening please.