Yes, I think it is some race. From [1], there are 2 possible case:
1) The agent is about to bind dvr port, but the subnet is deleted concurrently. 2) The agent is about to bind dvr port, but the gateway port is deleted concurrently.
[1] https://github.com/openstack/neutron/blob/d56b5a6718a678b7e7fe9c4c42cb8036b7228937/neutron/db/dvr_mac_db.py#L160-L188
Yes, I think it is some race. From [1], there are 2 possible case:
1) The agent is about to bind dvr port, but the subnet is deleted concurrently.
2) The agent is about to bind dvr port, but the gateway port is deleted concurrently.
[1] https:/ /github. com/openstack/ neutron/ blob/d56b5a6718 a678b7e7fe9c4c4 2cb8036b7228937 /neutron/ db/dvr_ mac_db. py#L160- L188