Cannot boot from volume with 2 devices
I am using the boot-from-volume extension to create an instance, where its root file system is on a nova volume. This works more of less (with some caveats). But when I try to boot an instance with 2 disks (each specified as a volume), the boot fails with a kernel panic. I am using KVM. I've narrowed it down to the libvirt configuration, where specifying just one device works and 2 causes the kernel panic.
Note, that none of the devices have a partition. The device "/dev/mapper/nova--volumes-volume--00000069" has the root file system and "/dev/mapper/nova--volumes-volume--0000006a" is empty. Both are formatted with ext3 filesystem.
Works:
<domain type="kvm">
<name>instance-00000056</name>
<memory>524288</memory>
<os>
<type>hvm</type>
<kernel>/var/lib/nova/instances/instance-00000056/kernel</kernel>
<cmdline>root=/dev/vda console=ttyS0</cmdline>
<initrd>/var/lib/nova/instances/instance-00000056/ramdisk</initrd>
</os>
<features>
<acpi/>
</features>
<vcpu>1</vcpu>
<devices>
<disk type="block">
<driver type="raw"/>
<source dev="/dev/mapper/nova--volumes-volume--00000069"/>
<target dev="vdb" bus="virtio"/>
</disk>
<interface type='bridge'>
<source bridge='br100'/>
<mac address='02:16:3e:0b:95:d3'/>
<!-- <model type='virtio'/> CANT RUN virtio network right now -->
<filterref filter="nova-instance-instance-00000056-02163e0b95d3">
<parameter name="IP" value="10.10.0.13" />
<parameter name="DHCPSERVER" value="10.10.0.1" />
</filterref>
</interface>
...
Fails:
<domain type="kvm">
<name>instance-00000056</name>
<memory>524288</memory>
<os>
<type>hvm</type>
<kernel>/var/lib/nova/instances/instance-00000056/kernel</kernel>
<cmdline>root=/dev/vda console=ttyS0</cmdline>
<initrd>/var/lib/nova/instances/instance-00000056/ramdisk</initrd>
</os>
<features>
<acpi/>
</features>
<vcpu>1</vcpu>
<devices>
<disk type="block">
<driver type="raw"/>
<source dev="/dev/mapper/nova--volumes-volume--00000069"/>
<target dev="vdb" bus="virtio"/>
</disk>
<disk type="block">
<driver type="raw"/>
<source dev="/dev/mapper/nova--volumes-volume--0000006a"/>
<target dev="vda" bus="virtio"/>
</disk>
<interface type='bridge'>
<source bridge='br100'/>
<mac address='02:16:3e:0b:95:d3'/>
<!-- <model type='virtio'/> CANT RUN virtio network right now -->
<filterref filter="nova-instance-instance-00000056-02163e0b95d3">
<parameter name="IP" value="10.10.0.13" />
<parameter name="DHCPSERVER" value="10.10.0.1" />
</filterref>
</interface>
...