yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #62236
[Bug 1672211] Re: Lbaasv2 - Could not load neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin
** Project changed: neutron => octavia
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1672211
Title:
Lbaasv2 - Could not load
neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPlugin
Status in octavia:
New
Bug description:
Hi,
i'm trying to install lbaas for my openstack. Im on ubuntu16.04 Openstack Newton with 3 node OVS deploy.
Following this guide for lbaas https://docs.openstack.org/ocata/networking-guide/config-lbaas.html
controller node
aptitude search neutron-lbaas
p neutron-lbaas-agent - Neutron is a virtual network service for Openstack - LBaaS agent
i A neutron-lbaas-common - Neutron is a virtual network service for Openstack - common
i neutron-lbaasv2-agent - Neutron is a virtual network service for Openstack - LBaaSv2 agent
i A python-neutron-lbaas - Loadbalancer-as-a-Service driver for OpenStack Neutron
so neutron-lbaas-common neutron-lbaasv2-agent python-neutron-lbaas are
installed.
/etc/neutron/neutron.conf
[DEFAULT]
debug= true
core_plugin = ml2
service_plugins = router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
allow_overlapping_ips = True
dhcp_agents_per_network = 1
transport_url = rabbit://openstack:mjvnzq8@controller
auth_strategy = keystone
notify_nova_on_port_status_changes = True
notify_nova_on_port_data_changes = True
core_plugin = ml2
[agent]
root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf
[cors]
[cors.subdomain]
[database]
connection = mysql+pymysql://neutron:mjvnzq8@controller/neutron
[keystone_authtoken]
auth_uri = http://controller:5000
auth_url = http://controller:35357
memcached_servers = controller:11211
auth_type = password
project_domain_name = default
user_domain_name = default
project_name = service
username = neutron
password = *****
[matchmaker_redis]
[nova]
auth_url = http://controller:35357
auth_type = password
project_domain_name = default
user_domain_name = default
region_name = RegionOne
project_name = service
username = nova
password = *****
[oslo_concurrency]
[oslo_messaging_amqp]
[oslo_messaging_notifications]
[oslo_messaging_rabbit]
[oslo_messaging_zmq]
[oslo_policy]
[qos]
[quotas]
[ssl]
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
/etc/neutron/neutron_lbaas.conf
[service_providers]
service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
So that is the server side, after i restart it wont work anymore because it cant load the lbaas driver
/var/log/neutron/neutron-server.log
2017-03-12 20:55:16.464 769 INFO neutron.common.config [-] Logging enabled!
2017-03-12 20:55:16.464 769 INFO neutron.common.config [-] /usr/bin/neutron-server version 9.0.0
2017-03-12 20:55:16.464 769 INFO neutron.common.config [-] Logging enabled!
2017-03-12 20:55:16.465 769 INFO neutron.common.config [-] /usr/bin/neutron-server version 9.0.0
2017-03-12 20:55:16.473 769 INFO neutron.manager [-] Loading core plugin: ml2
2017-03-12 20:55:16.669 769 INFO neutron.plugins.ml2.managers [-] Configured type driver names: ['flat', 'vlan', 'vxlan']
2017-03-12 20:55:16.678 769 INFO neutron.plugins.ml2.drivers.type_flat [-] Allowable flat physical_network names: ['provider']
2017-03-12 20:55:16.681 769 INFO neutron.plugins.ml2.drivers.type_vlan [-] Network VLAN ranges: {'provider': []}
2017-03-12 20:55:16.684 769 INFO neutron.plugins.ml2.managers [-] Loaded type driver names: ['flat', 'vlan', 'vxlan']
2017-03-12 20:55:16.684 769 INFO neutron.plugins.ml2.managers [-] Registered types: ['flat', 'vlan', 'vxlan']
2017-03-12 20:55:16.685 769 INFO neutron.plugins.ml2.managers [-] Tenant network_types: ['vxlan']
2017-03-12 20:55:16.685 769 INFO neutron.plugins.ml2.managers [-] Configured extension driver names: ['port_security']
2017-03-12 20:55:16.689 769 INFO neutron.plugins.ml2.managers [-] Loaded extension driver names: ['port_security']
2017-03-12 20:55:16.690 769 INFO neutron.plugins.ml2.managers [-] Registered extension drivers: ['port_security']
2017-03-12 20:55:16.690 769 INFO neutron.plugins.ml2.managers [-] Configured mechanism driver names: ['openvswitch', 'l2population']
2017-03-12 20:55:16.692 769 WARNING neutron.agent.securitygroups_rpc [-] Driver configuration doesn't match with enable_security_group
2017-03-12 20:55:16.693 769 INFO neutron.plugins.ml2.managers [-] Loaded mechanism driver names: ['openvswitch', 'l2population']
2017-03-12 20:55:16.693 769 INFO neutron.plugins.ml2.managers [-] Registered mechanism drivers: ['openvswitch', 'l2population']
2017-03-12 20:55:16.771 769 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'flat'
2017-03-12 20:55:16.771 769 INFO neutron.plugins.ml2.drivers.type_flat [-] ML2 FlatTypeDriver initialization complete
2017-03-12 20:55:16.772 769 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vlan'
2017-03-12 20:55:16.871 769 INFO neutron.plugins.ml2.drivers.type_vlan [-] VlanTypeDriver initialization complete
2017-03-12 20:55:16.871 769 INFO neutron.plugins.ml2.managers [-] Initializing driver for type 'vxlan'
2017-03-12 20:55:16.872 769 INFO neutron.plugins.ml2.drivers.type_tunnel [-] vxlan ID ranges: [(1, 1000)]
2017-03-12 20:55:16.979 769 INFO neutron.plugins.ml2.managers [-] Initializing extension driver 'port_security'
2017-03-12 20:55:16.980 769 INFO neutron.plugins.ml2.extensions.port_security [-] PortSecurityExtensionDriver initialization complete
2017-03-12 20:55:16.980 769 INFO neutron.plugins.ml2.managers [-] Initializing mechanism driver 'openvswitch'
2017-03-12 20:55:16.980 769 INFO neutron.plugins.ml2.managers [-] Initializing mechanism driver 'l2population'
2017-03-12 20:55:16.982 769 INFO neutron.plugins.ml2.plugin [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Modular L2 Plugin initialization complete
2017-03-12 20:55:16.982 769 INFO neutron.plugins.ml2.managers [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Got port-security extension from driver 'port_security'
2017-03-12 20:55:16.983 769 WARNING neutron.agent.securitygroups_rpc [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Driver configuration doesn't match with enable_security_group
2017-03-12 20:55:16.983 769 INFO neutron.extensions.vlantransparent [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Disabled vlantransparent extension.
2017-03-12 20:55:16.983 769 INFO neutron.manager [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Loading Plugin: router
2017-03-12 20:55:16.996 769 INFO neutron.db.l3_agentschedulers_db [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Skipping period L3 agent status check because automatic router rescheduling is disabled.
2017-03-12 20:55:16.997 769 WARNING stevedore.named [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Could not load neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver
2017-03-12 20:55:16.998 769 INFO neutron.services.service_base [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Default provider is not specified for service type L3_ROUTER_NAT
2017-03-12 20:55:16.999 769 INFO neutron.manager [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Loading Plugin: neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
2017-03-12 20:55:16.999 769 WARNING stevedore.named [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Could not load neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
2017-03-12 20:55:17.046 769 WARNING stevedore.named [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Could not load neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver
2017-03-12 20:55:17.057 769 WARNING neutron.services.provider_configuration [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] The configured driver neutron_lbaas.agent_scheduler.ChanceScheduler has been moved, automatically using neutron_lbaas.agent_scheduler.ChanceScheduler instead. Please update your config files, as this automatic fixup will be removed in a future release.
2017-03-12 20:55:17.625 769 ERROR neutron_lbaas.services.loadbalancer.plugin [req-9bf4746f-985f-4cef-9032-14ee4d135224 - - - - -] Delete associated load balancers before removing providers [u'octavia']
Without lbass everything runs normal.
Any1 have any idea?
To manage notifications about this bug go to:
https://bugs.launchpad.net/octavia/+bug/1672211/+subscriptions
References