Finally I think I got a know with which I am able to handle this issue for OVS:
https://opendev.org/openstack/neutron/src/branch/master/neutron/api/rpc/handlers/securitygroups_rpc.py#L297-L308
Here I can add an extra rcache.get_resources with filters to get rules which remote_group_id is the deleted sg, tomorrow I push a patch with it.
Finally I think I got a know with which I am able to handle this issue for OVS:
https:/ /opendev. org/openstack/ neutron/ src/branch/ master/ neutron/ api/rpc/ handlers/ securitygroups_ rpc.py# L297-L308
Here I can add an extra rcache. get_resources with filters to get rules which remote_group_id is the deleted sg, tomorrow I push a patch with it.