Comment 2 for bug 1958149

Revision history for this message
Maximilian Stinsky (mstinsky) wrote :

A couple of more observations regarding the accept_ra sysctl value.
In our environment we set accept_ra to 0 on the root namespace and on a new router creating the master router is not getting set to accept_ra=1 with my patch. My assumption is that in the moment the function is getting executed the router is still in standby state for neutron and after it gets into the master state its not getting set again.

A second thing is that the values seem to also not get updated on a router failover. The old master router stays on accept_ra=1 and the new master stays on accept_ra=0. I can again fix this state with a neutron-l3-agent restart with the patch applied.

It seems to me that the router state change function [1] does not trigger setting the accept_ra values again.

[1] https://github.com/openstack/neutron/blob/59959ce88d9d8010793e6e5c8ddedc26fc97b668/neutron/agent/l3/ha.py#L167