Bug 1902702

Summary: [sig-auth][Feature:LDAP][Serial] ldap group sync can sync groups from ldap: oc cp over non-existing directory/file fails
Product: OpenShift Container Platform Reporter: Jan Chaloupka <jchaloup>
Component: apiserver-authAssignee: Standa Laznicka <slaznick>
Status: CLOSED ERRATA QA Contact: pmali
Severity: medium Docs Contact:
Priority: high    
Version: 4.7CC: aos-bugs, mfojtik, sttts
Target Milestone: ---Keywords: UpcomingSprint
Target Release: 4.7.0   
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: 2021-02-24 15:36:33 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:
Bug Depends On:    
Bug Blocks: 1902008    

Description Jan Chaloupka 2020-11-30 13:01:37 UTC
The test is executing "oc cp" copying test/extended/authentication/ldap and hack directories into a container. In CI (aws-serial), the test is run from /tmp/directory where none of the directories are present. The current version of oc silently fails for non-existing directories/files. With oc rebase to 1.20 (https://github.com/openshift/oc/pull/648) a new check is added (https://github.com/kubernetes/kubernetes/pull/90333) which fails when directory/file does not exist. Causing "[sig-auth][Feature:LDAP][Serial] ldap group sync can sync groups from ldap" test to fail.

Comment 7 errata-xmlrpc 2021-02-24 15:36:33 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement 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/RHSA-2020:5633