Bug 1221021
| Summary: | [RFE][packstack]: support installation of LBaaS v2 | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Roey Dekel <rdekel> |
| Component: | openstack-puppet-modules | Assignee: | Martin Magr <mmagr> |
| Status: | CLOSED WONTFIX | QA Contact: | Alexander Stafeyev <astafeye> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 7.0 (Kilo) | CC: | aberezin, aortega, aschultz, gchamoul, jguiditt, jschluet, kbasil, lpeer, mburns, mmagr, nyechiel, oblaut, sclewis, srevivo, tfreger |
| Target Milestone: | z5 | Keywords: | FutureFeature, ZStream |
| Target Release: | 7.0 (Kilo) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: |
lbaas v2 activiation
1. The following command will update neutron mariaDB with lbaas tables.
neutron-db-manage --service lbaas --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head
3. go to
vim /etc/neutron/neutron_lbaas.conf
in "service providers" section, commentout (#) all except service_provider=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default
4. go to
vim /etc/neutron/neutron.conf
make sure that in the "service_plugins" section you see "neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2" (not only this, it is possible that you will see other plugins you enabled in answerfile)
5. go to lbaas_agent file (can be in /etc/neutron or /etc/neutron/services/loadbalancer/haproxy/)
add in [DEFAULT] block
ovs_use_veth = False
add in [haproxy] block
user_group = haproxy
commentout any "device friver" that is not commented out.
If the l3-agent is in failed mode pls see l3_agent logs- you wil probably need to go to /etc/neutron/neutron.conf and comment-out several values in [DEFAULT] block and uncomment-out same values in "oslo_messaging_rabbit" block and other block - you will see it in the log.
create "/usr/lib/systemd/system/neutron-lbaasv2-agent.service" file (copy "/usr/lib/systemd/system/neutron-lbaas-agent.service" file to "/usr/lib/systemd/system/neutron-lbaasv2-agent.service" file )
edit:
Description=OpenStack Neutron Load Balancing V2 as a Service Agent
ExecStart=/usr/bin/neutron-lbaasv2-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/neutron_lbaas.conf --config-file=/etc/neutron/lbaas_agent.ini --log-file /var/log/neutron/lbaasv2-agent.log
but with the same flags
systemctl stop neutron-lbaas-agent.service
systemctl start neutron-lbaasv2-agent.service
|
|
| Last Closed: | 2017-01-30 13:02:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Roey Dekel
2015-05-13 07:06:18 UTC
ADDITIONALLY I think the lbaas tables (which refer to lbaasv2) should be named "lbaasv2" lbaas v2 activiation 1. The following command will update neutron mariaDB with lbaas tables. neutron-db-manage --service lbaas --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini upgrade head 3. go to vim /etc/neutron/neutron_lbaas.conf in "service providers" section, commentout (#) all except service_provider=LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_driver.HaproxyOnHostPluginDriver:default 4. go to vim /etc/neutron/neutron.conf make sure that in the "service_plugins" section you see "neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2" (not only this, it is possible that you will see other plugins you enabled in answerfile) 5. go to lbaas_agent file (can be in /etc/neutron or /etc/neutron/services/loadbalancer/haproxy/) add in [DEFAULT] block ovs_use_veth = False add in [haproxy] block user_group = haproxy commentout any "device friver" that is not commented out. If the l3-agent is in failed mode pls see l3_agent logs- you wil probably need to go to /etc/neutron/neutron.conf and comment-out several values in [DEFAULT] block and uncomment-out same values in "oslo_messaging_rabbit" block and other block - you will see it in the log. create "/usr/lib/systemd/system/neutron-lbaasv2-agent.service" file (copy "/usr/lib/systemd/system/neutron-lbaas-agent.service" file to "/usr/lib/systemd/system/neutron-lbaasv2-agent.service" file ) edit: Description=OpenStack Neutron Load Balancing V2 as a Service Agent ExecStart=/usr/bin/neutron-lbaasv2-agent --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/neutron_lbaas.conf --config-file=/etc/neutron/lbaas_agent.ini --log-file /var/log/neutron/lbaasv2-agent.log but with the same flags systemctl stop neutron-lbaas-agent.service systemctl start neutron-lbaasv2-agent.service Can just say this will not be backported to kilo? Seems kind of late to be adding more features. My vote would be to say closed current release after retargetting this BZ to liberty, and then add needed configuration in installers if desired. |