[OVSDB-91] VM ingress rule is not installed for vlan networking Created: 15/Sep/14 Updated: 19/Oct/17 Resolved: 25/Sep/14 |
|
| 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: Linux |
||
| External issue ID: | 1885 |
| Description |
|
When using vlan network the vm ingress rule is not installed. The flow should look like: [odl@fedora41 devstack]$ sudo ovs-ofctl --protocol=OpenFlow13 dump-flows br-int |
| Comments |
| Comment by Vishal Patil [ 16/Sep/14 ] |
|
The openflow rules for vlan seem to be completely broken. I do not see a "strip_vlan" flow for egress traffic as well. |
| Comment by Vishal Patil [ 16/Sep/14 ] |
|
I am marking this blocking since vlans + Openstack is completely broken without the fix for this problem. |
| Comment by Ed Warnicke [ 23/Sep/14 ] |
|
Vishal Patil, Sam Hague... are you not programming flows, or are you not seeing them come through? |
| Comment by Vishal Patil [ 23/Sep/14 ] |
|
I am not programming any flows. I am driving ODL using OpenStack (Neutron). I am basically creating Openstack tenant networks of type vlan. |
| Comment by Dave Tucker [ 23/Sep/14 ] |
| Comment by Sam Hague [ 23/Sep/14 ] |
|
This bug is closely related to |
| Comment by Vishal Patil [ 24/Sep/14 ] |
|
Folks, I just checkout the latest OVSDB and tried testing this fix. I think the problem is still not fixed. Check the openflow rules on the compute node odl@cmp11 devstack]$ sudo ovs-ofctl -O Openflow13 dump-flows br-int The first rule says "goto_table:20" but there are no rules for table 20. As a result the packets are getting dropped. |
| Comment by Sam Hague [ 24/Sep/14 ] |
|
Vishal, do you have the latest code? The table 20 (and other table) flows are programmed via the pipeline code outside of the vlan code. The rest of the flows look good for the vlan's. But you need to have the pipeline flows in place also. The pipeline flows would be installed when the switch first connects to ODL. Is it possible that connection went down or something and the pipeline flows were not installed or removed? The pipeline flows look like the below and should be there as soon as the switch connects to ODL. Thanks, Sam cookie=0x0, duration=1763.032s, table=0, n_packets=881, n_bytes=45681, send_flow_rem priority=0 actions=goto_table:20 |
| Comment by Vishal Patil [ 24/Sep/14 ] |
|
Sam I am seeing the pipeline flows being installed correctly on the controller node but not on the compute nodes. Following are the flows on the controller node
[odl@ctrl devstack]$ sudo ovs-ofctl -O Openflow13 dump-flows br-int |
| Comment by Sam Hague [ 24/Sep/14 ] |
|
Vishal, that is a different issue then. Nothing to do with the vlan flows as they are being installed. It might be related to https://bugs.opendaylight.org/show_bug.cgi?id=2024. Sam |
| Comment by Vishal Patil [ 24/Sep/14 ] |
|
Sam, I am not seeing that exception in my ODL logs. I will re-run the test tomorrow after checking out ovsdb again. |
| Comment by Vishal Patil [ 25/Sep/14 ] |
|
I have verified that the fix works with latest OVSDB. Sorry for the confusion Sam. |
| Comment by Sam Hague [ 25/Sep/14 ] |
|
(In reply to Vishal Patil from comment #12) Great! Thanks Vishal. |