lbaas configuration: vip - connection refused
Hi ,
I'm testing the lbaas in Havana . have the following settings :
subnet 30.30.30.0/24 web1 - 30.30.30.10 web2 - 30.30.30.12 vip - 30.30.30.254
pool lb with web 1 and 2 as members. ping to vip works but wget to vip gives - connection refused error like:
ip netns exec qrouter-46e8dc37-46df-4a2f-bcd5-f71da5ab0e5e wget -O - http://30.30.30.254 --2014-04-22 12:12:57-- http://30.30.30.254/ Connecting to 30.30.30.254:80... failed: Connection refused.
/usr/share/neutron/neutron-dist.conf: service_provider = LOADBALANCER:Haproxy:neutron.services.loadbalancer.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
/etc/neutron/neutron.conf service_plugins = neutron.services.loadbalancer.plugin.LoadBalancerPlugin
/etc/neutron/lbaas_agent.ini: interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver device_driver = neutron.services.loadbalancer.drivers.haproxy.namespace_driver.HaproxyNSDriver
What can be a problem ?
/Vlad
launched 2 VMs with a simple web running , created new pool , added
If you wget the two web server directly do you reach the web pages?
Do you have any ERROR in your neutron log files? (if so pastebin them)
Thanks ,
I think I found what caused the problem .We are using the RH openstack edition .I inspected the /var/log/neutron/lbaas-agent.log and noticed a lot of errors like:
parsing [/var/lib/neutron/lbaas/21ec4386-4dad-4479-9de7-56c50dc83c94/conf:4] : cannot find group id for 'nogroup' (0:Success)\n[ALERT] 111/133154 (25963) : Error(s) found in configuration file : /var/lib/neutron/lbaas/21ec4386-4dad-4479-9de7-56c50dc83c94/conf\n[ALERT] 111/133154 (25963) : Fatal errors found in configuration.\n"
And it turned out that nogroup was not exist .So , I added it manually , enabled it in lbaas_agent.ini ( user_group = nogroup ) and restarted relevant services .Now VIP has port 80 opened .
Will contact RH on possible bug .
/Vlad