Bug #767

Error Mapping Floppy Disk

Added by Carlos Martín almost 10 years ago. Updated over 7 years ago.

Status:ClosedStart date:08/10/2011
Priority:LowDue date:
Assignee:Ruben S. Montero% Done:

0%

Category:Core & System
Target version:-
Resolution:wontfix Pull request:
Affected Versions:OpenNebula 3.0

Description

As reported by Anoj Pillai <anojsp at gmail.com> in the users mailing list [1]:

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..

[1] http://lists.opennebula.org/pipermail/users-opennebula.org/2011-August/006082.html

History

#1 Updated by Tino Vázquez almost 10 years ago

  • Affected Versions OpenNebula 3.0 added

#2 Updated by Ruben S. Montero about 8 years ago

  • Priority changed from Normal to Low

#3 Updated by Ruben S. Montero over 7 years ago

  • Status changed from New to Closed
  • Resolution set to wontfix

Also available in: Atom PDF