<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt'>
<p>There are lbaas packages in Ubuntu 16.04 so you don't need to pipinstall anything.</p>
<p>I tried to install lbaasv2 but horizon does not manage it so I finally installed lbaasv1.</p>
<p>I use OpenVSwitch. Look for "lbaas" in this file: <a href="https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/tasks/main.yml">https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/tasks/main.yml</a></p>
<p>This is the agent config: <a href="https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/templates/neutron_lbaas.conf.j2">https://github.com/paradigmadigital/ansible-openstack-vcenter/blob/mitaka-lbaas/etc_ansible/roles/networking-compute-controller/templates/neutron_lbaas.conf.j2</a></p>
<div> </div>
<p> </p>
<p>On 2016-07-02 00:24, zhihao wang wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div dir="ltr">
<div>
<div dir="ltr">
<div>Dear OpenStack Dev member:</div>
<div> </div>
<div>May I ask you some question about neutron lbaaS? </div>
<div> </div>
<div>How to install the neutron LBaaS with Octavia in Mitaka?</div>
<div>I followed these two guide ,but which one I should use? (My openstack is Mitaka , 1 controller, 2 compute nodes)</div>
<div> </div>
<div><a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun">https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun</a>  --  <span style="color: #333333; font-family: 'PT Sans', sans-serif; font-size: 31.5px; line-height: 40px; background-color: #ffffff;">Ubuntu Packages Setup</span></div>
<div><a href="http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html">http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html</a>  -- <span style="color: #2a4e68; font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-size: 24px; line-height: 1.1; background-color: #ffffff;">Configuring LBaaS v2 with Octavia</span></div>
<div><span style="color: #2a4e68; font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-size: 24px; line-height: 1.1; background-color: #ffffff;"> </span></div>
<div><span style="color: #2a4e68; font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-size: 24px; line-height: 1.1; background-color: #ffffff;">Here is what I did:</span></div>
<div>
<pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-radius: 4px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902); background-color: #f5f5f5;">pip install octavia </pre>
</div>
<div><span style="color: #2a4e68; font-family: Open Sans,Helvetica,Arial,sans-serif;"><span style="font-size: 24px; line-height: 26.4px;">and then :</span></span></div>
<div><span style="color: #2a4e68; font-family: Open Sans,Helvetica,Arial,sans-serif;"><span style="font-size: 24px; line-height: 26.4px;">vim /etc/neutron/neutron.conf<br /></span></span>
<div>service_plugins = router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2</div>
<div> </div>
<div>
<div>[service_providers]</div>
<div>service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default</div>
</div>
<div> </div>
<div>
<pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-radius: 4px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902); background-color: #f5f5f5;">/etc/openstack-dashboard/local_settings.py</pre>
<br />
<pre style="padding: 9.5px; font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 13px; color: #333333; border-radius: 4px; line-height: 20px; word-break: break-all; word-wrap: break-word; white-space: pre-wrap; border: 1px solid rgba(0, 0, 0, 0.14902); background-color: #f5f5f5;">OPENSTACK_NEUTRON_NETWORK = {
    'enable_lb': True
}</pre>
</div>
<div><br />And then I restart all the neutron service and apache server</div>
<div>
<div>  service neutron-server restart</div>
<div>  service neutron-dhcp-agent restart</div>
<div>  service neutron-metadata-agent restart</div>
<div>  service neutron-l3-agent restart</div>
<div> </div>
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?</div>
<div> </div>
<div>
<div>root@controller:~# neutron agent-list</div>
<div>Unable to establish connection to http://controller:9696/v2.0/agents.json</div>
<div> </div>
<div> </div>
Please help</div>
<div> </div>
<div>Thanks so much</div>
<div> </div>
<div>Thanks</div>
<div>Wally</div>
<div> </div>
<div> </div>
</div>
</div>
</div>
</div>
<!-- html ignored --><br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br /> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br /> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br /> Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a></div>
</blockquote>
</body></html>