<div dir="ltr"><div>Hi!<br><br></div>Do you have l3 agent configured? I dont know havana, but should look like this:<br><ul><li>
<p>Create a router for the new tenant:</p>
<pre>quantum router-create --tenant-id $put_id_of_project_one router_proj_one
</pre>
</li><li>
<p>Add the router to the running l3 agent (if it wasn't automatically added):</p>
<pre>quantum agent-list (to get the l3 agent ID)
quantum l3-agent-router-add $l3_agent_ID router_proj_one
</pre>
</li></ul>From Grizzly install guide: <a href="https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst">https://github.com/mseknibilel/OpenStack-Grizzly-Install-Guide/blob/OVS_MultiNode/OpenStack_Grizzly_Install_Guide.rst</a><br>
</div><div class="gmail_extra"><br clear="all"><div><br>Rusty</div>
<br><br><div class="gmail_quote">On Thu, Nov 7, 2013 at 5:45 PM, Therese Persson <span dir="ltr"><<a href="mailto:therese.persson@ericsson.com" target="_blank">therese.persson@ericsson.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div link="blue" vlink="purple" lang="SV">
<div>
<p class="MsoNormal"><span lang="EN-US">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I have a multi-node installation of OpenStack Havana, one controller node, one network node and at the moment only one compute node.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">When creating a VM no IP is assigned by DHCP. It seems to be a problem with the openvswitch plugin on the controller node, it fails to start.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I also get a lot of error messages in my logs (controller node):<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt" lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/neutron/openvswitch-agent.log</span><span style><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style lang="EN-US">2013-11-07 16:03:59.453 4317 ERROR neutron.plugins.openvswitch.agent.ovs_neutron_agent [-] Tunneling cannot be enabled without a valid local_ip.
</span><span style>Agent terminated!<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/neutron/server.log<u></u><u></u></span></p>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
<p class="MsoNormal"><span style lang="EN-US">2013-11-07 16:03:55.584 4230 ERROR neutron.common.legacy [-] Skipping unknown group key: firewall_driver<br>
2013-11-07 16:03:55.907 4230 WARNING neutron.api.extensions [-] Extension fwaas not supported by any of loaded plugins<br>
2013-11-07 16:03:55.908 4230 WARNING neutron.api.extensions [-] Extension lbaas not supported by any of loaded plugins<br>
2013-11-07 16:03:55.911 4230 WARNING neutron.api.extensions [-] Extension port-security not supported by any of loaded plugins<br>
2013-11-07 16:03:55.912 4230 WARNING neutron.api.extensions [-] Extension router-service-type not supported by any of loaded plugins<br>
2013-11-07 16:03:55.914 4230 WARNING neutron.api.extensions [-] Extension routed-service-insertion not supported by any of loaded plugins<br>
2013-11-07 16:03:55.915 4230 WARNING neutron.api.extensions [-] Extension vpnaas not supported by any of loaded plugins<br>
2013-11-07 16:03:55.916 4230 WARNING neutron.api.extensions [-] Extension lbaas_agent_scheduler not supported by any of loaded plugins<br>
2013-11-07 16:03:55.918 4230 WARNING neutron.api.extensions [-] Extension multi-provider not supported by any of loaded plugins<br>
2013-11-07 16:03:55.919 4230 WARNING neutron.api.extensions [-] Extension service-type not supported by any of loaded plugins<br>
2013-11-07 16:03:55.919 4230 WARNING neutron.api.extensions [-] Extension flavor not supported by any of loaded plugins<br>
2013-11-07 16:03:55.920 4230 WARNING neutron.api.extensions [-] Extension metering not supported by any of loaded plugins<u></u><u></u></span></p>
<p class="MsoNormal"><span style lang="EN-US">2013-11-07 16:03:55.943 4230
</span><span lang="EN-US">WARNING keystoneclient.middleware.auth_token [-] Configuring auth_uri to point to the public identity endpoint is required; clients may not be able to authenticate against an admin endpoint<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style lang="EN-US">2013-11-07 16:12:56.433 4230 WARNING neutron.db.agentschedulers_db [-] Fail scheduling network {'status': u'ACTIVE', 'subnets': [u'1190fcaf-211a-59a9-b0fd-4cca9441ce1f'], 'name': u'net1', 'provider:physical_network':
None, 'admin_state_up': True, 'tenant_id': u'519c6e2d263044adba404441f18aab60', 'provider:network_type': u'gre', 'router:external': False, 'shared': False, 'id': u'b2565410-baa1-458a-82a0-a930d3891bbd', 'provider:segmentation_id': 1L}<u></u><u></u></span></p>
<p class="MsoNormal"><span style lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/keystone/keystone.conf<u></u><u></u></span></p>
<p class="MsoNormal"><span style><u></u> <u></u></span></p>
<p class="MsoNormal"><span style lang="EN-US">2013-11-07 14:46:36.146 1409 WARNING keystone.common.wsgi [-] Authorization failed. The request you have made requires authentication. from 127.0.0.1<br>
<br>
</span><span lang="EN-US"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Configuration files:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/api-paste.ini<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[composite:neutron]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">use = egg:Paste#urlmap<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/: neutronversions<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/v2.0: neutronapi_v2_0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[composite:neutronapi_v2_0]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">use = call:neutron.auth:pipeline_factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">noauth = extensions neutronapiapp_v2_0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">keystone = authtoken keystonecontext extensions neutronapiapp_v2_0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[filter:keystonecontext]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory = neutron.auth:NeutronKeystoneContext.factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[filter:authtoken]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_host = <a href="tel:10.10.10.51" value="+3610101051" target="_blank">10.10.10.51</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">#auth_uri=http://<a href="tel:10.10.10.51" value="+3610101051" target="_blank">10.10.10.51</a>:5000<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_port = 35357<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_protocol = http<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_tenant_name = service<u></u><u></u></span></p>
<p class="MsoNormal">admin_user = neutron<u></u><u></u></p>
<p class="MsoNormal">admin_password = neutron<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">[filter:extensions]<u></u><u></u></p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory = neutron.api.extensions:plugin_aware_extension_middleware_factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[app:neutronversions]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">paste.app_factory = neutron.api.versions:Versions.factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[app:neutronapiapp_v2_0]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">paste.app_factory = neutron.api.v2.router:APIRouter.factory<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/neutron.conf<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"># Where to store Neutron state files. This directory must be writable by the<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"># user executing the agent.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">state_path = /var/lib/neutron<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"># Where to store lock files<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">lock_path = $state_path/lock<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"># Neutron plugin provider module<u></u><u></u></span></p>
<p class="MsoNormal">core_plugin = neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US"># RPC driver. DHCP agents needs it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">notification_driver = neutron.openstack.common.notifier.rpc_notifier<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">root_helper = sudo /usr/bin/neutron-rootwrap /etc/neutron/rootwrap.conf<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[keystone_authtoken]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_host = <a href="tel:10.10.10.51" value="+3610101051" target="_blank">10.10.10.51</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_port = 35357<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_protocol = http<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_tenant_name = service<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_user = neutron<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">admin_password = neutron<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">signing_dir = $state_path/keystone-signing<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">connection = mysql://neutron:neutron@<a href="tel:10.10.10.51" value="+3610101051" target="_blank">10.10.10.51</a>/neutron<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[database]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">connection = mysql://neutron:neutron@<a href="tel:10.10.10.51" value="+3610101051" target="_blank">10.10.10.51</a>/neutron<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">[OVS]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">tenant_network_type = gre<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">tunnel_id_ranges = 1:1000<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">enable_tunneling = True<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Configuration files on the network node:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/dhcp_agent.ini<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal">interface_driver = neutron.agent.linux.interface.OVSInterfaceDriver<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">dhcp_driver = neutron.agent.linux.dhcp.Dnsmasq<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">use_namespaces = True<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">Any ideas? Do I need to set up a rpc backend?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">I would really appreciate help with this problem.<span class="HOEnZb"><font color="#888888"><u></u><u></u></font></span></span></p><span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Therese<u></u><u></u></span></p>
</font></span></div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">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" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>