Bug 1902580

Summary: e2e test case: [sig-arch] Managed cluster should ensure pods use downstream images from our release image with proper ImagePullPolicy [Suite:openshift/conformance/parallel] doesn't check any pods under namespace with 'openshit-' and 'kube-' prefix
Product: OpenShift Container Platform Reporter: Qin Ping <piqin>
Component: Reference ArchitectureAssignee: scollier
Status: CLOSED DEFERRED QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.7CC: aos-bugs, eparis, mfojtik, pprinett, xxia
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-09 01:00:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Qin Ping 2020-11-30 05:58:15 UTC
Description of Problem:
e2e test case: [sig-arch] Managed cluster should ensure pods use downstream images from our release image with proper ImagePullPolicy [Suite:openshift/conformance/parallel] doesn't check all the pods under namespace with 'openshit-' prefix

From the e2e job: https://testgrid.k8s.io/redhat-openshift-ocp-release-4.7-informing#release-openshift-ocp-installer-e2e-openstack-4.7
We can see the pods in `openshift-cluster-csi-drivers` did not use the downstream images(https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/logs/release-openshift-ocp-installer-e2e-openstack-4.7/1333229426166468608/artifacts/e2e-openstack/pods.json), but this test case was passed.

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

How Reproducible:
Always



Steps to Reproduce:

Actual Results:

Expected Results:

Additional info:
Looks like we ignore the namespace wrongly: https://github.com/openshift/origin/blob/master/test/extended/operators/images.go#L166
Except for this, looks like the step to check the image release version is not correct too, we need to define namespace here. https://github.com/openshift/origin/blob/master/test/extended/operators/images.go#L121

Comment 2 Stefan Schimanski 2021-01-18 12:02:18 UTC
> We can see the pods in `openshift-cluster-csi-drivers`

Sounds like storage.

Comment 3 Martin André 2021-01-20 16:12:53 UTC

*** This bug has been marked as a duplicate of bug 1902552 ***

Comment 4 Qin Ping 2021-01-21 06:47:04 UTC
Hi Martin,

It's a different bug from bug 1902552, I reopened it, and created a PR to fix this bug.

Comment 5 Martin André 2021-01-21 08:00:41 UTC
(In reply to Qin Ping from comment #4)
> Hi Martin,
> 
> It's a different bug from bug 1902552, I reopened it, and created a PR to
> fix this bug.

Hi Qin, my bad. Thanks for re-opening the bz and the PR.

Comment 6 Pierre Prinetti 2021-02-03 16:43:56 UTC
Setting target to 4.8. Please advise & revert if it's a 4.7 blocker.

Comment 7 Martin André 2021-02-12 14:21:46 UTC
Re-assigning to hopefully the correct component.

There is an issue in the `[sig-arch] Managed cluster should ensure pods use downstream images [Suite:openshift/conformance/parallel]` test that makes it too permissive. 

Please see the attached patch https://github.com/openshift/origin/pull/25815.

Comment 11 Shiftzilla 2023-03-09 01:00:21 UTC
OpenShift has moved to Jira for its defect tracking! This bug can now be found in the OCPBUGS project in Jira.

https://issues.redhat.com/browse/OCPBUGS-8822