VMware NSX-T Data Center 3.x
In NSX-T 3.2.x the enforcement point has changed from:
/infra/realized-state/enforcement-points/default/groups/nsgroups/identity/
To:
/infra/realized-state/enforcement-points/default/groups/nsgroups/
Notice the new path no longer contains the keyword "identity".
The cleanup task is deriving the realization path as:
/infra/realized-state/enforcement-points/default/groups/nsgroups/xxxx-group-name
Where as from corfu table GenericPolicyRealizedResource we can see that the realization path is:
Key:
{
"stringId": "/infra/realized-state/enforcement-points/default/groups/nsgroups/identity/xxxx-group-name"
}
The extra "/identity/" in the path is causing the current behavior.
The deletion logic is skipping the deletion of the resources as the GPRR(Generic Policy Realized Resource) without "/identity/" in the path is not found.
This issue is resolved in NSX-T 3.2.2.