<div dir="ltr"><div><div>Hi Wally,<br><br></div>Make sure that neutron-server is running. Check neutron-server, and neutron-l3-agent logs.<br></div><div><br>---<br></div><div>Regards,<br></div><div>Fawaz Mohammed<br></div><div> .<br><br></div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 2, 2016 at 2:24 AM, zhihao wang <span dir="ltr"><<a href="mailto:wangzhihaocom@hotmail.com" target="_blank">wangzhihaocom@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><div><div dir="ltr"><div>Dear OpenStack Dev member:</div><div><br></div><div>May I ask you some question about neutron lbaaS? </div><div><br></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><br></div><div><a href="https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun" target="_blank">https://wiki.openstack.org/wiki/Neutron/LBaaS/HowToRun</a>  --  <span style="color:rgb(51,51,51);font-family:"PT Sans",sans-serif;font-size:31.5px;line-height:40px;background-color:rgb(255,255,255)">Ubuntu Packages Setup</span></div><div><a href="http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html" target="_blank">http://docs.openstack.org/mitaka/networking-guide/adv-config-lbaas.html</a>  -- <span style="color:rgb(42,78,104);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:24px;line-height:1.1;background-color:rgb(255,255,255)">Configuring LBaaS v2 with Octavia</span></div><div><span style="color:rgb(42,78,104);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:24px;line-height:1.1;background-color:rgb(255,255,255)"><br></span></div><div><span style="color:rgb(42,78,104);font-family:"Open Sans",Helvetica,Arial,sans-serif;font-size:24px;line-height:1.1;background-color:rgb(255,255,255)">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:rgb(51,51,51);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:rgb(245,245,245)">pip install octavia </pre></div><div><font color="#2a4e68" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:24px;line-height:26.4px">and then :</span></font></div><div><font color="#2a4e68" face="Open Sans, Helvetica, Arial, sans-serif"><span style="font-size:24px;line-height:26.4px">vim /etc/neutron/neutron.conf<br></span></font><div>service_plugins = router,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2</div><div><br></div><div><div>[service_providers]</div><div>service_provider = LOADBALANCERV2:Octavia:neutron_lbaas.drivers.octavia.driver.OctaviaDriver:default</div></div><div><br></div><div><pre style="padding:9.5px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;font-size:13px;color:rgb(51,51,51);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:rgb(245,245,245)">/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:rgb(51,51,51);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:rgb(245,245,245)">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><br></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><br></div><div><div>root@controller:~# neutron agent-list</div><div>Unable to establish connection to <a href="http://controller:9696/v2.0/agents.json" target="_blank">http://controller:9696/v2.0/agents.json</a></div><div><br></div><div><br></div>Please help</div><div><br></div><div>Thanks so much</div><div><br></div><div>Thanks</div><div>Wally</div><div><br></div><div><br></div></div>                                       </div></div>                                        </div></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>