Currently connected network interface 'device' uses network 'network' NSX port group 'portgroup' (lcp.kcpSyncStatus down), which is not accessible
#net-dvs | grep lcp.kcpSyncStatus
com.vmware.common.opaqueDvs.status.component.lcp.kcpSyncStatus = down , propType = RUNTIMEVMware NSX-T Data Center 3.x
The ESXi host property com.vmware.vswitch.pvlanMap on a DvsPortset (Distributed Switch) has a conflict. It's a global property on a vswitch, but NSX-T and vCenter are both setting values to it. NSX-T tries to delete/update the vCenter created PVLAN mapping and fails, and keeps retrying.
This is a known issue affecting NSX-T Data Center 3.1.1, 3.1.2, and 3.1.3
This issue is resolved in VMware NSX 3.1.3.3 (build number 18844959), available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Workaround:
To workaround this issue, delete the private vlans (PVLAN) that are configured in the specific DVS (DvsPortset-X) that shows in the vmkernel.log error message, i.e:
2021-04-28T20:17:28.001Z cpu24:2####02)VLAN.vswitch: PVLAN_DVSUpdate:1023: [nsx@6876 comp="nsx-esx" subcomp="vswitch"]PVLAN mapping (2000,2001) can't be deleted - refCount 1
2021-04-28T20:17:28.001Z cpu24:2####02)WARNING: kcp: KCP_SetPSPropSyncCall:242: [nsx@6876 comp="nsx-esx" subcomp="kcp"]Failed to set com.vmware.vswitch.pvlanMap on portset DvsPortset-1, set outOfSync : Busy
To check the actual DVS name for a given DvsPortset-X, you can run:
#net-dvs | egrep "com.vmware.common.alias|com.vmware.common.host.portset"
com.vmware.common.alias = dvs-compute , propType = CONFIG
com.vmware.common.host.portset = DvsPortset-0 , propType = CONFIG
com.vmware.common.alias = NVDS-OVERLAY , propType = CONFIG
com.vmware.common.host.portset = DvsPortset-1 , propType = CONFIG