#705140 ganeti2: hypervisor conversion

#705140#5
Date:
2013-04-10 15:02:38 UTC
From:
To:
I'd like to be able to move a bunch of instances from a Xen cluster
to a KVM cluster.

/usr/lib/ganeti/tools/move-instance tells me
OpPrereqError: ('Selected hypervisor (xen-pvm) not enabled in the cluster (kvm)', 'wrong_state')

It would be nice if it would either do the conversion for me or just
do what it can and then let me tweak the final bits manually.

#705140#10
Date:
2013-04-10 20:28:21 UTC
From:
To:
Hi,

While we don't support this natively, there is a hack/workaround:

- "gnt-backup export" the instances
- edit the config file and replace the hypervisor entry
- "gnt-backup import" with the new hypervisor

The reason we don't have this automated right now is that we don't have
a way to "map" hypervisor parameters from one hypervisor to another…

Thanks for the report, this should/will be forwarded upstream.

iustin