NSX 4.1.2.*
NSX CCP (Central Control Plane) fails to remove IP addresses from host nestdb when the same IP address is configured both as IP without prefix and as IP with prefix (IPv4/32 or IPv6/128), resulting in stale IP entries.
Firewall rules that rely on the IP group membership may not function correctly, as stale IP addresses remain in the group. This can result in incorrect firewall rules being applied, potentially allowing or blocking traffic to/from IP addresses that should no longer be associated with the group.
When the same IP address is added to a group from multiple sources (Nested Groups) with different prefix notations (e.g., 1.1.1.1 configured as a static IP without a prefix, and 1.1.1.1/32 added as a dynamic IP from IP discovery), removing these IP addresses leads to inconsistent behavior.
NSX controller leaves stale IP entries that cannot be properly removed because the prefix notation from one source conflicts with the non-prefixed notation from the other source, causing IP removal operations to fail.
This is fixed in 4.2.0 and later
Option 1
To resolve the issue restart the affected NSX Controller service.
Option 2
Restart the Controller service on all 3 Managers as admin user
> restart service controller
Option 3
Avoid using static IP addresses IPv4/32 and IPv6/128 in the static group definition. Due to dynamic IPs being read as /32 in the NSX controller, this issue is not 100% avoidable.
An IPv4/32 or IPv6/128 address can be added to NSX either statically or dynamically. Dynamic IPs are any IPs that are discovered by VM Name, VMware Tools, etc.