Any case it does not solve the problem on provider networks on stein and rocky.
To reproduce the issue I tried with an instance that does not generate traffic (I also disabled its chronyd daemon). After live migration it stops to respond.
If I enable the vm chronyd with a polling time of 2 seconds, it responds after live migration because it sends packets every 2 seconds.
The neutron agent rpc.py on compute nodes contains the code you suggested so it does not need to be patched, right ?
I patched the nova/network/ neutronv2/ api.py as you suggested and the nova/conf/ workarounds. py as suggested by Sean here:
https:/ /review. opendev. org/#/c/ 724386/
I restarded all nova and neutron services.
Any case it does not solve the problem on provider networks on stein and rocky.
To reproduce the issue I tried with an instance that does not generate traffic (I also disabled its chronyd daemon). After live migration it stops to respond.
If I enable the vm chronyd with a polling time of 2 seconds, it responds after live migration because it sends packets every 2 seconds.