Skip to main content

LogicalSwitch virtualwire-xxxx is marked as missing | NSX


NSX Manager detected a backing DV portgroup for an NSX logical switch is missing in Virtual Center.

LogicalSwitch virtualwire is marked as missing
There was a request to create a port group for a vApp network when deploying a vApp from the vcloud director. But due to some reason the port group was created and removed in the dvsiwtch, and in my case, the vApp was deleted from the vCloud director so the network also removed from the VC and NSX. If  there is an error on the NSX UI follow the below solutions,
+++++++++++++++++++++++++++++++++
Dec  6 09:42:00 manager 2017-12-06 09:42:00.597 UTC  INFO DCNPool-1 VirtualWireInFirewallRuleNotificationHandler:58 - Recieved VDN CREATE notification for context virtualwire-33172:VirtualWire
Dec  6 09:42:00 manager 2017-12-06 09:42:00.600 UTC  INFO DCNPool-1 VirtualWireDCNHandler:43 - Recieved VDN CREATE notification for context virtualwire-33172:VirtualWire
Dec  6 09:42:00 manager 2017-12-06 09:42:00.696 UTC  INFO http-nio-127.0.0.1-7441-exec-917 NetworkFeatureConfigUtil:188 - Added network feature NetworkFeature [objectId=virtualwire-33172, featureName=ipDiscovery, featureStatus=enabled] in database.
Dec  6 09:42:00 manager 2017-12-06 09:42:00.697 UTC  INFO http-nio-127.0.0.1-7441-exec-917 NetworkFeatureConfigUtil:208 - Compiled OpaqueData featuresEnabled=ipDiscovery for Opaque Key dvfilter-generic-vmware-swsec.config for vWire virtualwire-33172
Dec  6 09:42:00 manager 2017-12-06 09:42:00.799 UTC  INFO DCNPool-6 VirtualWireInFirewallRuleNotificationHandler:58 - Recieved VDN MODIFY notification for context virtualwire-33172:VirtualWire
Dec  6 09:42:00 manager 2017-12-06 09:42:00.805 UTC  INFO DCNPool-6 VirtualWireDCNHandler:43 - Recieved VDN MODIFY notification for context virtualwire-33172:VirtualWire
Dec  6 09:43:40 manager 2017-12-06 09:43:40.929 UTC  INFO DCNPool-4 VirtualWireServiceImpl:2129 - The status of backing portgroup [dvportgroup-141759] on virtualwire [virtualwire-33172] changed [OK -> BAD].
Dec  6 09:43:40 manager 2017-12-06 09:43:40.941 UTC ERROR DCNPool-4 VirtualWireServiceImpl:2184 - Virtual Wire Error : Logical switch virtualwire-33172 is no longer properly configured since some of the backing distributed virtual port groups were modified and/or removed.
Dec  6 09:43:40 manager 2017-12-06 09:43:40.942 UTC  INFO DCNPool-3 FirewallDao:932 - Destination virtualwire-33172 used in 0 firewall rules
Dec  6 09:43:40 manager 2017-12-06 09:43:40.944 UTC  INFO DCNPool-4 VirtualWireServiceImpl:2174 - The status of virtualwire [virtualwire-33172] changed [OK -> BAD].
Dec  6 09:43:40 manager 2017-12-06 09:43:40.944 UTC  INFO DCNPool-3 FirewallDao:941 - AppliedTo virtualwire-33172 used in 0 firewall rules
Dec  6 09:43:40 manager 2017-12-06 09:43:40.945 UTC  INFO DCNPool-3 VirtualWireDCNHandler:43 - Recieved VDN MODIFY notification for context virtualwire-33172:VirtualWire
Dec  6 09:43:40 manager 2017-12-06 09:43:40.954 UTC  INFO DCNPool-4 VirtualWireServiceImpl:2437 - Marked backing [dvportgroup-141759] as [missingOnVc = true] on VirtualWire virtualwire-33172.
Dec  6 09:43:40 manager 2017-12-06 09:43:40.958 UTC  INFO DCNPool-7 VirtualWireDCNHandler:43 - Recieved VDN MODIFY notification for context virtualwire-33172:VirtualWire
Dec  6 09:43:45 manager 2017-12-06 09:43:45.620 UTC  INFO http-nio-127.0.0.1-7441-exec-917 VirtualWireServiceImpl:1111 - Deleting virtual wire with id virtualwire-33172, segment vlan id 1450025
Dec  6 09:43:45 manager 2017-12-06 09:43:45.788 UTC  INFO DCNPool-4 VirtualWireInFirewallRuleNotificationHandler:58 - Recieved VDN DELETE notification for context virtualwire-33172:VirtualWire
++++++++++++++++++++++++++++++++++++++++++++++++
To fix event code 1942 Critical  The backing portgroup [moid = {#}] of LogicalSwitch {#} is marked as missing.
Method-I
1 In the vSphere Web Client, navigate to Home > Networking & Security > Logical Switches.
2 In the Status column, click the Out of sync link to see the detailed reason for this out of sync state
3 Click the Resolve button to resolve the issue.This invokes API to recreate the backup DVPG.
Method-II
Use the REST API (POST https://<vsmip>/api/2.0/vdn/virtualwires/<vw-id>/backing?action=remediate) to recreate the port group.

To fix event code 814 Logical Switch {#} is no longer properly configured since some of the backing distributed virtual port groups were modified and/or removed.

If the event was triggered by deleting or modifying a port group, an error is being shown on the Logical Switches page on the vSphere Web Client. Follow Method-I

Refer to "Update Transport Zones and Logical Switches" in the NSX Upgrade Guide.
Read: https://docs.vmware.com/en/VMware-NSX-for-vSphere/6.3/nsx_63_logging_and_system_events.pdf

Comments