VMware Cloud Community
EAIabach
Contributor
Contributor

Connect Connect vmxnet3 NIC to dvs

I created a new blank VM with 1 vNIC set to VMXNET3. The VM was built from WDS with all the required drivers baked in for vmxnet3. VMware tools are installed. When I go into edit settings on the VM, "Connected" is not checked. When I check that option and apply in VC it shows this completing successfully. However, I can go back in and see it is still not connected and the box is unchecked again. When I tail the hostd.log file I see the following.

State Transition (VM_STATE_ON -> VM_STATE_RECONFIGURING)

Current VM Tracking state: disabled

Setting VM's tracking state to disabled.

Disconnect check in progress.

Question info: Unable to get dvs.portId for ethernet0Unable to get networkName or devName for ethernet0Failed to connect virtual device Ethernet0.

, Id: 4 : Type : 3, Default: 0, Number of options: 1

Retrieved current VM state from foundry 4, 8

Received a duplicate transition from foundry: 8, 1

Disconnect check in progress.

VixVM_AnswerMessage returned 0

Event 1628 : Message on T_W2K8_ST_64_R2_SP2_EA40 on eaesxtwddev4x01.turner.com in ha-datacenter: Unable to get dvs.portId for ethernet0Unable to get networkName or devName for ethernet0Failed to connect virtual device Ethernet0.

Auto-answered question Unable to get dvs.portId for ethernet0Unable to get networkName or devName for ethernet0Failed to connect virtual device Ethernet0.

Retrieved current VM state from foundry 4, 8

Received a duplicate transition from foundry: 8, 1

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

State Transition (VM_STATE_RECONFIGURING -> VM_STATE_ON)

Received state change for VM '384'

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Event 1629 : Reconfigured T_W2K8_ST_64_R2_SP2_EA40 on eaesxtwddev4x01.turner.com in ha-datacenter

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Time to gather config: 122 (msecs)

Task Completed : haTask-384-vim.VirtualMachine.reconfigure-1534421080 Status success

Reconfigure worker thread completed succesfully

Default resource used for 'device.VirtualVmxnet3.DistributedVirtualPortBackingInfo.summary' expected in module 'vm'.

Adding vm 384 to poweredOnVms list

FetchSwitches: added 2 items

FetchDVPortgroups: added 6 items

DISKLIB-VMFS : "/vmfs/volumes/074f18a4-0f5603ff/T_W2K8_ST_64_R2_SP2_EA40/T_W2K8_ST_64_R2_SP2_EA40-flat.vmdk" : open successful (21) size = 32212254720, hd = 0. Type 3

DISKLIB-VMFS : "/vmfs/volumes/074f18a4-0f5603ff/T_W2K8_ST_64_R2_SP2_EA40/T_W2K8_ST_64_R2_SP2_EA40-flat.vmdk" : closed.

DISKLIB-VMFS : "/vmfs/volumes/074f18a4-0f5603ff/T_W2K8_ST_64_R2_SP2_EA40/T_W2K8_ST_64_R2_SP2_EA40-000001-delta.vmdk" : open successful (21) size = 32212254720, hd = 0. Type 8

DISKLIB-VMFS : "/vmfs/volumes/074f18a4-0f5603ff/T_W2K8_ST_64_R2_SP2_EA40/T_W2K8_ST_64_R2_SP2_EA40-000001-delta.vmdk" : closed.

Updating current heartbeatStatus: green

Updating current heartbeatStatus: green

Load: Loading existing file: /etc/vmware/license.cfg

Ticket issued for CIMOM version 1.0, user root

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: green

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: green

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: green

Updating current heartbeatStatus: green

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: green

Updating current heartbeatStatus: yellow

Updating current heartbeatStatus: green

+ Stopped tail -f /var/log/vmware/hostd.log

Reply
0 Kudos
1 Reply
vhascoet
Contributor
Contributor

Hello,

We have the same problem on one VM. Did you get any luck with this ?

Thanks,

Vincent.

Reply
0 Kudos