Comment 4 for bug 1931244

Revision history for this message
Terry Wilson (otherwiseguy) wrote :

I'm a little confused because I was under the impression that ml2/ovn doesn't actually use RPC workers for anything. What is happening that RPC requests end up calling into ml2/ovn code?

If it's needed, it's needed, but I don't like unconditionally setting up connections for non-API workers because connections are really expensive (each maintains an in-memory copy of the OVN DBs). I have no experience w/ nor hardware for SRIOV stuff, but it should be easy for someone who does to be able to add service.RpcWorker (I think) to https://review.opendev.org/c/openstack/neutron/+/765874/11/neutron/plugins/ml2/drivers/ovn/mech_driver/mech_driver.py#62 to see if it resolves the issue. If it does, I'd love to be able to find a way to conditionally add the connections only if they are needed--but if it involves multiple ml2 drivers or something, that might be hard.