Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

Install/Enable Quantum lbass (load balancer) feature?

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


dj_dark_junglist at yahoo

Aug 8, 2013, 2:14 AM

Post #1 of 10 (68 views)
Permalink
Install/Enable Quantum lbass (load balancer) feature?

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


enikanorov at mirantis

Aug 8, 2013, 3:04 AM

Post #2 of 10 (66 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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. <dj_dark_junglist [at] yahoo> 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 : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


dj_dark_junglist at yahoo

Aug 8, 2013, 10:41 PM

Post #3 of 10 (54 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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 <enikanorov [at] mirantis>
To: Jake G. <dj_dark_junglist [at] yahoo>
Cc: "openstack [at] lists" <openstack [at] lists>
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. <dj_dark_junglist [at] yahoo> 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     : openstack [at] lists
>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>


enikanorov at mirantis

Aug 8, 2013, 11:08 PM

Post #4 of 10 (54 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

Do you have haproxy package installed on your host?


On Fri, Aug 9, 2013 at 9:41 AM, Jake G. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
>


dj_dark_junglist at yahoo

Aug 9, 2013, 1:30 AM

Post #5 of 10 (51 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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 <enikanorov [at] mirantis>
To: Jake G. <dj_dark_junglist [at] yahoo>
Cc: "openstack [at] lists" <openstack [at] lists>
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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>To: Jake G. <dj_dark_junglist [at] yahoo>
>Cc: "openstack [at] lists" <openstack [at] lists>
>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. <dj_dark_junglist [at] yahoo> 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     : openstack [at] lists
>>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
>
>


enikanorov at mirantis

Aug 9, 2013, 1:33 AM

Post #6 of 10 (51 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
>
>
>
>


dj_dark_junglist at yahoo

Aug 9, 2013, 1:39 AM

Post #7 of 10 (51 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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 <enikanorov [at] mirantis>
To: Jake G. <dj_dark_junglist [at] yahoo>
Cc: "openstack [at] lists" <openstack [at] lists>
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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>To: Jake G. <dj_dark_junglist [at] yahoo>
>Cc: "openstack [at] lists" <openstack [at] lists>
>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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>>To: Jake G. <dj_dark_junglist [at] yahoo>
>>Cc: "openstack [at] lists" <openstack [at] lists>
>>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. <dj_dark_junglist [at] yahoo> 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     : openstack [at] lists
>>>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>
>>
>>
>
>
>


enikanorov at mirantis

Aug 9, 2013, 3:50 AM

Post #8 of 10 (47 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 <enikanorov [at] mirantis>
> *To:* Jake G. <dj_dark_junglist [at] yahoo>
> *Cc:* "openstack [at] lists" <openstack [at] lists>
> *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. <dj_dark_junglist [at] yahoo>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 : openstack [at] lists
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
>
>
>
>
>
>
>
>
>


Dj_dark_junglist at yahoo

Aug 9, 2013, 3:57 AM

Post #9 of 10 (47 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

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 <enikanorov [at] mirantis> 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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>> To: Jake G. <dj_dark_junglist [at] yahoo>
>> Cc: "openstack [at] lists" <openstack [at] lists>
>> 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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>> To: Jake G. <dj_dark_junglist [at] yahoo>
>> Cc: "openstack [at] lists" <openstack [at] lists>
>> 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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>> To: Jake G. <dj_dark_junglist [at] yahoo>
>> Cc: "openstack [at] lists" <openstack [at] lists>
>> 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. <dj_dark_junglist [at] yahoo> 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 : openstack [at] lists
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>


dj_dark_junglist at yahoo

Aug 12, 2013, 2:16 AM

Post #10 of 10 (22 views)
Permalink
Re: Install/Enable Quantum lbass (load balancer) feature? [In reply to]

Ok i started from scratch and now everything is working just fine. Thank you for all your help. 
In the end I believe it was because I did not have haproxy installed. 




________________________________
From: Eugene Nikanorov <enikanorov [at] mirantis>
To: Jake G. <dj_dark_junglist [at] yahoo>
Cc: "openstack [at] lists" <openstack [at] lists>
Sent: Friday, August 9, 2013 7:50 PM
Subject: Re: [Openstack] Install/Enable Quantum lbass (load balancer) feature?



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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>To: Jake G. <dj_dark_junglist [at] yahoo>
>Cc: "openstack [at] lists" <openstack [at] lists>
>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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>>To: Jake G. <dj_dark_junglist [at] yahoo>
>>Cc: "openstack [at] lists" <openstack [at] lists>
>>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. <dj_dark_junglist [at] yahoo> 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 <enikanorov [at] mirantis>
>>>To: Jake G. <dj_dark_junglist [at] yahoo>
>>>Cc: "openstack [at] lists" <openstack [at] lists>
>>>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. <dj_dark_junglist [at] yahoo> 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     : openstack [at] lists
>>>>Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>>
>
>
>

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.