Oh, that’s an interesting one.
@tomp looks like we need to put a ZFS-specific restriction in place when creating volume snapshots.
@Madhvi_Chauhan the error is about creating the snapshot though, so not sure how that affects deleting the container. Can you give us more details on exactly what you’re trying to do? Is it a case where the snapshot doesn’t exist on ZFS but LXD thinks it does?
If so, can you show
lxd sql global "SELECT * FROM instances_snapshots;" and
lxd sql global "SELECT * FROM storage_volumes_snapshots;"