There are lbaas packages in Ubuntu 16.04 so you don't need to pipinstall
anything.
I tried to install lbaasv2 but horizon does not manage it so I finally
installed lbaasv1.
I use OpenVSwitch. Look for "lbaas" in this file:
https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/tasks/main.yml
[4]
This is the agent config:
https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/templates/neutron_lbaas.conf.j2
[5]
On 2016-07-02 00:24, zhihao wang wrote:
> Dear OpenStack Dev member:
>
> May I ask you some question about neutron lbaaS?
>
> How to install the neutron LBaaS with Octavia in Mitaka?
> I followed these two guide ,but which one I should use? (My openstack is
> Mitaka , 1 controller, 2 compute nodes)
>
> https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun [1] -- Ubuntu Packages
> Setup
> http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html [2]
> -- Configuring LBaaS v2 with Octavia
>
> Here is what I did:
>
> pip install octavia
>
> and then :
> vim /etc/neutron/neutron.conf
>
> service_plugins =
> router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2
>
> [service_providers]
> service_provider =
> LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default
>
>
> /etc/openstack-dashboard/local_settings.py
>
> OPENSTACK_NEUTRON_NETWORK = {
> 'enable_lb': True
> }
>
> And then I restart all the neutron service and apache server
>
> service neutron-server restart
> service neutron-dhcp-agent restart
> service neutron-metadata-agent restart
> service neutron-l3-agent restart
> but and then i ran the command neutron agent-list, it return this. I am
> wondering what is wrong with this? how can I install Neutron LaaS?
>
> root@controller:~# neutron agent-list
> Unable to establish connection to http://controller:9696/v2.0/agents.json
>
> Please help
>
> Thanks so much
>
> Thanks
> Wally
>
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [3]
> Post to : openstack@lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> [3]
Links:
------
[1] https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun
[2]
http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html
[3] http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
[4]
https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/tasks/main.yml
[5]
https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/templates/neutron_lbaas.conf.j2
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack