Hi Irena, I was not clear in my initial message...but I am using the stable/liberty branch. 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.
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? 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. Thanks for your help! Jason 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 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection Traceback (most recent call last): 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__ 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection int(gw_config.ovsdb_port))) 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 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection socket_checkerr(fd) 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 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection raise socket.error(err, errno.errorcode[err]) 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection error: [Errno 111] ECONNREFUSED 2016-03-09 10:42:19.059 15505 ERROR networking_l2gw.services.l2gateway.agent.ovsdb.base_connection 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 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 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 On Wed, Mar 9, 2016 at 2:17 AM, Irena Berezovsky <irenab....@gmail.com> wrote: > Hi Jason, > According to the L2GW config, it should be set as in this line: > > https://github.com/openstack/networking-l2gw/blob/master/etc/l2gw_plugin.ini#L25 > > I think it should be working as default setting, but maybe you can try to > set this explicitly. > > Hope it helps, > Irena > > On Tue, Mar 8, 2016 at 12:33 PM, Jason Guy <j...@cumulusnetworks.com> > wrote: > >> 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. >> >> I am having trouble getting the Neutron-server to take the plugin though. >> Here is the config line from the neutron.conf: >> # Plugins >> core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin >> service_plugins = >> neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.metering.metering_plugin.MeteringPlugin,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin >> >> After restarting neutron-server, I am getting this error in the >> neutron-server.log: >> >> INFO neutron.manager [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] >> Loading Plugin: networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin >> ERROR neutron.services.service_base >> [req-b537d3d8-5ad5-419c-a7a0-133991af38fc - - - - -] No providers specified >> for 'L2GW' service, exiting >> >> 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? >> >> Thanks, >> Jason >> >> __________________________________________________________________________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: >> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> >> > > __________________________________________________________________________ > OpenStack Development Mailing List (not for usage questions) > Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > >
__________________________________________________________________________ OpenStack Development Mailing List (not for usage questions) Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev