Bug 1377633 - OVS FW driver ignores all non tcp udp icmp protocol rules
Summary: OVS FW driver ignores all non tcp udp icmp protocol rules
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-neutron
Version: 10.0 (Newton)
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: z2
: 10.0 (Newton)
Assignee: Jakub Libosvar
QA Contact: Alexander Stafeyev
URL:
Whiteboard:
Depends On:
Blocks: 1310654
TreeView+ depends on / blocked
 
Reported: 2016-09-20 08:59 UTC by Alexander Stafeyev
Modified: 2017-02-23 16:33 UTC (History)
7 users (show)

Fixed In Version: openstack-neutron-9.2.0-1.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-23 16:33:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1625516 0 None None None 2016-09-20 08:59:06 UTC
OpenStack gerrit 402174 0 None MERGED ovsfw: Support protocol numbers instead of just tcp and udp 2020-07-27 14:52:21 UTC
Red Hat Product Errata RHBA-2017:0314 0 normal SHIPPED_LIVE openstack-neutron bug fix advisory 2017-02-23 21:33:22 UTC

Description Alexander Stafeyev 2016-09-20 08:59:06 UTC
Description of problem:
Tried to run SCTP traffic between VMs in same tenant and network

Version-Release number of selected component (if applicable):
OSP 10 



How reproducible:

100%
Steps to Reproduce:
1.INstall osp10 with ovs2.5 , configure FW driver to OVS- see how to in the testplan "OVS security group" 
2.
boot 2 VMs with ncat support, and allow sctp traffic in the sec groups ( other protocol-> ip protocol 132. ingress and egress) 
3. try to run sctp traffic between the VMs 

VM1 : ncat --sctp DST.IPADDR 6500   VM2 : ncat --sctp -l -p 6500 

Actual results:
No connection  established 

Expected results:
Connectivity and data transferring should be ok. 

Additional info:
from logs: 
2016-09-20 11:20:38.121 17370 DEBUG neutron.agent.linux.openvswitch_firewall.firewall [req-1e1ee4b4-0722-42fb-b9a6-5499eeac7028 - - - - -] RULGEN: Rules generated for flow {u'ethertype': u'IPv4', u'direction': u'ingress', u'source_ip_prefix': u'0.0.0.0/0', u'protocol': u'132'} are [{'dl_type': 2048, 'reg_port': 7, 'actions': 'strip_vlan,output:7', 'priority': 70, 'table': 82, 'dl_dst': u'fa:16:3e:5b:c9:06'}] add_flows_from_rules /usr/lib/python2.7/site-packages/neutron/agent/linux/openvswitch_firewall/firewall.py:667

Comment 4 Alexander Stafeyev 2017-02-16 09:06:14 UTC
Correct verification/reproduction steps: 




How reproducible:

100%
Steps to Reproduce:
1.INstall osp10 with ovs2.5 , configure FW driver to OVS- see how to in the testplan "OVS security group" 

2. On compute nodes : execute import of sctp support for conntrack 
 modprobe ip_conntrack_proto_sctp

3.
boot 2 VMs with ncat support, and allow sctp traffic in the sec groups ( other protocol-> ip protocol 132. ingress and egress) 
4. try to run sctp traffic between the VMs 

VM1 : ncat --sctp DST.IPADDR 6500   VM2 : ncat --sctp -l -p 6500 



We managed to establish sctp connection 

[root@controller-0 ~]# rpm -qa | grep ack-neutron 
openstack-neutron-9.2.0-2.el7ost.noarch
openstack-neutron-bigswitch-lldp-9.40.0-1.1.el7ost.noarch
openstack-neutron-openvswitch-9.2.0-2.el7ost.noarch
openstack-neutron-ml2-9.2.0-2.el7ost.noarch
openstack-neutron-lbaas-9.1.0-4.el7ost.noarch
openstack-neutron-bigswitch-agent-9.40.0-1.1.el7ost.noarch
openstack-neutron-metering-agent-9.2.0-2.el7ost.noarch
openstack-neutron-common-9.2.0-2.el7ost.noarch
openstack-neutron-sriov-nic-agent-9.2.0-2.el7ost.noarch

Comment 7 errata-xmlrpc 2017-02-23 16:33:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2017-0314.html


Note You need to log in before you can comment on or make changes to this bug.