Error during LBAAS installation (Load Balancer)
Hi everybody. I have a problem with the lbaas installation. I have installed Openstack (Mitaka RDO packstack) in three nodes (Controller, network and compute) on Proxmox/KVM-hypervisor. Each node is a VM with CentOs 7. Opensatck works fine, but i need the Load balancer for more later create a a auto-scaling group with AWS EC2.
First of all, i tried install LBAAS during the initial RDO installation with the answer.txt file (CONFIG_LBAAS_INSTALL=y), but when Puppet install Neutron, the installation fails. If i put CONFIG_LBAAS_INSTALL=nin the same answer.txt file, the Openstack installation is ok. So i am trying install LBAAS following this steps: http://linuxpitstop.com/install-and-c...
First, i install haproxy and opensatck_lbaas:
yum install haproxy openstack-neutron-lbaas
Now, in the Controller node, i added this line in the "/etc/neutron/neutron_lbaas.conf" file:
service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
And i add following parameter in /etc/neutron/neutron.conf file:
service_plugins = lbaas
Finally i restart neutron service by using the following command:
systemctl restart neutron-server.service
But I get the following error:
[root@controller ~]# systemctl restart neutron-server.service
Job for neutron-server.service failed because the control process exited with error code. See "systemctl status neutron-server.service" and "journalctl -xe" for details.
[root@controller ~]# systemctl status neutron-server.service
? neutron-server.service - OpenStack Neutron Server
Loaded: loaded (/usr/lib/systemd/system/neutron-server.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since lun 2016-09-05 12:28:31 CEST; 16s ago
Process: 3873 ExecStart=/usr/bin/neutron-server --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/server --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-server --log-file /var/log/neutron/server.log (code=exited, status=1/FAILURE)
Main PID: 3873 (code=exited, status=1/FAILURE)
sep 05 12:28:29 controller systemd[1]: Starting OpenStack Neutron Server...
sep 05 12:28:29 controller neutron-server[3873]: Guru mediation now registers SIGUSR1 and SIGUSR2 by default for backward compatibility. SIGUSR1 will no longer ...e reports.
sep 05 12:28:30 controller neutron-server[3873]: Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
sep 05 12:28:30 controller neutron-server[3873]: Option "notification_driver" from group "DEFAULT" is deprecated. Use option "driver" from group "oslo_messaging...ications".
sep 05 12:28:31 controller systemd[1]: neutron-server.service: main process exited, code=exited, status=1/FAILURE
sep 05 12:28:31 controller systemd[1]: Failed to start OpenStack Neutron Server.
sep 05 12:28:31 controller systemd[1]: Unit neutron-server.service entered failed state.
sep 05 12:28:31 controller systemd[1]: neutron-server.service failed.
Hint: Some lines were ellipsized, use -l to show in full.
[root@controller ~]#
And seeing the neutron log, when the lbaa's plugin load, appear the error:
2016-09-05 12:28:31.444 3873 ERROR neutron.services.service_base [-] Error loading provider 'neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver' for service LOADBALANCER
The log file ...
enable debug in both neutron and the lbaas.conf
I have run a packstack with mitaka and was successful in installing lbass