Hello everyone,
I wonder if anyone have successfully run ganeti with kvm and debian
lenny 5.0.4?
For me it seems to work but the live migration. I get the following
error:
Could not pre-migrate instance vm.host: Failed to accept instance:
Failed to start instance vm.host: exited with exit code 1 (qemu:
loading initrd (0x65bad8 bytes) at 0x0000000017994000
Migration failed rc=201
I even added the command output to see if the "incoming" parameter was
being added correctly for my configuration
(cmd:[u'/usr/bin/kvm', u'-name', u'vm.host', u'-m', 384, u'-smp', 1,
u'-pidfile', u'/var/run/ganeti/kvm-hypervisor/pid/vm.host', u'-
daemonize', u'-boot', u'c', u'-drive', u'file=/var/run/ganeti/instance-
disks/vm.host:0,format=raw,if=virtio,boot=on', u'-kernel', u'/boot/
vmlinuz-2.6-kvmU', u'-initrd', u'/boot/initrd.img-2.6-kvmU', u'-
append', u'root=/dev/vda1 ro console=ttyS0,38400', u'-vnc',
u'
127.0.0.1:5100', u'-usbdevice', u'tablet', u'-monitor', u'unix:/var/
run/ganeti/kvm-hypervisor/ctrl/vm.host.monitor,server,nowait', u'-
serial', u'unix:/var/run/ganeti/kvm-hypervisor/ctrl/
vm.host.serial,server,nowait', u'-localtime', '-net',
u'nic,vlan=0,macaddr=00:16:3e:d9:76:53,model=virtio', '-net',
'tap,vlan=0,script=/tmp/tmpoBz2kO', '-incoming', u'tcp:
10.1.1.12:8102'])
For me it seems fine.
The documentation from the project is really complete and to be honest
the only change I had to make because kvm wasn't working at all was to
change the default mac address prefix used to "00:16:3e" as the
"00:00:aa" doesn't seem to work with kvm and/or debian, no idea why.
It is frustrating that failover works fine but not migration. So far I
am a bit afraid of adding a 3rd node as I wont be able to migrate an
instance to a new node (for example, instance lives in node A and B
and i can failover between them but not migrate to C for example),
unless I export/import but it is not efficient as some instances are
large.
Thank you