Ask Your Question
0

Multiple Neutron node with one external network

asked 2016-09-07 05:50:34 -0500

Ahmed Moustafa gravatar image

updated 2016-09-07 07:39:45 -0500

I have 3 network nodes running neutron-server ..

Only one of these nodes is attached to the external network

I use ml2 with openvswitch

in the bridge mapping of the node connected to the external network , i have external_net mapped to the correct bridge ..

On the other nodes i do not have this mapping defined and i do not have interfaces

The issue i have is the following

When i try to start a virtual machine that is connected to the external network , i have this error in the logs :

neutron-server: 2016-09-07 12:33:00.975 57352 ERROR neutron.plugins.ml2.managers [req-def18170-5e45-4fef-9653-e008faa39913 - - - - -] Failed to bind port 035a58e1-f18f-428b-b78e-e8c0aaba7d14 on host node002 for vnic_type normal using segments [{'segmentation_id': None, 'phy sical_network': u'external_net', 'id': u'0d4590e5-0c48-4316-8b78-1636d3f44d43', 'network_type': u'flat'}]

neutron-server: 2016-09-07 12:33:00.975 57352 ERROR neutron.plugins.ml2.managers [req-def18170-5e45-4fef-9653-e008faa39913 - - - - -] Failed to bind port 035a58e1-f18f-428b-b78e-e8c0aaba7d14 on host node003 for vnic_type normal using segments [{'segmentation_id': None, 'phy sical_network': u'external_net', 'id': u'0d4590e5-0c48-4316-8b78-1636d3f44d43', 'network_type': u'flat'}]

on both nodes( node002 and node003 ) , because they DO NOT have this network defined ! so is this a bug or such a setup is not valid ?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2016-09-07 07:27:13 -0500

you have to configure either bridge_mappings under openvswitch plugin /etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini, for example:

bridge_mappings=physnet1:br-ex,physnet2:br-dummy

and ml2 core physical_network parameter, for example (from your logs I suppose you are using flat networks):

flat_networks = physnet1,physnet2

or

flat_networks = *

and when you create an external network you have to specify that it's based on physnet1 physical network.

p.s. remember to create the OVS bridge (on example br-ex)

HTH Amedeo

edit flag offensive delete link more
0

answered 2016-09-07 07:31:29 -0500

dbaxps gravatar image

updated 2016-09-07 07:34:13 -0500

There should be just one Neutron Server ( API Server ) running on Controller
Several Network Nodes makes sense to combine into fail-over cluster , via creating (Distributed && VRRP) or VRRP (HA) neutron router on Mitaka either just VRRP (HA) router on Liberty.
Network nodes are running neutron agent services , but not Neutron Server itself .
The one hosting HA neutron router at the moment will be responsible for forwarding egress/ingress traffic from your Compute Nodes to Internet . Once again on Mitaka you may have Distributed && HA neutron router created due to encapsulation Keepalived daemons into SNAT namespaces on Network Nodes and set up DNAT forwarding via "fg" interface of fip-namespaces residing on Compute Nodes. Thus South/North traffic may be spread across Compute Nodes avoiding classic schema for any VM having floating IP. East/West traffic will avoid forwarding via Network Node as well. So you may benefit via DVR avoiding network congestion on Mitaka. In case of Liberty just Network Nodes fail-over servers cluster using HA (VRRP) neutron router . Two Network Nodes in both case are enough ( vs HA Controller's setup).
See http://lxer.com/module/newswire/view/...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2016-09-07 05:50:34 -0500

Seen: 213 times

Last updated: Sep 07 '16