[Pkg-ganeti-devel] Bug#705140: ganeti2: hypervisor conversion

Iustin Pop iustin at debian.org
Wed Apr 10 20:28:21 UTC 2013


On Wed, Apr 10, 2013 at 03:02:38PM +0000, Clint Adams wrote:
> Package: ganeti2
> Version: 2.5.2-1
> Severity: wishlist
> 
> 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.

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-ganeti-devel/attachments/20130410/ecffb897/attachment.pgp>


More information about the Pkg-ganeti-devel mailing list