<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">l3 agent does not required for dhcp
agent to provide addresses. They are, actually, seraprate OVS
bridges on network node.<br>
<br>
<br>
On 07.11.2013 19:01, Molnár Mihály László wrote:<br>
</div>
<blockquote
cite="mid:CAOtUpfYmsE=cGkpNNGgMP3nakbMUewK0NNZCTHL4vJbPCb9=ZA@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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 moz-do-not-send="true"
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,</span></p>
<p class="MsoNormal"><span lang="EN-US"> </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.
</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.</span></p>
<p class="MsoNormal"><span lang="EN-US">I also get a lot
of error messages in my logs (controller node):</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"
lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/neutron/openvswitch-agent.log</span><span
style=""></span></p>
<p class="MsoNormal"> </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!</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/neutron/server.log</span></p>
<p class="MsoNormal"><span style=""> </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</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</span></p>
<p class="MsoNormal"><span lang="EN-US"> </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}</span></p>
<p class="MsoNormal"><span style="" lang="EN-US"> </span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">/var/log/keystone/keystone.conf</span></p>
<p class="MsoNormal"><span style=""> </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"></span></p>
<p class="MsoNormal"><span lang="EN-US">Configuration
files:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/api-paste.ini</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[composite:neutron]</span></p>
<p class="MsoNormal"><span lang="EN-US">use =
egg:Paste#urlmap</span></p>
<p class="MsoNormal"><span lang="EN-US">/:
neutronversions</span></p>
<p class="MsoNormal"><span lang="EN-US">/v2.0:
neutronapi_v2_0</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[composite:neutronapi_v2_0]</span></p>
<p class="MsoNormal"><span lang="EN-US">use =
call:neutron.auth:pipeline_factory</span></p>
<p class="MsoNormal"><span lang="EN-US">noauth =
extensions neutronapiapp_v2_0</span></p>
<p class="MsoNormal"><span lang="EN-US">keystone =
authtoken keystonecontext extensions
neutronapiapp_v2_0</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[filter:keystonecontext]</span></p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory
= neutron.auth:NeutronKeystoneContext.factory</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[filter:authtoken]</span></p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory
=
keystoneclient.middleware.auth_token:filter_factory</span></p>
<p class="MsoNormal"><span lang="EN-US">auth_host = <a
moz-do-not-send="true" href="tel:10.10.10.51"
value="+3610101051" target="_blank">10.10.10.51</a></span></p>
<p class="MsoNormal"><span lang="EN-US">#auth_uri=<a class="moz-txt-link-freetext" href="http://">http://</a><a
moz-do-not-send="true" href="tel:10.10.10.51"
value="+3610101051" target="_blank">10.10.10.51</a>:5000</span></p>
<p class="MsoNormal"><span lang="EN-US">auth_port =
35357</span></p>
<p class="MsoNormal"><span lang="EN-US">auth_protocol =
http</span></p>
<p class="MsoNormal"><span lang="EN-US">admin_tenant_name
= service</span></p>
<p class="MsoNormal">admin_user = neutron</p>
<p class="MsoNormal">admin_password = neutron</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">[filter:extensions]</p>
<p class="MsoNormal"><span lang="EN-US">paste.filter_factory
=
neutron.api.extensions:plugin_aware_extension_middleware_factory</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[<a class="moz-txt-link-freetext" href="app:neutronversions">app:neutronversions</a>]</span></p>
<p class="MsoNormal"><span lang="EN-US">paste.app_factory
= neutron.api.versions:Versions.factory</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[<a class="moz-txt-link-freetext" href="app:neutronapiapp_v2_0">app:neutronapiapp_v2_0</a>]</span></p>
<p class="MsoNormal"><span lang="EN-US">paste.app_factory
= neutron.api.v2.router:APIRouter.factory</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/neutron.conf</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"># Where to store
Neutron state files. This directory must be
writable by the</span></p>
<p class="MsoNormal"><span lang="EN-US"># user executing
the agent.</span></p>
<p class="MsoNormal"><span lang="EN-US">state_path =
/var/lib/neutron</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"># Where to store
lock files</span></p>
<p class="MsoNormal"><span lang="EN-US">lock_path =
$state_path/lock</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"># Neutron plugin
provider module</span></p>
<p class="MsoNormal">core_plugin =
neutron.plugins.openvswitch.ovs_neutron_plugin.OVSNeutronPluginV2</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US"># RPC driver.
DHCP agents needs it.</span></p>
<p class="MsoNormal"><span lang="EN-US">notification_driver
= neutron.openstack.common.notifier.rpc_notifier</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">root_helper =
sudo /usr/bin/neutron-rootwrap
/etc/neutron/rootwrap.conf</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">[keystone_authtoken]</span></p>
<p class="MsoNormal"><span lang="EN-US">auth_host = <a
moz-do-not-send="true" href="tel:10.10.10.51"
value="+3610101051" target="_blank">10.10.10.51</a></span></p>
<p class="MsoNormal"><span lang="EN-US">auth_port =
35357</span></p>
<p class="MsoNormal"><span lang="EN-US">auth_protocol =
http</span></p>
<p class="MsoNormal"><span lang="EN-US">admin_tenant_name
= service</span></p>
<p class="MsoNormal"><span lang="EN-US">admin_user =
neutron</span></p>
<p class="MsoNormal"><span lang="EN-US">admin_password =
neutron</span></p>
<p class="MsoNormal"><span lang="EN-US">signing_dir =
$state_path/keystone-signing</span></p>
<p class="MsoNormal"><span lang="EN-US">connection =
mysql://neutron:neutron@<a moz-do-not-send="true"
href="tel:10.10.10.51" value="+3610101051"
target="_blank">10.10.10.51</a>/neutron</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">firewall_driver
=
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver</span></p>
<p class="MsoNormal"><span lang="EN-US">[database]</span></p>
<p class="MsoNormal"><span lang="EN-US">connection =
mysql://neutron:neutron@<a moz-do-not-send="true"
href="tel:10.10.10.51" value="+3610101051"
target="_blank">10.10.10.51</a>/neutron</span></p>
<p class="MsoNormal"><span lang="EN-US">[OVS]</span></p>
<p class="MsoNormal"><span lang="EN-US">tenant_network_type
= gre</span></p>
<p class="MsoNormal"><span lang="EN-US">tunnel_id_ranges
= 1:1000</span></p>
<p class="MsoNormal"><span lang="EN-US">enable_tunneling
= True</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Configuration
files on the network node:</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">/etc/neutron/dhcp_agent.ini</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal">interface_driver =
neutron.agent.linux.interface.OVSInterfaceDriver</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">dhcp_driver =
neutron.agent.linux.dhcp.Dnsmasq</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">use_namespaces = True</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span lang="EN-US">Any ideas? Do I
need to set up a rpc backend?</span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">I would really
appreciate help with this problem.<span
class="HOEnZb"></span></span></p>
<span class="HOEnZb"><font color="#888888">
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<p class="MsoNormal"><span lang="EN-US">Therese</span></p>
</font></span></div>
</div>
<br>
_______________________________________________<br>
Mailing list: <a moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Mailing list: <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
Post to : <a class="moz-txt-link-abbreviated" href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a>
Unsubscribe : <a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a>
</pre>
</blockquote>
<br>
</body>
</html>