<div>I have a working instance of Openebula 3.0 (2.9.80) on Ubuntu Server 11.04 with KVM </div><div> </div><div>The following error occurs during the deployment of a VM based on a virtual machine template with a floppy disk image mapped </div>
<div> </div><div>[VMM][I]: Generating deployment file: /srv/cloud/one/var/20/deployment.0<br>[VMM][I]: Command execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /srv/cloud/one/var//20/images/deployment.0 node1 20 node1; else exit 42; fi'<br>
[VMM][I]: error: Failed to create domain from /srv/cloud/one/var//20/images/deployment.0<br>[VMM][I]: error: internal error Invalid harddisk device name: fda<br></div><div>Here is how the floppy disk was defined in the vm template. </div>
<div> </div><div>DISK=[<br> BUS=fdc,<br> CLONE=no,<br> SOURCE=/srv/cloud/one/iso/virtio-win-1.1.16.vfd,<br> TARGET=fda,<br> TYPE=floppy ]<br></div><div>The device node in deployment file generated is .. </div><div> </div>
<div> <disk type='file' device='disk'><br> <source file='/srv/cloud/one/var//20/images/disk.1'/><br> <target dev='fda' bus='fdc'/><br>
<driver name='qemu' type='raw' cache='default'/><br> </disk><br></div><div>I couldnt help notice the device attribute is set as disk despite the DISK type being set as floppy in vm template.. </div>
<div> </div><div>I was able to work around the issue passing the fdc configuration using RAW DATA (below)</div><div> </div><div>RAW=[<br> DATA="<devices><sound model='ich6'/> <disk type='file' device='floppy'><driver name='qemu' type='raw'/><source file='/srv/cloud/one/iso/virtio-win-1.1.16.vfd'/><target dev='fda' bus='fdc'/><address type='drive' controller='0' bus='0' unit='0'/></disk><controller type='fdc' index='0'/></devices>",<br>
TYPE=KVM ]</div><div> </div><div>However by doing so i loose all the Image management benefits offerered by One.. Is there a different approach i should use to try and map the floppy disk image in the VM template ?</div>
<div> </div><div>Thanks </div><div>Anjoe</div>