neutron service-provider-list return duplicated entries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Released
|
Medium
|
Yang Youseok |
Bug Description
After I add service_provider to neutron.conf with multiple service_provider enabled plugins, 'neutron service-
Here is neutron.conf snippet which makes problem and output of the command.
[DEFAULT]
service_plugins = l3_router,
[service_providers]
service_provider = LOADBALANCERV2:
openstack network service provider list
+------
| Service Type | Name | Default |
+------
| LOADBALANCERV2 | octavia | True |
| L3_ROUTER_NAT | single_node | False |
| L3_ROUTER_NAT | ha | False |
| L3_ROUTER_NAT | dvrha | False |
| L3_ROUTER_NAT | dvr | False |
| LOADBALANCERV2 | netscaler | False |
| LOADBALANCERV2 | octavia | True |
| LOADBALANCERV2 | netscaler | False |
+------
As you can see there were duplicated LOADBALANCERV2 typed providers. After digging the related code, there is no filtering logic in ProviderConfigu
I think there should be filtering logic at ProviderConfigu
Changed in neutron: | |
importance: | Undecided → Medium |
Could this be a bug on the Octavia side in the way it sets up the service types? Command 'openstack network service provider list' is handled here: https:/ /github. com/openstack/ neutron/ blob/master/ neutron/ db/servicetype_ db.py#L55