Failed to start device "root": Failed to apply deferred quota from "volatile.root.apply_quota":

Hello,

using LVM storage on incus 6.6-0.1 on Fedora 40.

While the container is running, we are doing incus config edit for a container, and shrink the disk a bit: root.size: 45GiB => root.size: 42GiB
This config edit completes succesfully.

But on a container restart, the container is failing to start!

# incus restart MYCONTAINER
Error: Failed to start device "root": Failed to apply deferred quota from "volatile.root.apply_quota": Failed to run: lvresize -L 46170898432b -f/dev/default/containers_mycontainer: exit status 5 (File descriptor 11 (socket:[1606636625]) leaked on lvresize invocation. Parent PID 2513604: /usr/lbexec/incus/incusd
  The LV must be active to safely reduce (see --fs options.))
Try `incus info --show-log MYCONTAINER` for more info


(we have to undo the size change in order for the container to start)

Thank you.

Hmm, odd, not too sure what’s going on in this case.
You may be able to workaround this by using lvchange -ay /dev/default/containers_mycontainer to ensure the LV is active prior to the instance starting up?

Tried lvchange -ay /dev/default/containers_mycontainer but again the same error message afterwards (when running start).

Only way to start the container is by reverting the root.size back to the initial value.

Thank you.