Hi
I have installed openstack stein using Kolla Ansible along with neutron sfc. Everything is working fine apart from SFC. I have compared all the configuration related to sfc and it seems fine with me.
I was trying to create a SFC with following flow:
VM1 --> VM2 --> VM3
When i am pinging from vm1 to vm3 without SFC creation everything is working fine. But when i try to ping after SFC i am not able to ping. I cann't see packet on vm2 (using tcpdump) on any
interface after sfc. I tried to see packet drop on br-int and br-tun using openflow rule but i cannot see any packet drop on that also. I have one controller and one compute, so all instances are on same host.
All vm have 2 port of same network one is ingress and one egress.
vm1 has port as p11 and p12
vm2 has port as p13 and p14
vm3 has port as p15 and p16
10.0.0.174 (vm3 ip)
openstack server list
+--------------------------------------+------+--------+---------------------------------+--------+----------+
| ID | Name | Status | Networks | Image | Flavor |
+--------------------------------------+------+--------+---------------------------------+--------+----------+
| ea663fee-c0c4-479d-8d33-42014bd633af | x3 | ACTIVE | demo-net=10.0.0.174, 10.0.0.76 | xenial | m1.small |
| 11203289-e008-4a71-adee-51c69546a18c | x2 | ACTIVE | demo-net=10.0.0.187, 10.0.0.126 | xenial | m1.small |
| 1699e74c-706b-42b8-b340-7f7077b062d6 | x1 | ACTIVE | demo-net=10.0.0.122, 10.0.0.42 | xenial | m1.small |
+--------------------------------------+------+--------+---------------------------------+--------+----------+
openstack port list |grep p1
| 1391dea1-32bc-42d8-aafa-d66f9003a816 | p13 | fa:16:3e:0b:08:7d | ip_address='10.0.0.187', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
| 3f6e9791-940a-4466-b085-521a65511bbb | p16 | fa:16:3e:85:54:ef | ip_address='10.0.0.76', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
| 6955e1b1-4fcf-4998-8791-4a49ed298dc5 | p14 | fa:16:3e:4d:4e:31 | ip_address='10.0.0.126', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
| a51175db-6272-4748-a6e6-3af719a33b86 | p12 | fa:16:3e:6a:da:60 | ip_address='10.0.0.42', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
| dad20742-67e4-47c7-a759-8025f042df45 | p15 | fa:16:3e:96:eb:f8 | ip_address='10.0.0.174', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
| db8b775f-363a-4a61-88f4-5db1b42a7681 | p11 | fa:16:3e:b6:a9:0e | ip_address='10.0.0.122', subnet_id='949b8df3-9832-42fb-86c1-0483f57d31d8' | ACTIVE |
openstack sfc flow classifier list
+--------------------------------------+------+-----------------------------------------------------------------+
| ID | Name | Summary |
+--------------------------------------+------+-----------------------------------------------------------------+
| 20a58a64-8339-493f-8418-922c756c2b91 | FC11 | protocol: any, |
| | | source[port]: any[any:any], |
| | | destination[port]: 10.0.0.174/32[any:any], |
| | | neutron_source_port: db8b775f-363a-4a61-88f4-5db1b42a7681, |
| | | neutron_destination_port: dad20742-67e4-47c7-a759-8025f042df45, |
| | | l7_parameters: {} |
+--------------------------------------+------+-----------------------------------------------------------------+
openstack sfc port chain list
+--------------------------------------+------+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+------------------------------------------------+----------+
| ID | Name | Port Pair Groups | Flow Classifiers | Chain Parameters | Chain ID |
+--------------------------------------+------+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+------------------------------------------------+----------+
| f342d2cc-dbfe-4832-9e7c-b22cc9629891 | PC11 | [u'080395fa-21fe-4d5b-b9c2-9f196e93ac98', u'89110fed-59cd-4ac8-ac45-8ce954fa99c0', u'd16b65a4-4a23-4b38-a937-a57a7058eee0'] | [u'20a58a64-8339-493f-8418-922c756c2b91'] | {u'symmetric': False, u'correlation': u'mpls'}
| 1 |
+--------------------------------------+------+-----------------------------------------------------------------------------------------------------------------------------+-------------------------------------------+-------------------------------------
openstack sfc port pair group list
+--------------------------------------+-------+-------------------------------------------+---------------------------------------------------------------------------------------------+-------------+
| ID | Name | Port Pair | Port Pair Group Parameters | Tap Enabled |
+--------------------------------------+-------+-------------------------------------------+---------------------------------------------------------------------------------------------+-------------+
| 080395fa-21fe-4d5b-b9c2-9f196e93ac98 | PPG11 | [u'10f9e355-3680-4dca-809f-7628bbbebd7f'] | {u'lb_fields': [], u'ppg_n_tuple_mapping': {u'ingress_n_tuple': {}, u'egress_n_tuple': {}}} | False |
| 89110fed-59cd-4ac8-ac45-8ce954fa99c0 | PPG12 | [u'22af2ffa-72d1-477c-9b68-2582cca22f79'] | {u'lb_fields': [], u'ppg_n_tuple_mapping': {u'ingress_n_tuple': {}, u'egress_n_tuple': {}}} | False |
| d16b65a4-4a23-4b38-a937-a57a7058eee0 | PPG13 | [u'cf8d263e-abab-499a-b82b-b290e85b2831'] | {u'lb_fields': [], u'ppg_n_tuple_mapping': {u'ingress_n_tuple': {}, u'egress_n_tuple': {}}} | False |
+--------------------------------------+-------+-------------------------------------------+-----------------------------------
Please help. If anyone can.
Launchpad Bug #1854327.
Thanks and Regards
Brijesh