[openstack-dev] [L2-Gateway] L2 Gateway Device xxx could not be found
judy_yujie at 126.com
judy_yujie at 126.com
Fri Sep 9 03:00:07 UTC 2016
Hi All,
I try to use l2 gateway. Use one node install devstack, and another node as gateway installing ovs 2.5.0
The devstack running neutron-l2gateway-agent and neutron-server with l2gateway plugin.
file /etc/neutron/l2gateway_agent.ini looks like, "node-82" is the gateway node hostname.
[DEFAULT]
[ovsdb]
ovsdb_hosts = node-82:10.254.9.82:8802
node-82 running ovs listening to remote port 8802.
ovsdb-server /etc/openvswitch/conf.db -vconsole:emer -vsyslog:err -vfile:info --remote=punix:/var/run/openvswitch/db.sock --remote=ptcp:8802 --private-key=db:Open_vSwitch,SSL,private_key --certificate=db:Open_vSwitch,SSL,certificate --bootstrap-ca-cert=db:Open_vSwitch,SSL,ca_cert --no-chdir --log-file=/var/log/openvswitch/ovsdb-server.log --pidfile=/var/run/openvswitch/ovsdb-server.pid --detach --monitor
ovs-vswitchd unix:/var/run/openvswitch/db.sock -vconsole:emer -vsyslog:err -vfile:info --mlockall --no-chdir --log-file=/var/log/openvswitch/ov-vswitchd.log --pidfile=/var/run/openvswitch/ovs-vswitchd.pid --detach --monitor
devstack node could config node-82 ovs bridge successfully.
Then execute:
neutron l2-gateway-create gw1 --device name=node-82,interface_names=enp7s0f1 result: works well, and db add this info to table l2gateways.
neutron l2-gateway-connection-create gw1 net1 --default-segmentation-id=100 result: returns "L2 Gateway Device node-82 could not be found."
Is ovs could be treated as gateway?
The config file has something wrong?
Best regards,
Yujie
judy_yujie at 126.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160909/75a322a7/attachment.html>
More information about the OpenStack-dev
mailing list