diff --git a/tools/marvin/marvin/lib/base.py b/tools/marvin/marvin/lib/base.py index efe7331d0dc..0769f27b438 100755 --- a/tools/marvin/marvin/lib/base.py +++ b/tools/marvin/marvin/lib/base.py @@ -867,8 +867,8 @@ class VirtualMachine: if hostid: cmd.hostid = hostid if migrateto: - migrateto = [] - for volume, pool in migrateto.items(): + cmd.migrateto = [] + for volume, pool in list(migrateto.items()): cmd.migrateto.append({ 'volume': volume, 'pool': pool