diff --git a/test/suites/migration.sh b/test/suites/migration.sh index 3809406b9d78..7525893c3748 100644 --- a/test/suites/migration.sh +++ b/test/suites/migration.sh @@ -57,6 +57,13 @@ migration() { lxd2_dir="$1" lxd_backend=$(storage_backend "$LXD_DIR") lxd2_backend=$(storage_backend "$lxd2_dir") + + # XXX: optimized migration fails with: `ERROR: cannot find parent subvolume` + # due to missing https://github.com/canonical/lxd/commit/94180308e133e9637ec6e24a8b760207622dd412 + if [ "${lxd_backend}" = "btrfs" ] && [ "${lxd_backend2}" = "btrfs" ]; then + return + fi + ensure_import_testimage lxc_remote init testimage nonlive