ml2/ovn should not be calling neutron.api.rpc.agentnotifiers.dhcp_rpc_agent_api
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
New
|
Medium
|
Unassigned |
Bug Description
While using a ml2/ovn deployment, there is no need for using RPC based DHCP, since that is
handled via ovn-controller. Still, we currently enable DhcpAgentNotifyAPI unconditionally [0],
which seems wrong.
One side effect of that is that we periodically see the following warning log. Good news is that
this does not seem to be breaking anything.
2021-03-25 20:23:59.155 28 WARNING neutron.
2021-03-25 20:23:59.158 28 WARNING neutron.
According to Rodolfo, we must be careful in adding a conditional to that code, so it does not adversely affect nova.
He also points out that there is a flag that may be what we can use for this.
"""
<ralonsoh> so, IMO, we should make this conditional
<ralonsoh> (or maybe that's more complicated, we need to know that no compute is running a DHCP agent)
<ralonsoh> but be careful: we cannot disable this if we don't know any compute is not using dhcp agents
<ralonsoh> there is a flag (in master) cfg.CONF.
<ralonsoh> used to enable/disable this RPC
<ralonsoh> related to the DHCP server on OVS (a new feature not merged yet)
<ralonsoh> we can implement something similar
"""