Status: New
Owner: ----

New issue 163 by piglop: import from a 2.1 cluster to a 2.4 cluster fails with checksum error
http://code.google.com/p/ganeti/issues/detail?id=163

I'm running Ganeti from git stable-2.4 and instance-debootstrap from git master, all on Debian Squeeze.

I'm importing an instance exported from a ganeti 2.1 cluster (all installed from Debian Lenny packages).

What steps will reproduce the problem?
1. "gnt-backup export" on the old cluster
2. copy the exported directory to the new cluster node
3. "gnt-backup import --src-node=<new cluster node> --src-dir=<where the files were copied> -t plain -n <new cluster node> <instance_name>

It failed with this error:
2011-06-04 13:49:30,454: Checksum error 35644573156, inode 0 file (null)
2011-06-04 13:49:30,454: restore: Tape is not a dump tape

I investigated and I discovered the disk is gzipped and the import script didn't uncompress it.

With this patch, it works fine:
https://github.com/ouvrages/ganeti-instance-debootstrap/commit/0c92bdd9c8160844eb013f6e7dc534a952c46a1a


Reply via email to