vCenter Portgroup does not update nsx vlan-id changes for Segments from NSX T UI.
search cancel

vCenter Portgroup does not update nsx vlan-id changes for Segments from NSX T UI.

book

Article ID: 410811

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • The NSX segment VLAN IDs are not shown in the vCenter port group.
  • Single VLAN ID flows and it reflected on the vCenter port groups.
  • net-dvs -l command on the hosts show that the segments/portgroup has the right VLAN ID tagged.
  • There is no problem with the traffic flow as well.
  • Below is an example from the logs on how the NSX is passing the IDs:
    Segment1 update with vlan 199 & 200
    
    XXX-XXX-XXX  INFO NSX XXXXXXX[nsx@XXXX comp="nsx-manager" level="INFO" logger="LogicalSwitchServiceImpl" msgID="SWITCHING" subcomp="manager" threadName="providerTaskExecutor-1-22"] Updated LogicalSwitch to LogicalSwitch [id=LogicalSwitch/XXXXXXXXXXXXXXXX, name=Segment1, segmentPath=/infra/segments/Segment1, switchType=DEFAULT, transportZoneId=TransportZone/XXXXXXXXXXXXXXXX, vlan=-1, trunkVlanRanges={[199, 199][200, 200]}, adminState=UP, switchingProfileIds=[SwitchingProfileTypeIdEntry [type=RealTimeEthernetSwitchingProfile, profileId=XXXXXXXXXXXXXXXX], SwitchingProfileTypeIdEntry [type=SwitchSecuritySwitchingProfile, profileId=XXXXXXXXXXXXXXXX], SwitchingProfileTypeIdEntry [type=SpoofGuardSwitchingProfile, profileId=XXXXXXXXXXXXXXXX], SwitchingProfileTypeIdEntry [type=IpDiscoverySwitchingProfile, profileId=XXXXXXXXXXXXXXXX], SwitchingProfileTypeIdEntry [type=MacManagementSwitchingProfile, profileId=XXXXXXXXXXXXXXXX], SwitchingProfileTypeIdEntry [type=PortMirroringSwitchingProfile, profileId=null], SwitchingProfileTypeIdEntry [type=QosSwitchingProfile, profileId=XXXXXXXXXXXXXXXX]], switchMode=STANDARD, ccpSwitchType=DEFAULT, uplinkTeamingPolicyName=null, extraConfigs=[  ], originId=null, originType=null, org=null, project=null, vpc=null, skipDefaultProfile=[], getDrDisconnected=false] @ revision 1
    
    XXXXXXXXXXXXXXXX DEBUG NSX XXXXXXXXXXXXXXXX [nsx@XXXXXXXXXXXXXXXX comp="nsx-manager" level="DEBUG" logger="LogicalSwitchHostSyncer" msgID="SWITCHING" subcomp="manager" threadName="LogicalSwitchStateOperationScheduler1"] update list LogicalSwitch [id=LogicalSwitch/XXXXXXXXXXXXXXXX, name=Segment1, segmentPath=/infra/segments/Segment1, switchType=DEFAULT, transportZoneId=TransportZone/XXXXXXXXXXXXXXXX, vlan=-1, trunkVlanRanges={[199, 199][200, 200]}, adminState=UP, switchingProfileIds=null, switchMode=STANDARD, ccpSwitchType=DEFAULT, uplinkTeamingPolicyName=null, extraConfigs=[  ], originId=null, originType=null, org=null, project=null, vpc=null, skipDefaultProfile=[], getDrDisconnected=false]
    
    # VcNsxPortgroupOperation updating dvportgroup-73 with vlan=199
    
    XXXXXXXXXXXXXXXX  INFO NSX XXXXXXXXXXXXXXXX [nsx@XXXX comp="nsx-manager" level="INFO" logger="VcNsxPortgroupOperation" msgID="SWITCHING" subcomp="manager" threadName="LogicalSwitchStateOperationScheduler1"] nsxpg Updating nsx portgroup: NsxPortgroupObjDto{cmId='XXXXXXXXXXXXXXXX', vdsMoref='dvs-53', nsxPortgroups='[NsxPortgroupDto{nsxPortgroupMoref='dvportgroup-73', nsxPortgroupKey='dvportgroup-73', nsxPortgroupName='Segment1', nsxPortgroupType='ephemeral', configVersion='null', numPorts='null', backingType='nsx', vlanId='null', vni='null', transportZoneUuid='XXXXXXXXXXXXXXXX', transportZoneName='nsx-vlan-transportzone', logicalSwitchUuid='XXXXXXXXXXXXXXXX', segmentId='/infra/segments/Segment1', vdsId='XXXXXXXXXXXXXXXX', uplinkTeamingPolicyName='null', subnetId='null', nsxConfig='null'}]', super{CmRequestParameter{parameterType='NsxPortgroupObj', parameterDetails='null', ignoreExceptionType='null'}}}
    
    XXXXXXXXXXXXXXXX DEBUG NSX XXXXXXXXXXXXXXXX [nsx@XXXX comp="nsx-manager" level="DEBUG" logger="NsxPortgroupExecuteVcUtils" msgID="SWITCHING" subcomp="manager" threadName="LogicalSwitchStateOperationScheduler1"] nsxpg Batch nsx portgroup update receives data : NsxPortgroupData{cmId='XXXXXXXXXXXXXXXX', nsxPortgroups='[NsxPortgroupInfo{nsxPortgroupMoref='null', nsxPortgroupKey='dvportgroup-73', portgroupType='ephemeral', backingType='nsx', configVersion='1', numPorts='0', vlan='199', vni='0', transportZoneUuid=XXXXXXXXXXXXXXXX', transportZoneName='nsx-vlan-transportzone', logicalSwitchUuid='XXXXXXXXXXXXXXXX', segmentId='/infra/segments/Segment1', subnetId='null', nsxConfigData='null'}]', issues='null', super{CmResponseDetail{responseDetailType='null', responseDetails='null'}}}

Environment

3.x

4.x

Cause

This is a cosmetic issue and there is no DP impact.
The networks (NSXPGs) cannot be updated by VC user and need NSX Manager changes which will come in a follow up release.

Resolution

Currently there is no fix for this and the KB will be updated with the fix once it is available.