[openstack-dev] [L2-Gateway]
Mike Oliveras
mike.oliveras at gmail.com
Thu Aug 30 14:23:20 UTC 2018
Hello,
I am trying to get the l2gw feature installed on an openstack install on
centos 7 using the rdo queens repo.
Initially I installed the l2gw rpms form the repo:
yum install openstack-neutron-l2gw-agent
======================================================================================
Package Arch Version
Repository
======================================================================================
Installing:
openstack-neutron-l2gw-agent noarch 1:12.0.1-1.el7
centos-openstack-queens
Installing for dependencies:
python2-networking-l2gw noarch 1:12.0.1-1.el7
centos-openstack-queens
I enabled the service plugin in /etc/neutron/neutron.conf:
[root at gullwing-controller neutron]# grep service_plugin neutron.conf
service_plugins =
router,networking_l2gw.services.l2gateway.plugin.L2GatewayPlugin
I pointed my l2gw plugin to my gw in l2gateway_agent.ini:
[root at gullwing-controller neutron]# grep ovsdb1 l2gateway_agent.ini
ovsdb_hosts = 'ovsdb1:10.0.0.31:6632'
I upgraded the neutron DB
systemctl stop neutron-server
neutron-db-manage --config-file /etc/neutron/neutron.conf
--config-file /etc/neutron/l2gw_plugin.ini upgrade head
systemctl start neutron-server
I then added the "--config-file /etc/neutron/l2gw_plugin.ini" to the
ExecStart of the nova-server systemd unit file.
When I try to restart nova, it fails with:
2018-08-30 09:59:32.605 21059 ERROR neutron Invalid: Driver
networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver
is not unique across providers
One web page https://lonelypacket.co.uk/post/openstack-pike-l2gw-setup-on-ubuntu-16-04/
suggested adding a service_providers
section to neutron.conf but it made no difference.
[service_providers]
service_provider=L2GW:l2gw:networking_l2gw.services.l2gateway.service_drivers.rpc_l2gw.L2gwRpcDriver:default
I also tried uninstalling the l2gw rpms and used a clone of
https://github.com/openstack/networking-l2gw, also tried
branch stable/queens.
When I tried that version, I got an error "AttributeError: 'module'
object has no attribute 'L3'" which seems to be related to
https://lists.launchpad.net/yahoo-eng-team/msg73944.html
I would appreciate any insight that you can give me and would be happy
to provide any requested info.
Thanks,
Mike Oliveras
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180830/da35b7cf/attachment.html>
More information about the OpenStack-dev
mailing list