[OVSDB-192] pipeline flows not programmed because controller address is not set on OVSDB node Created: 13/Aug/15  Updated: 19/Oct/17  Resolved: 08/Sep/15

Status: Resolved
Project: ovsdb
Component/s: openstack.net-virt-providers
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Sam Hague Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 4135

 Description   

In some cases the controller config is not pushed to the OVSDB node and switch so flows are not installed on the switch.

In this scenario the pipeline flows are written to config but they don't get pushed to the switch.



 Comments   
Comment by Flavio Fernandes [ 16/Aug/15 ]

In my setup, I hit this issue.

It looks like the config is pushed to another br-ex bridge, which is
actually not part of the operational topology, but should have been.

In the example below, you can see that bridge 'delta' is the one
that should be br-ex for ovsdb://uuid/17d1993c-7205-417d-bc4f-f314ecb9f0b1
but there is another br-ex (openflow:147594668038470) in config tree.

[vagrant@devstack-control devstack]$ /opt/tools/showOvsdbMdsal.py --config
aliasMap:
alpha -> openflow:135179451844161
bravo -> openflow:8796752189685
charlie -> openflow:64831244210762
delta -> openflow:8796763806092

Bridges in ovsdb://uuid/17d1993c-7205-417d-bc4f-f314ecb9f0b1
charlie:br-int controller:tcp:192.168.50.20:6653 connected:None
delta:br-ex controller:tcp:192.168.50.20:6653 connected:None
Bridges in ovsdb://uuid/40be681a-a72f-4a16-8dde-488eaf3e7ae2
alpha:br-int controller:tcp:192.168.50.20:6653 connected:None
bravo:br-ex controller:tcp:192.168.50.20:6653 connected:None

config tree flows at alpha
table 0: DEFAULT_PIPELINE_FLOW_0
table 0: LLDP
table 20: DEFAULT_PIPELINE_FLOW_20
table 30: DEFAULT_PIPELINE_FLOW_30
table 40: DEFAULT_PIPELINE_FLOW_40
table 50: DEFAULT_PIPELINE_FLOW_50
table 60: DEFAULT_PIPELINE_FLOW_60
table 70: DEFAULT_PIPELINE_FLOW_70
table 80: DEFAULT_PIPELINE_FLOW_80
table 90: DEFAULT_PIPELINE_FLOW_90
table 100: DEFAULT_PIPELINE_FLOW_100
table 110: DEFAULT_PIPELINE_FLOW_110

config tree flows at bravo
table 0: LLDP
table 0: NORMAL

config tree flows at charlie
table 0: DEFAULT_PIPELINE_FLOW_0
table 0: LLDP
table 20: DEFAULT_PIPELINE_FLOW_20
table 30: DEFAULT_PIPELINE_FLOW_30
table 40: DEFAULT_PIPELINE_FLOW_40
table 50: DEFAULT_PIPELINE_FLOW_50
table 60: DEFAULT_PIPELINE_FLOW_60
table 70: DEFAULT_PIPELINE_FLOW_70
table 80: DEFAULT_PIPELINE_FLOW_80
table 90: DEFAULT_PIPELINE_FLOW_90
table 100: DEFAULT_PIPELINE_FLOW_100
table 110: DEFAULT_PIPELINE_FLOW_110

config tree flows at openflow:147594668038470 ( node_not_in_topology )
table 0: LLDP
table 0: NORMAL

[vagrant@devstack-control devstack]$

=====

OPERATIONAL:

[vagrant@devstack-control devstack]$ /opt/tools/showOvsdbMdsal.py
aliasMap:
alpha -> openflow:135179451844161
bravo -> openflow:8796752189685
charlie -> openflow:64831244210762
delta -> openflow:8796763806092

ovsdbNode:192.168.50.20:40870 mgr:192.168.50.20:6640 version:2.3.1
alpha:br-int
bravo:br-ex
of:1 eth2
ovsdbNode:192.168.50.21:50440 mgr:192.168.50.20:6640 version:2.3.1
charlie:br-int
delta:br-ex
of:1 eth2

operational tree flows at alpha
table 0: DEFAULT_PIPELINE_FLOW_0
table 0: LLDP
table 20: DEFAULT_PIPELINE_FLOW_20
table 30: DEFAULT_PIPELINE_FLOW_30
table 40: DEFAULT_PIPELINE_FLOW_40
table 50: DEFAULT_PIPELINE_FLOW_50
table 60: DEFAULT_PIPELINE_FLOW_60
table 70: DEFAULT_PIPELINE_FLOW_70
table 80: DEFAULT_PIPELINE_FLOW_80
table 90: DEFAULT_PIPELINE_FLOW_90
table 100: DEFAULT_PIPELINE_FLOW_100
table 110: DEFAULT_PIPELINE_FLOW_110

operational tree flows at bravo
table 0: LLDP
table 0: NORMAL

operational tree flows at charlie
table 0: DEFAULT_PIPELINE_FLOW_0
table 0: LLDP
table 20: DEFAULT_PIPELINE_FLOW_20
table 30: DEFAULT_PIPELINE_FLOW_30
table 40: DEFAULT_PIPELINE_FLOW_40
table 50: DEFAULT_PIPELINE_FLOW_50
table 60: DEFAULT_PIPELINE_FLOW_60
table 70: DEFAULT_PIPELINE_FLOW_70
table 80: DEFAULT_PIPELINE_FLOW_80
table 90: DEFAULT_PIPELINE_FLOW_90
table 100: DEFAULT_PIPELINE_FLOW_100
table 110: DEFAULT_PIPELINE_FLOW_110

operational tree flows at delta

ofLinks (discover via lldp):
delta:1 -> bravo:1

[vagrant@devstack-control devstack]$

Comment by Sharad Mishra [ 08/Sep/15 ]

patch merged - https://git.opendaylight.org/gerrit/#/c/26166/

Generated at Wed Feb 07 20:35:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.