[Bug 1460228] Re: neutron-lbaas-agent package does not provide neutron_lbaas.conf file
Launchpad Bug Tracker
1460228 at bugs.launchpad.net
Fri Jul 24 11:42:07 UTC 2015
** Branch linked: lp:ubuntu/wily-proposed/neutron-lbaas
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to neutron-lbaas in Ubuntu.
https://bugs.launchpad.net/bugs/1460228
Title:
neutron-lbaas-agent package does not provide neutron_lbaas.conf file
Status in neutron-lbaas package in Ubuntu:
In Progress
Status in neutron-lbaas source package in Vivid:
Triaged
Status in neutron-lbaas source package in Wily:
In Progress
Bug description:
Description of the problem:
The neutron release notes for OpenStack Kilo
(https://wiki.openstack.org/wiki/ReleaseNotes/Kilo) indicate that
individual neutron plugin packages are supposed to provide their own
/etc/neutron/neutron_*.conf files, and each will specify their own
service_provider options. The neutron-vpn-agent package provides
/etc/neutron/neutron_vpnaas.conf, as expected. The neutron-lbaas-agent
package does not provide /etc/neutron/neutron_lbaas.conf or anything
similar.
Impact:
Attempting to use the lbaas plugin by specifying lbaas as one of the
DEFAULT/service_plugins values results in neutron-server being unable
to start correctly, with the following error in the log:
ERROR neutron.services.service_base [-] No providers specified for
'LOADBALANCER' service, exiting
The workaround is to add /etc/neutron/neutron_lbaas.conf with the
content
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
An alternative workaround is to add this section to
/etc/neutron/neutron.conf, but then this also requires moving the
analogous parameter from /etc/neutron/neutron_vpnaas.conf into
/etc/neutron/neutron.conf, or neutron fails with a different error
about the VPN service.
Expected behavior:
/etc/neutron/neutron_lbaas.conf exists, contains default content:
[service_providers]
service_provider=LOADBALANCER:Haproxy:neutron_lbaas.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
Actual behavior:
/etc/neutron/neutron_lbaas.conf does not exist, and neutron-server
won't start if lbaas is specified as a service_plugin.
Steps to reproduce:
1) Install neutron-server
2) Install neutron-lbaas-agent
3) Add 'lbaas' as one of the values for the parameter DEFAULT/service_plugins in /etc/neutron/neutron.conf
4) Restart neutron-server
System information:
# lsb_release -rd
Description: Ubuntu 14.04.2 LTS
Release: 14.04
# apt-cache policy neutron-lbaas-agent
neutron-lbaas-agent:
Installed: 1:2015.1.0-0ubuntu1~cloud0
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/neutron-lbaas/+bug/1460228/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list