From 4cf8f858ce4759868fa22f5b849ec0861a84ddc7 Mon Sep 17 00:00:00 2001 From: Simon Deziel Date: Tue, 9 Jul 2024 14:41:26 -0400 Subject: [PATCH] test/suites/migration: skip optimized btrfs->btrfs migration Signed-off-by: Simon Deziel --- test/suites/migration.sh | 7 +++++++ 1 file changed, 7 insertions(+) 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