Skip to content

Commit

Permalink
test/suites/migration: skip optimized btrfs->btrfs migration
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed Jul 9, 2024
1 parent e716c43 commit 4cf8f85
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/suites/migration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4cf8f85

Please sign in to comment.