VMware Aria Suite 8.x
VMware Aria Automation 8.x
VMware vSphere ESXi 8.0.x
VMware vCenter Server 8.0.x
VMware vSphere ESXi 7.0.x
VMware vCenter Server 7.0.x
When the customer adds the ESXi host into vDS and performs VM networking migration, all VM on that particular Host does not register on dVport correctly, the new port ID does not get assigned to VM network and it continues to use the old port ID and network connection remains stable.
/var/log/hostd.log
error hostd[2101236] [Originator@6876 sub=Hostsvc.NsxSpecTracker] Object not found/hostspec disabled[LikewiseGetDomainJoinInfo:354] QueryInformation(): ERROR_FILE_NOT_FOUND (2/0): error hostd[2100948] [Originator@6876 sub=Hostsvc.NsxSpecTracker] Object not found/hostspec disabledinfo hostd[2101544] [Originator@6876 sub=Solo.Vmomi opID=2f09d043-7f00 user=vpxuser] Result:--> (vim.fault.PlatformConfigFault) {--> faultCause = (vmodl.MethodFault) null,--> faultMessage = (vmodl.LocalizableMessage) [--> (vmodl.LocalizableMessage) {--> key = "com.vmware.esx.hostctl.default",--> arg = (vmodl.KeyAnyValue) [--> (vmodl.KeyAnyValue) {--> key = "reason",--> value = "Unable to delete DVPort "" that is in use, use list: VM-NAME.eth0"--> }--> ],--> message = <unset>--> }--> ],--> text = ""--> msg = ""--> }Attempt any of options below
OR
OR
"Add and Manage Hosts" => Manage Host Networking "Migrate VM networking". Check the box "Migrate virtual machine networking" to see the VMs on the host."Configure per virtual machine". The list of VMs should show you the current port group under one of the columns."Assign Port Group". It will display a list of Port Groups on the dvSwitch. Select a port group to assign the VM to. If possible, reassign the same port group it was already using. If not possible, assign a different port group. (Assigning a different port group could cause the VM to lose connectivity until you reassign it back.)"Next" then "Finish"dVSwitch => Configure => Settings => Topology. The UI should show you " Port Group" and the VM connection should show you "Green " visible connection to uplinks.