<div dir="ltr">Hi Irena,<div><br></div><div>I was not clear in my initial message...but I am using the stable/liberty branch. </div><div>It is interesting that the master branch has this set in the plugin now. Clearly the code is evolving a bit for Mitaka. However you helped me to discover what was wrong (I think). I forgot to change to the liberty branch when I installed the neutron-server container.</div><div><br></div><div>I am not sure how to get the l2gw commands registered with the neutron client in my utility container. Has anyone deployed this with openstack-ansible?</div><div><br></div><div>I think I found a minor bug in the liberty branch. As I am still in the process of setting up the network, hardware VTEP and OVSDB server. I noticed in the l2gateway agent log file, the traceback below. I have a feeling it will go away when I configure the OVSDB server, but it should be failing gracefully, rather than throwing a traceback.</div><div><br></div><div>Thanks for your help!</div><div>Jason</div><div><br></div><div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection [req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] Socket error in connecting to the OVSDB server</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection Traceback (most recent call last):</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection File "/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/networking_l2gw/services/l2gateway/agent/ovsdb/base_connection.py", line 71, in __init__</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection int(gw_config.ovsdb_port)))</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection File "/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/eventlet/greenio/base.py", line 240, in connect</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection socket_checkerr(fd)</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection File "/openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/eventlet/greenio/base.py", line 44, in socket_checkerr</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection raise socket.error(err, errno.errorcode[err])</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection error: [Errno 111] ECONNREFUSED</div><div>2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection </div><div>2016-03-09 10:42:19.068 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.manager [req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] OVSDB server 10.0.0.1 is not reachable</div><div>2016-03-09 10:42:19.069 15505 DEBUG networking_l2gw.services.l2gateway.agent.ovsdb.manager [req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] Calling notify_ovsdb_states _connect_to_ovsdb_server /openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/networking_l2gw/services/l2gateway/agent/ovsdb/manager.py:135</div><div>2016-03-09 10:42:19.071 15505 DEBUG oslo_messaging._drivers.amqpdriver [req-266f23da-5948-4664-8dde-934dae006d9a - - - - -] CAST unique_id: 9d1eac2e0f2e4df781a05fb2638b5810 exchange 'neutron' topic 'l2gateway_plugin' _send /openstack/venvs/neutron-12.0.7/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:448</div></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 2:17 AM, Irena Berezovsky <span dir="ltr"><<a href="mailto:irenab.dev@gmail.com" target="_blank">irenab.dev@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Jason,<div>According to the L2GW config, it should be set as in this line:</div><div><a href="https://github.com/openstack/networking-l2gw/blob/master/etc/l2gw_plugin.ini#L25" target="_blank">https://github.com/openstack/networking-l2gw/blob/master/etc/l2gw_plugin.ini#L25</a><br></div><div><br></div><div>I think it should be working as default setting, but maybe you can try to set this explicitly.</div><div><br></div><div>Hope it helps,</div><div>Irena</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Tue, Mar 8, 2016 at 12:33 PM, Jason Guy <span dir="ltr"><<a href="mailto:jguy@cumulusnetworks.com" target="_blank">jguy@cumulusnetworks.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><span style="font-size:12.8px">Hi, I am trying to get the L2GW plugin working with my openstack setup. I did the installation from the git repo using setup.py install.</span><br style="font-size:12.8px"><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I am having trouble getting the Neutron-server to take the plugin though. Here is the config line from the neutron.conf:</div><div style="font-size:12.8px"><div># Plugins</div><div>core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin</div><div>service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">After restarting neutron-server, I am getting this error in the neutron-server.log:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px"><div>INFO neutron.manager [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] Loading Plugin: networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin</div><div>ERROR neutron.services.service_base [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] No providers specified for 'L2GW' service, exiting</div></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I do not see anything in the install instructions regarding the neutron.conf configuration, so I am guessing at this point, hence the email. :) I have searched and tried to figure this out by looking at the code. What should the service_provider be set to?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Thanks,<br>Jason</div></div>
<br></div></div>__________________________________________________________________________<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>
<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>