1.) Description of problem: while deleting LDAP synchronized groups in openshift with the command: #oc adm prune groups --sync-config=sync.yaml gives an error as follows: ~~~ panic: runtime error: slice bounds out of range ~~~ 2.) Version-Release number of selected component (if applicable): 3.11.z 3.) How reproducible: No steps to reproduce 4.)Actual results: gives the error panic: runtime error: slice bounds out of range and groups not deleted 5.) Expected results: groups are deleted. 6.) Additional info: Similar error found while running oc client queries in ocp 4.1.z https://bugzilla.redhat.com/show_bug.cgi?id=1716550
We still need oc to pick the change.
This will land with https://github.com/openshift/oc/pull/351
The aforementioned PR already landed, moving to qa.
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/RHBA-2020:2409