yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #54068
[Bug 1451669] Re: [network] Neutron advance services should support service_plugins and service_provider auto configuration
I think the general take of Neutron team is that we don't pick and
choose preferred drivers to enable. We don't do it for core_plugin or
ml2 drivers, we should not do it for advanced services either.
Deployment tools are free to make a choice.
** Changed in: neutron
Status: In Progress => Opinion
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1451669
Title:
[network] Neutron advance services should support service_plugins and
service_provider auto configuration
Status in neutron:
Opinion
Bug description:
When we enable Neutron advance services(LBaaS, VPNaaS, FWaaS)
we need to change enablement section to be true or 'True'. And beside this, we also need to configure the service_provider and service_plugin, or there will be problems when missing the service_provider and service_plugin.
When we hard code to configure the service_provider and service_plugin
for advance services in attribute, there will be problems too.
Neutron advance services should auto configuration the
service_provider and service_plugin, when the enablement section is
true or 'True'
example:
=================================================================
when enbale LBaaS, we need change below in our environment(VPNaaS, FWaaS is the same):
1, we should configure this: override enabled to True
"lbaas": {
"enabled": "True",
},
2, Then add "neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin" in service_plugins
"service_plugins": [
"neutron.services.l3_router.l3_router_plugin.L3RouterPlugin",
"neutron_vpnaas.services.vpn.plugin.VPNDriverPlugin"
],
3, Last add the service provider
"service_provider": [ "LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default"
],
disadvantage: customers should always remember to configuration the
service_plugins and service_provider when enabling advance services,
and remove the configuration when disabling the service. Or there will
be errors in Neutron.
To resolve the inconvenience, we take these changes:
1, add default values of the plugin and provider in attribute, then we can override them when it need to change.
2, change the code of cookbook-openstack-network/recipe/default and cookbook-openstack-network/templates/default/neutron.conf.erb to override the service_plugins and service_provider automatically.
with above change, users will not have to configure the
service_provider and service_plugins when he want to enable advance
services, just change the enabled section. our code will handle the
override for users
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1451669/+subscriptions