Monday, 23 June 2014

Steps to configure Neutron LBaaS Agent for OpenStack Icehouse

[Steps summarised from]


Run steps from link to setup OpenStack.
All Configuration details can be found there.

Install the Neutron LBaaS Agent and HAProxy

# yum -y install haproxy neutron-lbaas-agent

For LBaaS to be configured properly, various configuration files must have the following changes.

# vi /usr/share/neutron/neutron-dist.conf:

service_provider =

# vi /etc/neutron/neutron.conf

service_plugins =

# vi /etc/neutron/lbaas_agent.ini

device_driver =

interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver

user_group = nobody

# vi /etc/openstack-dashboard/local_settings 


Comment service_provider from the file /usr/share/neutron/neutron-dist.conf to avoid the following error in server.log:
TRACE neutron.service Invalid: Driver is not unique across providers

If the above configuration files were changed manually, restart the neutron-server service and neutron-lbaas-agent service.
Also, restart the httpd service.

# service httpd restart
# service neutron-server restart
# service neutron-lbaas-agent start
# chkconfig --level 345 neutron-lbaas-agent on