API extensions not supported by e.g. OVN driver may still be on the list returned from neutron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Slawek Kaplonski |
Bug Description
Some time ago we introduced possibility for mechanism drivers to explicitly filter and filter API extensions which they don't supports so such extensions aren't really listed in the API.
But the problem is that when there are more than one mech drivers enabled, first of them will filter some extensions, but other don't filters anything, not supported extensions may appears on the list.
To reproduce the issue let's enable ovn and logging mech_drivers:
mechanism_drivers = ovn,logger
And then check e.g. dhcp_agent_
The problem is that _filter_
Maybe better approach would be to have on the list only extensions which are supported by all enabled mech_drivers?
Fix proposed to branch: master /review. opendev. org/c/openstack /neutron/ +/793141
Review: https:/