Symptoms:
- You are running NSX-T 3.1.x or lower.
- Missing DFW rules on a VM post vMotion of that VM.
- Groups used in the 'Applied To' field of the rule have membership defined statically by VIF (Virtual Interface) ID or Virtual Machine.
- A subsequent vMotion of the affected VM resolves the issue.
- On the host the VM is migrated to you can see when searching in /var/run/log/nsx-syslog.log for the rule ID, that the rule is added, but then deleted shortly after:
Add operation:
cfgAgent[2103456]: NSX 2103456 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" >tid="7682F700" level="info"] dfw: DfwMsgCache: added rule. id: 12345, section uuid: <uuid>
Delete operation:
cfgAgent[2103456]: NSX 2103456 - [nsx@6876 comp="nsx-controller" subcomp="cfgAgent" >tid="7682F700" level="info"] dfw: DfwMsgCache: deleted rule. id: 12345, from section: <uuid>