It's a bug and we need to fix it in networking-ovn.
When a port has port security enabled and non security groups we shouldn't allow any traffic to it. If port security is disabled, we should allow it. This is what the test expects.
Comment 20Daniel Alvarez Sanchez
2018-06-01 11:26:54 UTC
This test [0] will still fail in CI sometimes due to [1].
Tried myself with just 1 compute and the issue is gone, traffic is now blocked on ports with no SGs and port security enabled.
[1] tempest.scenario.test_security_groups_basic_ops.TestSecurityGroupsBasicOps.test_port_security_disable_security_group
[0] https://bugzilla.redhat.com/show_bug.cgi?id=1566148
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://access.redhat.com/errata/RHEA-2018:2086