After I reboot my host my dashboard won't load anymore so after I revert my settings from backup I'll give that a try.
Thank you! Have a great weekend On 2013/08/09, at 19:50, Eugene Nikanorov <[email protected]> wrote: > use_namespaces has no effect, lbaas agent in grizzly always relies on > namespace support. > > Could you execute the failing command manually? > That needs to be done after you create a vip for the pool. > The command should look like this: > sudo quantum-rootwrap /etc/quantum/rootwrap.conf ip netns exec > qlbaas-e10951cd-4cca-4ba4-acc0-0ccde6817029 haproxy -f /var > /lib/quantum/lbaas/e10951cd-4cca-4ba4-acc0-0ccde6817029/conf -p > /var/lib/quantum/lbaas/e10951cd-4cca-4ba4-acc0-0ccde6817029/pid > > <e10951cd-4cca-4ba4-acc0-0ccde6817029> should be replaced with actual pool_id > Could you also verify that path and file > /lib/quantum/lbaas/e10951cd-4cca-4ba4-acc0-0ccde6817029/conf exist? > > Thanks, > Eugene. > > > On Fri, Aug 9, 2013 at 12:39 PM, Jake G. <[email protected]> wrote: >> Yes this is my Kernel> 2.6.32-358.114.1.openstack.el6.x86_64 >> and I enable: >> >> use_namespaces = True >> ovs_use_veth = True >> >> in /etc/quantum/dhcp_agent.ini and etc/quantum/l3_agent.ini >> >> >> >> From: Eugene Nikanorov <[email protected]> >> To: Jake G. <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Sent: Friday, August 9, 2013 5:33 PM >> >> Subject: Re: [Openstack] Install/Enable Quantum lbass (load balancer) >> feature? >> >> Jake, haproxy.cfg is created by lbaas agent when you deploy an instance. >> Are you sure your host os has namespace support? >> >> Eugene. >> >> >> On Fri, Aug 9, 2013 at 12:30 PM, Jake G. <[email protected]> wrote: >> Good call! >> Looks like i did but the service wont start. Do you have a sample >> haproxy.cfg file that will work with Openstack? >> >> Thank you >> >> From: Eugene Nikanorov <[email protected]> >> To: Jake G. <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Sent: Friday, August 9, 2013 3:08 PM >> >> Subject: Re: [Openstack] Install/Enable Quantum lbass (load balancer) >> feature? >> >> Do you have haproxy package installed on your host? >> >> >> On Fri, Aug 9, 2013 at 9:41 AM, Jake G. <[email protected]> wrote: >> I have enabled LBaas on my openstack, but after adding a pool, vip, members, >> and monitor successfully I am still unable to get load balancing working. >> I found this blog to help me so far >> http://kimizhang.wordpress.com/2013/08/08/openstack-grizzly-quantum-advanced-features-2/ >> >> When I run # ps -ef | grep haproxy I dont get much: >> root 27508 2718 0 14:16 pts/1 00:00:00 grep haproxy >> >> My logs show an issue with haproxy: >> >> RuntimeError: >> Command: ['sudo', 'quantum-rootwrap', '/etc/quantum/rootwrap.conf', 'ip', >> 'netns', 'exec', 'qlbaas-e10951cd-4cca-4ba4-acc0-0ccde6817029', 'haproxy', >> '-f', '/var >> /lib/quantum/lbaas/e10951cd-4cca-4ba4-acc0-0ccde6817029/conf', '-p', >> '/var/lib/quantum/lbaas/e10951cd-4cca-4ba4-acc0-0ccde6817029/pid'] >> Exit code: 255 >> Stdout: '' >> Stderr: 'exec of haproxy failed: No such file or directory\n' >> 2013-08-09 14:16:17 ERROR >> [quantum.plugins.services.agent_loadbalancer.agent.manager] Unable to >> refresh device for pool: e10951cd-4cca-4ba4-acc0-0ccde6817029 >> Traceback (most recent call last): >> File >> "/usr/lib/python2.6/site-packages/quantum/plugins/services/agent_loadbalancer/agent/manager.py", >> line 189, in refresh_device >> self.driver.create(logical_config) >> File >> "/usr/lib/python2.6/site-packages/quantum/plugins/services/agent_loadbalancer/drivers/haproxy/namespace_driver.py", >> line 48, in create >> self._spawn(logical_config) >> File >> "/usr/lib/python2.6/site-packages/quantum/plugins/services/agent_loadbalancer/drivers/haproxy/namespace_driver.py", >> line 70, in _spawn >> ns.netns.execute(cmd) >> File "/usr/lib/python2.6/site-packages/quantum/agent/linux/ip_lib.py", >> line 414, in execute >> check_exit_code=check_exit_code) >> File "/usr/lib/python2.6/site-packages/quantum/agent/linux/utils.py", line >> 61, in execute >> raise RuntimeError(m) >> >> Any ideas? >> >> From: Eugene Nikanorov <[email protected]> >> To: Jake G. <[email protected]> >> Cc: "[email protected]" <[email protected]> >> Sent: Thursday, August 8, 2013 7:04 PM >> Subject: Re: [Openstack] Install/Enable Quantum lbass (load balancer) >> feature? >> >> Hi Jake, >> >> Regarding lbaas in grizzly working on RHEL/Centos - it may be problematic as >> host operation system must support network namespaces. >> If you do have support for network namespaces then you need to do the >> following steps to setup lbaas service in quantum: >> >> 1) specify lbaas plugin in quantum.conf: >> service_plugins= lbaas_plugin_classpath. >> check quantum/plugins/services/agent_loadbalancer/plugin.py for correct path >> as currently the name and path has changed. >> >> 2) to enable lbaas service in horizon you need to do the following: >> add the following piece of code to >> horizon/openstack_dashboard/local/local_settings.py : >> >> OPENSTACK_QUANTUM_NETWORK = { >> 'enable_lb': False >> } >> >> 3) start quantum-lbaas-agent on the host providing quantum.conf and >> lbaas-agent.ini. lbaas-agent.ini should reflect core plugin configuration >> (should have proper interface driver) >> >> Note that if host os has no namespace support, all of above will work (e.g. >> REST API will be functional), but you would not be able to deploy >> loadbalancer as lbaas agent can only work with namespaces. >> >> Thanks, >> Eugene. >> >> >> On Thu, Aug 8, 2013 at 1:14 PM, Jake G. <[email protected]> wrote: >> Hi all! >> How can we install/enable the Quantum-lbaas (load balancer) feature for >> Openstack Grizzly? I dont see any docs for RHEL/CentOS specific installs. >> I used RDO to deploy Openstack on a single node. >> >> Thank you! Jake >> >> _______________________________________________ >> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >> Post to : [email protected] >> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : [email protected] Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
