[one-users] [Beta 3.0][Error Mapping Floppy Disk]

Anoj Pillai anojsp at gmail.com
Tue Aug 2 22:19:55 PDT 2011


I  have a working instance of Openebula 3.0 (2.9.80) on Ubuntu Server 11.04
with KVM

The following error occurs during the deployment of a VM  based on a virtual
machine template with a floppy disk image mapped

[VMM][I]: Generating deployment file: /srv/cloud/one/var/20/deployment.0
[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'
[VMM][I]: error: Failed to create domain from
/srv/cloud/one/var//20/images/deployment.0
[VMM][I]: error: internal error Invalid harddisk device name: fda
Here is how the floppy disk was defined in the vm template.

DISK=[
  BUS=fdc,
  CLONE=no,
  SOURCE=/srv/cloud/one/iso/virtio-win-1.1.16.vfd,
  TARGET=fda,
  TYPE=floppy ]
The device node in deployment file generated is ..

                <disk type='file' device='disk'>
                        <source
file='/srv/cloud/one/var//20/images/disk.1'/>
                        <target dev='fda' bus='fdc'/>
                        <driver name='qemu' type='raw' cache='default'/>
                </disk>
I couldnt help notice the device attribute is set as disk despite the DISK
type being set as floppy in vm template..

I was able to work around the issue passing the fdc configuration using RAW
DATA (below)

RAW=[
  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>",
  TYPE=KVM ]

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 ?

Thanks
Anjoe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110803/1be74db8/attachment.htm>


More information about the Users mailing list