[one-users] vmware deploy error: raw driver

Tino Vazquez tinova at opennebula.org
Tue May 3 04:13:35 PDT 2011


Hi Antoni,

The "raw" value for the disk driver  is the default value, hardcoded
in the OPenNebula Core VMware driver. This is overridden by:

  * $ONE_LOCATION/etc/vmm_sh/vmm_sh_vmware.conf
  * The VM template, DISK section, DRIVER label.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, May 3, 2011 at 10:36 AM, antoni artigues <tartigues at iac3.eu> wrote:
> Hello
>
> I'm using the last version of opennebula and vmware drivers addon.
>
> My image description is:
>
> ------------------------------------------
> ME="vmUbuntu"
> VCPU = 1
> MEMORY = 1024
> OS = [ ARCH = "x86_64" ]
> DISK=[IMAGE="vmUbuntu",
>      TARGET="sda",
>      BUS="scsi"]
> NIC=[NETWORK="vmware LAN bridged"]
> ------------------------------------------
>
> When we try to create the image we obtain this error:
>
> ----------------------------
> /srv/cloud/one/bin/tty_expect -u oneadmin -p xxxxxxxxx virsh -c
> gsx://oscarnode9/?no_verify=1 define /srv/cloud/one/var/73/deployment.0
>
> error: Failed to define domain from /srv/cloud/one/var/73/deployment.0
> error: internal error Unknown driver name 'raw'
> ----------------------------
>
> We see that in the deployment.0 file there is a driver called "raw", but
> we haven't defined this driver in the image description. Is it a bug
> from openNebula?
>
> Here is the deployment.o:
>
> -------------------------------
> <domain type='vmware'>
>        <name>one-73</name>
>        <vcpu>1</vcpu>
>        <memory>1048576</memory>
>        <os>
>                <type arch='x86_64'>hvm</type>
>        </os>
>        <devices>
>                <disk type='file' device='disk'>
>                        <source file='[vmdatastore] 73/images/disk.0/disk.vmdk'/>
>                        <target dev='sda' bus='scsi'/>
>                        <driver name='raw'/>
>                </disk>
>                <interface type='bridge'>
>                        <source bridge='Bridged'/>
>                        <mac address='02:00:c0:a8:03:01'/>
>                </interface>
>        </devices>
> </domain>
> -------------------------------
>
> Thanks in advance
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list