[one-users] unknown ethernet controller on windows imported image

Valentin Bud valentin.bud at gmail.com
Tue Sep 9 06:06:40 PDT 2014


Hello Luca,

I think you must add MODEL="E1000" to the NIC section of
the template. You can read about it in the documentation [1].


[1]:
http://docs.opennebula.org/4.8/user/references/template.html#network-section

Best,
Valentin


On Tue, Sep 9, 2014 at 3:46 PM, Luca Uburti <luburti at ricca-it.com> wrote:

>  of course, here it is
>
> <VM>
>   <ID>32</ID>
>   <UID>0</UID>
>   <GID>0</GID>
>   <UNAME>oneadmin</UNAME>
>   <GNAME>oneadmin</GNAME>
>   <NAME>123</NAME>
>   <PERMISSIONS>
>     <OWNER_U>1</OWNER_U>
>     <OWNER_M>1</OWNER_M>
>     <OWNER_A>0</OWNER_A>
>     <GROUP_U>0</GROUP_U>
>     <GROUP_M>0</GROUP_M>
>     <GROUP_A>0</GROUP_A>
>     <OTHER_U>0</OTHER_U>
>     <OTHER_M>0</OTHER_M>
>     <OTHER_A>0</OTHER_A>
>   </PERMISSIONS>
>   <LAST_POLL>1410266708</LAST_POLL>
>   <STATE>3</STATE>
>   <LCM_STATE>3</LCM_STATE>
>   <RESCHED>0</RESCHED>
>   <STIME>1410189882</STIME>
>   <ETIME>0</ETIME>
>   <DEPLOY_ID>one-32</DEPLOY_ID>
>   <MEMORY>742400</MEMORY>
>   <CPU>3</CPU>
>   <NET_TX>0</NET_TX>
>   <NET_RX>0</NET_RX>
>   <TEMPLATE>
>     <AUTOMATIC_REQUIREMENTS><![CDATA[!(PUBLIC_CLOUD =
> YES)]]></AUTOMATIC_REQUIREMENTS>
>     <CONTEXT>
>       <DISK_ID><![CDATA[1]]></DISK_ID>
>       <ETH0_DNS><![CDATA[8.8.8.8]]></ETH0_DNS>
>       <ETH0_GATEWAY><![CDATA[10.222.1.254]]></ETH0_GATEWAY>
>       <ETH0_IP><![CDATA[10.222.1.1]]></ETH0_IP>
>       <ETH0_MAC><![CDATA[02:00:0a:de:01:01]]></ETH0_MAC>
>       <ETH0_MASK><![CDATA[255.255.255.0]]></ETH0_MASK>
>       <ETH0_NETWORK><![CDATA[10.222.1.0]]></ETH0_NETWORK>
>       <NETWORK><![CDATA[YES]]></NETWORK>
>       <TARGET><![CDATA[hdb]]></TARGET>
>     </CONTEXT>
>     <CPU><![CDATA[0.5]]></CPU>
>     <DISK>
>       <CLONE><![CDATA[YES]]></CLONE>
>       <CLONE_TARGET><![CDATA[SYSTEM]]></CLONE_TARGET>
>       <DATASTORE><![CDATA[default]]></DATASTORE>
>       <DATASTORE_ID><![CDATA[1]]></DATASTORE_ID>
>       <DEV_PREFIX><![CDATA[hd]]></DEV_PREFIX>
>       <DISK_ID><![CDATA[0]]></DISK_ID>
>       <IMAGE><![CDATA[w2k8r2]]></IMAGE>
>       <IMAGE_ID><![CDATA[13]]></IMAGE_ID>
>       <IMAGE_UNAME><![CDATA[oneadmin]]></IMAGE_UNAME>
>       <LN_TARGET><![CDATA[NONE]]></LN_TARGET>
>       <READONLY><![CDATA[NO]]></READONLY>
>       <SAVE><![CDATA[NO]]></SAVE>
>       <SIZE><![CDATA[20585]]></SIZE>
>
> <SOURCE><![CDATA[/vmfs/volumes/1/a84b8296fb47ece716d79137f273e014]]></SOURCE>
>       <TARGET><![CDATA[hda]]></TARGET>
>       <TM_MAD><![CDATA[vmfs]]></TM_MAD>
>       <TYPE><![CDATA[FILE]]></TYPE>
>     </DISK>
>     <GRAPHICS>
>       <LISTEN><![CDATA[0.0.0.0]]></LISTEN>
>       <PORT><![CDATA[5932]]></PORT>
>       <TYPE><![CDATA[VNC]]></TYPE>
>     </GRAPHICS>
>     <MEMORY><![CDATA[1024]]></MEMORY>
>     <NIC>
>       <AR_ID><![CDATA[0]]></AR_ID>
>       <BRIDGE><![CDATA[vSwitch0]]></BRIDGE>
>       <IP><![CDATA[10.222.1.1]]></IP>
>       <MAC><![CDATA[02:00:0a:de:01:01]]></MAC>
>       <NETWORK><![CDATA[dynamic_vmware_net]]></NETWORK>
>       <NETWORK_ID><![CDATA[2]]></NETWORK_ID>
>       <NETWORK_UNAME><![CDATA[oneadmin]]></NETWORK_UNAME>
>       <NIC_ID><![CDATA[0]]></NIC_ID>
>       <VLAN><![CDATA[YES]]></VLAN>
>       <VLAN_ID><![CDATA[340]]></VLAN_ID>
>     </NIC>
>     <TEMPLATE_ID><![CDATA[3]]></TEMPLATE_ID>
>     <VCPU><![CDATA[2]]></VCPU>
>     <VMID><![CDATA[32]]></VMID>
>   </TEMPLATE>
>   <USER_TEMPLATE/>
>   <HISTORY_RECORDS>
>     <HISTORY>
>       <OID>32</OID>
>       <SEQ>0</SEQ>
>       <HOSTNAME>10.10.10.236</HOSTNAME>
>       <HID>4</HID>
>       <CID>-1</CID>
>       <STIME>1410189893</STIME>
>       <ETIME>0</ETIME>
>       <VMMMAD>vmware</VMMMAD>
>       <VNMMAD>vmware</VNMMAD>
>       <TMMAD>vmfs</TMMAD>
>       <DS_LOCATION>/vmfs/volumes</DS_LOCATION>
>       <DS_ID>0</DS_ID>
>       <PSTIME>1410189893</PSTIME>
>       <PETIME>1410190981</PETIME>
>       <RSTIME>1410190981</RSTIME>
>       <RETIME>0</RETIME>
>       <ESTIME>0</ESTIME>
>       <EETIME>0</EETIME>
>       <REASON>0</REASON>
>       <ACTION>0</ACTION>
>     </HISTORY>
>   </HISTORY_RECORDS>
> </VM>
>
>
>
> Il 09/09/2014 14:40, Tino Vazquez ha scritto:
>
>  Hi Luca,
>
>  I fail to see the model type in the deployment file, it should have
> something like the following:
>
>  <interface type='bridge'>
>    ....
>  <model type='e1000'/>
>  </interface>
>
>  can you share the VM template ("onevm show -x <vid>") as well?
>
>  Best,
>
>  -Tino
>
>
> --
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
> --
> Constantino Vázquez Blanco, PhD, MSc
> Senior Infrastructure Architect at C12G Labs
> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>
> --
> Confidentiality Warning: The information contained in this e-mail and any
> accompanying documents, unless otherwise expressly indicated, is
> confidential and privileged, and is intended solely for the person and/or
> entity to whom it is addressed (i.e. those identified in the "To" and "cc"
> box). They are the property of C12G Labs S.L.. Unauthorized distribution,
> review, use, disclosure, or copying of this communication, or any part
> thereof, is strictly prohibited and may be unlawful. If you have received
> this e-mail in error, please notify us immediately by e-mail at
> abuse at c12g.com and delete the e-mail and attachments and any copy from
> your system. C12G thanks you for your cooperation.
>
> On 9 September 2014 12:52, Luca Uburti <luburti at ricca-it.com> wrote:
>
>>  Hello, I have attached those two files
>>
>> thank you
>>
>> Il 09/09/2014 12:22, Tino Vazquez ha scritto:
>>
>> Hi Luca,
>>
>>  Ok, let's see if we can get to the bottom of this issue.
>>
>>  Could you provide the deployment file of the VM? It is placed in the
>> front-end, under /var/lib/one/datastores/<ds_id>/deployment.0, where ds_id
>> is the id of the system datastore (0, by default).
>>
>>  Moreover, the .vmx file created in the ESX host can be of use. This
>> would be placed in the ESX host, under
>> /vmfs/volumes/<image_ds_id>/<vid>/disk.0/one-<vid>.vmx, where image_ds_id
>> is the id of the image datastore, and vid is the id of the virtual machine
>> as seen by OpenNebula.
>>
>>  Best,
>>
>>  -Tino
>>
>>
>> --
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>
>> --
>> Constantino Vázquez Blanco, PhD, MSc
>> Senior Infrastructure Architect at C12G Labs
>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>
>> --
>> Confidentiality Warning: The information contained in this e-mail and any
>> accompanying documents, unless otherwise expressly indicated, is
>> confidential and privileged, and is intended solely for the person and/or
>> entity to whom it is addressed (i.e. those identified in the "To" and "cc"
>> box). They are the property of C12G Labs S.L.. Unauthorized distribution,
>> review, use, disclosure, or copying of this communication, or any part
>> thereof, is strictly prohibited and may be unlawful. If you have received
>> this e-mail in error, please notify us immediately by e-mail at
>> abuse at c12g.com and delete the e-mail and attachments and any copy from
>> your system. C12G thanks you for your cooperation.
>>
>> On 9 September 2014 12:14, Luca Uburti <luburti at ricca-it.com> wrote:
>>
>>>  Yes, even with an E1000 Nic card type set on the original image, once I
>>> import it into Opennebula it becomes a Flexible / AMD PCNET.
>>> I haven't tried installing this driver beforehand on the original image,
>>> even though I thought the vmware tools would take care of it.
>>>
>>> Thanks
>>> Luca
>>>
>>> Il 09/09/2014 11:01, Tino Vazquez ha scritto:
>>>
>>> Hi Luca,
>>>
>>>  Have you tried with E1000 model?
>>>
>>>  Best,
>>>
>>>  -Tino
>>>
>>>
>>> --
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>>
>>> --
>>> Constantino Vázquez Blanco, PhD, MSc
>>> Senior Infrastructure Architect at C12G Labs
>>> www.c12g.com | @C12G | es.linkedin.com/in/tinova
>>>
>>> --
>>> Confidentiality Warning: The information contained in this e-mail and
>>> any accompanying documents, unless otherwise expressly indicated, is
>>> confidential and privileged, and is intended solely for the person and/or
>>> entity to whom it is addressed (i.e. those identified in the "To" and "cc"
>>> box). They are the property of C12G Labs S.L.. Unauthorized distribution,
>>> review, use, disclosure, or copying of this communication, or any part
>>> thereof, is strictly prohibited and may be unlawful. If you have received
>>> this e-mail in error, please notify us immediately by e-mail at
>>> abuse at c12g.com and delete the e-mail and attachments and any copy from
>>> your system. C12G thanks you for your cooperation.
>>>
>>> 2014-09-09 9:13 GMT+02:00 Luca Uburti <luburti at ricca-it.com>:
>>>
>>>>  Hello
>>>>
>>>> I tried importing a preexisting Vmware Windows2008r2 image into
>>>> Opennebula, however I have no network connectivity.
>>>> In device manager I see an unknown ethernet controller with a yellow
>>>> exclamation mark. The hardware ID is
>>>> "pci/ven_1022&dev_2000&subsys_20001022&rev_10" which looks like an AMD
>>>> PCNET card. Inside the Esxi host I see the network card is configured as
>>>> Flexible.
>>>>
>>>> In the original image I tried to use both a flexible and Vmxnet3
>>>> network card, but as soon as I import it into Opennebula I always get this
>>>> old/incompatible network card.
>>>> I also tried reinstalling the latest Vmware tools in the original image
>>>> to no effect.
>>>>
>>>> Thank you for your help
>>>>
>>>> --
>>>>  Dott. Luca Uburti
>>>> luburti at ricca-it.com
>>>>
>>>>    _________________
>>>>     Ricca S.r.l.
>>>>    ww <http://www.riccasrl.com>w.ricca-it.com
>>>>    <https://webmail.ricca-it.it/www.riccasrl.com>
>>>>
>>>>
>>>>    Zona Industriale II Fase
>>>>    97100 - Ragusa
>>>>
>>>>    T. +39 0932 66 80 82 <callto:+39%200932%2066%2080%2082>
>>>>    F. +39 0932 66 70 72 <callto:+39%200932%2066%2070%2072>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>    AVVISO DI RISERVATEZZA
>>>>    Questa e-mail è ad uso esclusivo di colui al quale è indirizzata, e
>>>>    potrebbe contenere informazioni riservate.
>>>>    Se aveste ricevuto questa e-mail per errore, o comunque non ne
>>>>    siete il destinatario, ci scusiamo per l’accaduto e Vi invitiamo
>>>>    cortesemente a darcene notizia e a distruggere il messaggio ricevuto.
>>>>    Vi ricordiamo che la diffusione, l’utilizzo e/o la conservazione
>>>>    dei dati ricevuti per errore costituiscono violazioni alle disposizioni del
>>>>    Decreto legislativo n. 196/2003 denominato “Codice in materia di protezione
>>>>    dei dati personali”.
>>>>
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> Users at lists.opennebula.org
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>
>>>
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140909/ecb8e825/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 5248 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140909/ecb8e825/attachment-0001.gif>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 29835 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140909/ecb8e825/attachment-0001.png>


More information about the Users mailing list