Bug 1893996

Summary: NP CRD unable to be patched because of missing sg rule ID
Product: OpenShift Container Platform Reporter: Maysa Macedo <mdemaced>
Component: NetworkingAssignee: Maysa Macedo <mdemaced>
Networking sub component: kuryr QA Contact: GenadiC <gcheresh>
Status: CLOSED ERRATA Docs Contact:
Severity: medium    
Priority: medium CC: gcheresh, juriarte, ltomasbo, rlobillo
Version: 4.5   
Target Milestone: ---   
Target Release: 4.5.z   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1856830 Environment:
Last Closed: 2020-11-17 16:06:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1856830    
Bug Blocks: 1895332    
Description Flags
NP test results with the fix
tempest results with the fix none

Comment 2 rlobillo 2020-11-09 16:08:58 UTC
Verified on OCP4.5.0-0.nightly-2020-11-07-002125 over OSP16.1 with OVN-Octavia (RHOS-16.1-RHEL-8-20201021.n.0)

All NP tests passed. Logs attached.

Furthermore, kuryr-tempest-plugin test test_network_policy_add_remove_pod passed with any kuryr pod restart:

(.tempest) [stack@undercloud-0 tempest-dir]$ oc get clusterversion
NAME      VERSION                             AVAILABLE   PROGRESSING   SINCE   STATUS
version   4.5.0-0.nightly-2020-11-07-002125   True        False         6h18m   Cluster version is 4.5.0-0.nightly-2020-11-07-002125

(.tempest) [stack@undercloud-0 tempest-dir]$ python -m testtools.run kuryr_tempest_plugin.tests.scenario.test_network_policy.OldNetworkPolicyScenario.test_network_policy_add_remove_pod
/usr/lib64/python3.6/runpy.py:125: RuntimeWarning: 'testtools.run' found in sys.modules after import of package 'testtools', but prior to execution of 'testtools.run'; this may result in unpredictable behaviour
Tests running...

Ran 1 test in 902.277s

(.tempest) [stack@undercloud-0 ~]$ oc get pods -n openshift-kuryr
NAME                                READY   STATUS    RESTARTS   AGE
kuryr-cni-74cgr                     1/1     Running   0          125m
kuryr-cni-jlsvw                     1/1     Running   0          125m
kuryr-cni-r4m4s                     1/1     Running   0          126m
kuryr-cni-xccvb                     1/1     Running   0          124m
kuryr-cni-xv9v2                     1/1     Running   0          124m
kuryr-cni-z9krm                     1/1     Running   0          127m
kuryr-controller-68997bd478-2zwmr   1/1     Running   0          89m

Comment 3 rlobillo 2020-11-09 16:09:37 UTC
Created attachment 1727888 [details]
NP test results with the fix

Comment 4 rlobillo 2020-11-09 16:10:58 UTC
Created attachment 1727889 [details]
tempest results with the fix

Comment 7 errata-xmlrpc 2020-11-17 16:06:00 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 (OpenShift Container Platform 4.5.19 bug fix update), and where to find the updated
files, follow the link below.

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