Skip to content

KVM: unhelpful "Can't find strategy to move data" when live migrating a VM with volumes on RBD #14757

Open

Description

@bhouse-nexthop

Problem

On KVM, live migrating a running VM with its volumes (migrateVirtualMachineWithVolume) fails with an error that doesn't say why when any volume sits on a pool type KVM can't live migrate (e.g. Ceph RBD):

Can't find strategy to move data. Source Host: host1, Destination Host: host2, Volume UUIDs: <uuid>,<uuid>

migrateVolume with livemigrate=true on KVM already refuses and points users to migrateVirtualMachineWithVolume, which then fails with the message above.

Expected

An error that names the source and destination pool (name and type) of each volume and says to stop the VM and migrate the volumes while it is stopped (which works).

Where

DataMotionServiceImpl.copyAsync(Map<VolumeInfo, DataStore>, ...): no data motion strategy matches. On KVM that means a volume's source pool type isn't one the KVM strategies can live migrate.

Versions

4.22 (also main)

Related

#14426 (draft, main) adds live migration for these cases on KVM.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions