[Pkg-ganeti-devel] Bug#624256: Two devices with same boot index 0

micah anderson micah at riseup.net
Tue Apr 26 22:11:31 UTC 2011


Package: ganeti2
Severity: normal
Version: 2.4.1-1
Tags: patch


It seems as if passing boot=on to the kvm process causes the following
error (when using virtio):

Could not start instance: Hypervisor error: Failed to start instance foo.foo.net: exited with exit code 1 (Two devices with same boot index 0
)

http://comments.gmane.org/gmane.comp.emulators.qemu/94012 seems to be
encountering similar issues with upstream qemu.

The attached patch seems to fix the problem:

--- ./hv_kvm.py	2011-04-26 18:06:03.396269327 -0400
+++ /tmp/hv_kvm.py	2011-04-26 18:10:02.055171029 -0400
@@ -545,10 +545,6 @@
       # TODO: handle FD_LOOP and FD_BLKTAP (?)
       if boot_disk:
         kvm_cmd.extend(['-boot', 'c'])
-        if disk_type != constants.HT_DISK_IDE:
-          boot_val = ''
-        else:
-          boot_val = ''
         # We only boot from the first disk
         boot_disk = False
       else:


-- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-ganeti-devel/attachments/20110426/bed76e27/attachment.pgp>


More information about the Pkg-ganeti-devel mailing list