Hi, It looks like a bug, we've opened a ticket [1].
Thanks for the feedback! [1] http://dev.opennebula.org/issues/767 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org <http://www.opennebula.org/> | cmar...@opennebula.org On Wed, Aug 3, 2011 at 7:19 AM, Anoj Pillai <ano...@gmail.com> wrote: > 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 > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > >
_______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org