Bug 1983616 - Wait for service accounts to be provisioned during e2e tests
Summary: Wait for service accounts to be provisioned during e2e tests
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 4.6
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 4.7.z
Assignee: Oleg Bulatov
QA Contact: wewang
URL:
Whiteboard:
Depends On: 1983615
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-19 08:51 UTC by Oleg Bulatov
Modified: 2021-09-21 22:33 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of: 1983615
Environment:
Last Closed: 2021-09-21 22:32:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift origin pull 26282 0 None None None 2021-08-31 09:21:13 UTC
Red Hat Product Errata RHBA-2021:3510 0 None None None 2021-09-21 22:33:17 UTC

Description Oleg Bulatov 2021-07-19 08:51:52 UTC
+++ This bug was initially created as a clone of Bug #1983615 +++

Description of problem:

When e2e testing framework creates a new namespace, it should wait until service accounts and their registry secrets are created. Otherwise, if a pod is created before the secrets, its images will be anonymously and these pull will fail due to RBAC policies.

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

4.x

How reproducible:

Sometimes

Steps to Reproduce:
1. run a CI test

Actual results:

Failures like: image-registry.openshift-image-registry.svc:5000/openshift/tools: unauthorized: authentication required

Expected results:

openshift/tools should be always pullable by any OpenShift user.

Additional info:

Comment 5 errata-xmlrpc 2021-09-21 22:32:59 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.7.31 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.

https://access.redhat.com/errata/RHBA-2021:3510


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