To provide a point of reference for troubleshooting the following error
Host configuration; Query teaming failed for dvs <uuid> LogicalSwitch full-sync: Logical full-sync realization query skipped
When it pops up in a partial success status on the NSX-T configuration of a host node
Symptoms:
After upgrading or making changes to a host transport node causing the host profile to reapply we see the below error
Host configuration; Query teaming failed for dvs <dvs-uuid> LogicalSwitch full-sync: Logical full-sync realization query skipped.
No noticeable impact but what appears to be a cosmetic error showing a Partial Success in the NSX Configuration. The host transport profile seems to be applied to the host transport profile as we can see other aspects of the NSX-T host are working as expected.
An example of the log files thrown off by this error on the host would be
2022-06-26T07:51:13.447Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="WARNING"] Lacp policy for dvs [
<uuid1>] is not found.
2022-06-26T07:51:13.447Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="INFO"] Fetched 2 active & 0 standby uplinks for teaming type 555676052 of dvs
<uuid1>2022-06-26T07:51:13.448Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="INFO"] [GetDvsConfigInfo] vdrPort of dvs [
<uuid1>] uses teamType 5 and uplinks [Uplink 1,Uplink 2]
2022-06-26T07:51:13.448Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="WARNING"] Lacp policy for dvs [
<uuid2>] is not found.
2022-06-26T07:51:13.448Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="ERROR" errorCode="ERR_GLOBAL_PROP_GET_FAILED"] Failed to get teaming for dvs [
<uuid2>]: bad0003
2022-06-26T07:51:13.448Z nsx-opsagent[35750116]: NSX 35750116 - [nsx@6876 comp="nsx-esx" subcomp="opsagent" s2comp="nsxa" tid="35750452" level="WARNING"] [GetDvsConfigInfo] Query teaming in dvs [
<uuid2>] returned NOT_FOUND
There are 2 host switches -
uuid1 and
uuid2 We can see that fetching the uplink and teaming config for the 1st host switch succeeds but the 2nd returned the error. This could be due to incorrect teaming config on the host switch.
net-dvs output showing teaming config below
switch
<uuid2> (vswitch)
max ports: 9216
global properties:
com.vmware.common.opaqueDvs = false , propType = CONFIG
com.vmware.vrdma.uuid = <vrdma-uuid> , propType = CONFIG
com.vmware.vds.teamcheck.param: NonIPHASH
com.vmware.vds.vlanmtucheck.param:
Empty standby and active uplinks could lead to this error
ranges = 0 51-53
propType = CONFIG POLICY
com.vmware.common.alias =
<Distributed Switch Name> 87acaf , propType = CONFIG
com.vmware.common.uplinkPorts:
uplink1, uplink2
propType = CONFIG
....
com.vmware.vswitch.teaming = 0x 3. 0. 0. 0.80. 2. 0. 0. 0. 1. a. 0.34. 0. 0. 0. 1. 0 <repeats 2599 times>
propType = CONFIG
com.vmware.vswitch.logicalswitch.teaming = 0x 1. 0. 0. 0.4c.6f.61.64.42.61.6c.61.6e.63.65.64.53.6f.75.72.63.65. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 3. 0. 0. 0.80. 2. 0. 0.34. 0. 0. 0. 1. 0. 0. 0. 0. 0. 0. 0.75.70.6c.69.6e.6b.32. 0 <repeats 2585 times>
propType = CONFIG