Missing ip rule causes FIP removal to fail
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
Medium
|
Brian Haley |
Bug Description
Summary
-------
If the ip rule associated with a FIP is somehow lost or deleted, when Neutron L3 agent goes to remove the rule it will error and cause the entire FIP removal process to fail.
High level description
-------
Rather than erroring if an ip rule that should exist is no longer present, https:/
Pre-conditions
--------------
- Neutron DVR mode is enabled
- Subnets are created and attached to a router with an external gateway
- A VM is created on the aforementioned subnet and a FIP is associated with it
Step-by-step reproduction steps
-------
- Within the qrouter network namespace, run 'ip rule del $FIXED_IP lookup 16'
- Disassociate the FIP from the VM and monitor Neutron L3 agent logs for errors
Expected output
---------------
Neutron L3 agent logs that the ip rule didn't exist and then continues as normal.
Actual output
-------------
Neutron L3 agent throws an "pyroute2.
Version
-------
- OpenStack Zed
Changed in neutron: | |
importance: | Undecided → Medium |
assignee: | nobody → Brian Haley (brian-haley) |
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/890827
Review: https:/